org.opensaml.xml.signature
Interface KeyInfoType

All Superinterfaces:
ValidatingXMLObject, XMLObject
All Known Subinterfaces:
KeyInfo, OriginatorKeyInfo, RecipientKeyInfo
All Known Implementing Classes:
KeyInfoImpl, KeyInfoTypeImpl, OriginatorKeyInfoImpl, RecipientKeyInfoImpl

public interface KeyInfoType
extends ValidatingXMLObject

XMLObject representing XML Digital Signature, version 20020212, KeyInfoType complex type.


Field Summary
static java.lang.String ID_ATTRIB_NAME
          Id attribute name
static java.lang.String TYPE_LOCAL_NAME
          Local name of the XSI type
static javax.xml.namespace.QName TYPE_NAME
          QName of the XSI type
 
Method Summary
 java.util.List<AgreementMethod> getAgreementMethods()
          Get the list of AgreementMethod 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<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<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
 
Methods inherited from interface org.opensaml.xml.validation.ValidatingXMLObject
deregisterValidator, getValidators, registerValidator, validate
 
Methods inherited from interface org.opensaml.xml.XMLObject
addNamespace, getDOM, getElementQName, getIDIndex, getNamespaces, getNoNamespaceSchemaLocation, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 

Field Detail

TYPE_LOCAL_NAME

static final java.lang.String TYPE_LOCAL_NAME
Local name of the XSI type

See Also:
Constant Field Values

TYPE_NAME

static final javax.xml.namespace.QName TYPE_NAME
QName of the XSI type


ID_ATTRIB_NAME

static final java.lang.String ID_ATTRIB_NAME
Id attribute name

See Also:
Constant Field Values
Method Detail

getID

java.lang.String getID()
Get the Id attribute value

Returns:
the Id attribute value

setID

void setID(java.lang.String newID)
Set the Id attribute value

Parameters:
newID - the new Id attribute value

getXMLObjects

java.util.List<XMLObject> getXMLObjects()
Get the list of all XMLObject children

Returns:
the list of XMLObject children

getXMLObjects

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

Parameters:
typeOrName - the QName of the desired elements
Returns:
the matching list of XMLObject children

getKeyNames

java.util.List<KeyName> getKeyNames()
Get the list of KeyName child elements

Returns:
the list of KeyName child elements

getKeyValues

java.util.List<KeyValue> getKeyValues()
Get the list of KeyValue child elements

Returns:
the list of KeyValue child elements

getRetrievalMethods

java.util.List<RetrievalMethod> getRetrievalMethods()
Get the list of RetrievalMethod child elements

Returns:
the list of RetrievalMethod child elements

getX509Datas

java.util.List<X509Data> getX509Datas()
Get the list of X509Data child elements

Returns:
the list of X509Data child elements

getPGPDatas

java.util.List<PGPData> getPGPDatas()
Get the list of PGPData child elements

Returns:
the list of PGPData child elements

getSPKIDatas

java.util.List<SPKIData> getSPKIDatas()
Get the list of SPKIData child elements

Returns:
the list of SPKIData child elements

getMgmtDatas

java.util.List<MgmtData> getMgmtDatas()
Get the list of MgmtData child elements

Returns:
the list of MgmtData child elements

getAgreementMethods

java.util.List<AgreementMethod> 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

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.

Returns:
the list of EncryptedKey child elements