public class KeyInfoImpl extends AbstractXMLObject implements KeyInfo
KeyInfo.| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
id
The Id attribute value.
|
private IndexedXMLObjectChildrenList |
indexedChildren
The list of XMLObject child elements.
|
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, ID_ATTRIB_NAME, TYPE_LOCAL_NAME, TYPE_NAME| Modifier | Constructor and Description |
|---|---|
protected |
KeyInfoImpl(java.lang.String namespaceURI,
java.lang.String elementLocalName,
java.lang.String namespacePrefix)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<AgreementMethod> |
getAgreementMethods()
Get the list of AgreementMethod child elements.
|
java.util.List<DEREncodedKeyValue> |
getDEREncodedKeyValues()
Get the list of DEREncodedKeyValue child elements.
|
java.util.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.
|
java.lang.String |
getID()
Get the Id attribute value.
|
java.util.List<KeyInfoReference> |
getKeyInfoReferences()
Get the list of KeyInfoReference child elements.
|
java.util.List<KeyName> |
getKeyNames()
Get the list of KeyName child elements.
|
java.util.List<KeyValue> |
getKeyValues()
Get the list of KeyValue child elements.
|
java.util.List<MgmtData> |
getMgmtDatas()
Get the list of MgmtData child elements.
|
java.util.List<XMLObject> |
getOrderedChildren()
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.
|
java.util.List<PGPData> |
getPGPDatas()
Get the list of PGPData child elements.
|
java.util.List<RetrievalMethod> |
getRetrievalMethods()
Get the list of RetrievalMethod child elements.
|
java.util.List<SPKIData> |
getSPKIDatas()
Get the list of SPKIData child elements.
|
java.util.List<X509Data> |
getX509Datas()
Get the list of X509Data child elements.
|
java.util.List<XMLObject> |
getXMLObjects()
Get the list of all XMLObject children.
|
java.util.List<XMLObject> |
getXMLObjects(javax.xml.namespace.QName typeOrName)
Get the list of XMLObject children whose type or element QName matches the specified QName.
|
void |
setID(java.lang.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, setSchemaLocationprivate final IndexedXMLObjectChildrenList indexedChildren
private java.lang.String id
protected KeyInfoImpl(java.lang.String namespaceURI,
java.lang.String elementLocalName,
java.lang.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 java.lang.String getID()
public void setID(java.lang.String newID)
public java.util.List<XMLObject> getXMLObjects()
getXMLObjects in interface KeyInfopublic java.util.List<XMLObject> getXMLObjects(javax.xml.namespace.QName typeOrName)
getXMLObjects in interface KeyInfotypeOrName - the QName of the desired elementspublic java.util.List<KeyName> getKeyNames()
getKeyNames in interface KeyInfopublic java.util.List<KeyValue> getKeyValues()
getKeyValues in interface KeyInfopublic java.util.List<DEREncodedKeyValue> getDEREncodedKeyValues()
getDEREncodedKeyValues in interface KeyInfopublic java.util.List<RetrievalMethod> getRetrievalMethods()
getRetrievalMethods in interface KeyInfopublic java.util.List<KeyInfoReference> getKeyInfoReferences()
getKeyInfoReferences in interface KeyInfopublic java.util.List<X509Data> getX509Datas()
getX509Datas in interface KeyInfopublic java.util.List<PGPData> getPGPDatas()
getPGPDatas in interface KeyInfopublic java.util.List<SPKIData> getSPKIDatas()
getSPKIDatas in interface KeyInfopublic java.util.List<MgmtData> getMgmtDatas()
getMgmtDatas in interface KeyInfopublic java.util.List<AgreementMethod> getAgreementMethods()
getAgreementMethods in interface KeyInfopublic java.util.List<EncryptedKey> getEncryptedKeys()
getEncryptedKeys in interface KeyInfopublic java.util.List<XMLObject> getOrderedChildren()
getOrderedChildren in interface XMLObject