public class KeyInfoImpl extends AbstractXMLObject implements KeyInfo
KeyInfo.DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, ID_ATTRIB_NAME, TYPE_LOCAL_NAME, TYPE_NAME| Modifier | Constructor and Description |
|---|---|
protected |
KeyInfoImpl(String namespaceURI,
String elementLocalName,
String namespacePrefix)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
List<AgreementMethod> |
getAgreementMethods()
Get the list of AgreementMethod child elements.
|
List<DEREncodedKeyValue> |
getDEREncodedKeyValues()
Get the list of DEREncodedKeyValue child elements.
|
List<EncryptedKey> |
getEncryptedKeys()
Get the list of EncryptedKey child elements
Note: EncryptedKey is actually defined in the XML Encryption schema, and is not explicitly defined in the
KeyInfoType content model, but for convenience this named getter method is exposed.
|
String |
getID()
Get the Id attribute value.
|
List<KeyInfoReference> |
getKeyInfoReferences()
Get the list of KeyInfoReference child elements.
|
List<KeyName> |
getKeyNames()
Get the list of KeyName child elements.
|
List<KeyValue> |
getKeyValues()
Get the list of KeyValue child elements.
|
List<MgmtData> |
getMgmtDatas()
Get the list of MgmtData child elements.
|
List<XMLObject> |
getOrderedChildren()
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.
|
List<PGPData> |
getPGPDatas()
Get the list of PGPData child elements.
|
List<RetrievalMethod> |
getRetrievalMethods()
Get the list of RetrievalMethod child elements.
|
List<SPKIData> |
getSPKIDatas()
Get the list of SPKIData child elements.
|
List<X509Data> |
getX509Datas()
Get the list of X509Data child elements.
|
List<XMLObject> |
getXMLObjects()
Get the list of all XMLObject children.
|
List<XMLObject> |
getXMLObjects(QName typeOrName)
Get the list of XMLObject children whose type or element QName matches the specified QName.
|
void |
setID(String newID)
Set the Id attribute value.
|
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdetach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocationprotected KeyInfoImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
namespaceURI - the namespace the element is inelementLocalName - the local name of the XML element this Object representsnamespacePrefix - the prefix for the given namespacepublic String getID()
public void setID(String newID)
public List<XMLObject> getXMLObjects()
getXMLObjects in interface KeyInfopublic List<XMLObject> getXMLObjects(QName typeOrName)
getXMLObjects in interface KeyInfotypeOrName - the QName of the desired elementspublic List<KeyName> getKeyNames()
getKeyNames in interface KeyInfopublic List<KeyValue> getKeyValues()
getKeyValues in interface KeyInfopublic List<DEREncodedKeyValue> getDEREncodedKeyValues()
getDEREncodedKeyValues in interface KeyInfopublic List<RetrievalMethod> getRetrievalMethods()
getRetrievalMethods in interface KeyInfopublic List<KeyInfoReference> getKeyInfoReferences()
getKeyInfoReferences in interface KeyInfopublic List<X509Data> getX509Datas()
getX509Datas in interface KeyInfopublic List<PGPData> getPGPDatas()
getPGPDatas in interface KeyInfopublic List<SPKIData> getSPKIDatas()
getSPKIDatas in interface KeyInfopublic List<MgmtData> getMgmtDatas()
getMgmtDatas in interface KeyInfopublic List<AgreementMethod> getAgreementMethods()
getAgreementMethods in interface KeyInfopublic List<EncryptedKey> getEncryptedKeys()
getEncryptedKeys in interface KeyInfopublic List<XMLObject> getOrderedChildren()
getOrderedChildren in interface XMLObjectCopyright © 2016 JBoss by Red Hat. All rights reserved.