Class KeyInfoImpl
- java.lang.Object
-
- org.opensaml.core.xml.AbstractXMLObject
-
- org.opensaml.xmlsec.signature.impl.KeyInfoImpl
-
- Direct Known Subclasses:
OriginatorKeyInfoImpl,RecipientKeyInfoImpl
public class KeyInfoImpl extends AbstractXMLObject implements KeyInfo
Concrete implementation ofKeyInfo.
-
-
Field Summary
Fields Modifier and Type Field Description private StringidThe Id attribute value.private IndexedXMLObjectChildrenList<XMLObject>indexedChildrenThe list of XMLObject child elements.-
Fields inherited from interface org.opensaml.xmlsec.signature.KeyInfo
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, ID_ATTRIB_NAME, TYPE_LOCAL_NAME, TYPE_NAME
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedKeyInfoImpl(String namespaceURI, String elementLocalName, String namespacePrefix)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AgreementMethod>getAgreementMethods()List<DEREncodedKeyValue>getDEREncodedKeyValues()List<EncryptedKey>getEncryptedKeys()StringgetID()List<KeyInfoReference>getKeyInfoReferences()List<KeyName>getKeyNames()List<KeyValue>getKeyValues()List<MgmtData>getMgmtDatas()List<XMLObject>getOrderedChildren()List<PGPData>getPGPDatas()List<RetrievalMethod>getRetrievalMethods()List<SPKIData>getSPKIDatas()List<X509Data>getX509Datas()List<XMLObject>getXMLObjects()List<XMLObject>getXMLObjects(QName typeOrName)voidsetID(String newID)-
Methods inherited from class org.opensaml.core.xml.AbstractXMLObject
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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opensaml.core.xml.XMLObject
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
-
-
-
-
Field Detail
-
indexedChildren
private final IndexedXMLObjectChildrenList<XMLObject> indexedChildren
The list of XMLObject child elements.
-
id
private String id
The Id attribute value.
-
-
Constructor Detail
-
KeyInfoImpl
protected KeyInfoImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
Constructor.- Parameters:
namespaceURI- the namespace the element is inelementLocalName- the local name of the XML element this Object representsnamespacePrefix- the prefix for the given namespace
-
-
Method Detail
-
getXMLObjects
public List<XMLObject> getXMLObjects()
- Specified by:
getXMLObjectsin interfaceKeyInfo
-
getXMLObjects
public List<XMLObject> getXMLObjects(QName typeOrName)
- Specified by:
getXMLObjectsin interfaceKeyInfo
-
getKeyNames
public List<KeyName> getKeyNames()
- Specified by:
getKeyNamesin interfaceKeyInfo
-
getKeyValues
public List<KeyValue> getKeyValues()
- Specified by:
getKeyValuesin interfaceKeyInfo
-
getDEREncodedKeyValues
public List<DEREncodedKeyValue> getDEREncodedKeyValues()
- Specified by:
getDEREncodedKeyValuesin interfaceKeyInfo
-
getRetrievalMethods
public List<RetrievalMethod> getRetrievalMethods()
- Specified by:
getRetrievalMethodsin interfaceKeyInfo
-
getKeyInfoReferences
public List<KeyInfoReference> getKeyInfoReferences()
- Specified by:
getKeyInfoReferencesin interfaceKeyInfo
-
getX509Datas
public List<X509Data> getX509Datas()
- Specified by:
getX509Datasin interfaceKeyInfo
-
getPGPDatas
public List<PGPData> getPGPDatas()
- Specified by:
getPGPDatasin interfaceKeyInfo
-
getSPKIDatas
public List<SPKIData> getSPKIDatas()
- Specified by:
getSPKIDatasin interfaceKeyInfo
-
getMgmtDatas
public List<MgmtData> getMgmtDatas()
- Specified by:
getMgmtDatasin interfaceKeyInfo
-
getAgreementMethods
public List<AgreementMethod> getAgreementMethods()
- Specified by:
getAgreementMethodsin interfaceKeyInfo
-
getEncryptedKeys
public List<EncryptedKey> getEncryptedKeys()
- Specified by:
getEncryptedKeysin interfaceKeyInfo
-
getOrderedChildren
public List<XMLObject> getOrderedChildren()
- Specified by:
getOrderedChildrenin interfaceXMLObject
-
-