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, setSchemaType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
protected 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 KeyInfo
public List<XMLObject> getXMLObjects(QName typeOrName)
getXMLObjects
in interface KeyInfo
typeOrName
- the QName of the desired elementspublic List<KeyName> getKeyNames()
getKeyNames
in interface KeyInfo
public List<KeyValue> getKeyValues()
getKeyValues
in interface KeyInfo
public List<DEREncodedKeyValue> getDEREncodedKeyValues()
getDEREncodedKeyValues
in interface KeyInfo
public List<RetrievalMethod> getRetrievalMethods()
getRetrievalMethods
in interface KeyInfo
public List<KeyInfoReference> getKeyInfoReferences()
getKeyInfoReferences
in interface KeyInfo
public List<X509Data> getX509Datas()
getX509Datas
in interface KeyInfo
public List<PGPData> getPGPDatas()
getPGPDatas
in interface KeyInfo
public List<SPKIData> getSPKIDatas()
getSPKIDatas
in interface KeyInfo
public List<MgmtData> getMgmtDatas()
getMgmtDatas
in interface KeyInfo
public List<AgreementMethod> getAgreementMethods()
getAgreementMethods
in interface KeyInfo
public List<EncryptedKey> getEncryptedKeys()
getEncryptedKeys
in interface KeyInfo
public List<XMLObject> getOrderedChildren()
getOrderedChildren
in interface XMLObject
Copyright © 2016 JBoss by Red Hat. All rights reserved.