Package org.opensaml.xmlsec.signature
Interface KeyInfo
- All Superinterfaces:
XMLObject
- All Known Subinterfaces:
OriginatorKeyInfo
,RecipientKeyInfo
- All Known Implementing Classes:
KeyInfoImpl
,OriginatorKeyInfoImpl
,RecipientKeyInfoImpl
XMLObject representing XML Digital Signature, version 20020212, KeyInfo element.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGet the list of AgreementMethod child elements.Get the list of DEREncodedKeyValue child elements.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.getID()
Get the Id attribute value.Get the list of KeyInfoReference child elements.Get the list of KeyName child elements.Get the list of KeyValue child elements.Get the list of MgmtData child elements.Get the list of PGPData child elements.Get the list of RetrievalMethod child elements.Get the list of SPKIData child elements.Get the list of X509Data child elements.Get the list of all XMLObject children.getXMLObjects
(QName typeOrName) Get the list of XMLObject children whose type or element QName matches the specified QName.void
Set the Id attribute value.Methods inherited from interface org.opensaml.core.xml.XMLObject
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
-
Field Details
-
DEFAULT_ELEMENT_LOCAL_NAME
Element local name.- See Also:
-
DEFAULT_ELEMENT_NAME
Default element name. -
TYPE_LOCAL_NAME
Local name of the XSI type.- See Also:
-
TYPE_NAME
QName of the XSI type. -
ID_ATTRIB_NAME
Id attribute name.- See Also:
-
-
Method Details
-
getID
Get the Id attribute value.- Returns:
- the Id attribute value
-
setID
Set the Id attribute value.- Parameters:
newID
- the new Id attribute value
-
getXMLObjects
Get the list of all XMLObject children.- Returns:
- the list of XMLObject children
-
getXMLObjects
Get the list of XMLObject children whose type or element QName matches the specified QName.- Parameters:
typeOrName
- the QName of the desired elements- Returns:
- the matching list of XMLObject children
-
getKeyNames
Get the list of KeyName child elements.- Returns:
- the list of KeyName child elements
-
getKeyValues
Get the list of KeyValue child elements.- Returns:
- the list of KeyValue child elements
-
getDEREncodedKeyValues
Get the list of DEREncodedKeyValue child elements.- Returns:
- the list of DEREncodedKeyValue child elements
-
getRetrievalMethods
Get the list of RetrievalMethod child elements.- Returns:
- the list of RetrievalMethod child elements
-
getKeyInfoReferences
Get the list of KeyInfoReference child elements.- Returns:
- the list of KeyInfoReference child elements
-
getX509Datas
Get the list of X509Data child elements.- Returns:
- the list of X509Data child elements
-
getPGPDatas
Get the list of PGPData child elements.- Returns:
- the list of PGPData child elements
-
getSPKIDatas
Get the list of SPKIData child elements.- Returns:
- the list of SPKIData child elements
-
getMgmtDatas
Get the list of MgmtData child elements.- Returns:
- the list of MgmtData child elements
-
getAgreementMethods
Get the list of AgreementMethod child elements. Note: AgreementMethod 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.- Returns:
- the list of AgreementMethod child elements
-
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.- Returns:
- the list of EncryptedKey child elements
-