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 String
id
The Id attribute value.private IndexedXMLObjectChildrenList<XMLObject>
indexedChildren
The 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 protected
KeyInfoImpl(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()
String
getID()
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)
void
setID(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:
getXMLObjects
in interfaceKeyInfo
-
getXMLObjects
public List<XMLObject> getXMLObjects(QName typeOrName)
- Specified by:
getXMLObjects
in interfaceKeyInfo
-
getKeyNames
public List<KeyName> getKeyNames()
- Specified by:
getKeyNames
in interfaceKeyInfo
-
getKeyValues
public List<KeyValue> getKeyValues()
- Specified by:
getKeyValues
in interfaceKeyInfo
-
getDEREncodedKeyValues
public List<DEREncodedKeyValue> getDEREncodedKeyValues()
- Specified by:
getDEREncodedKeyValues
in interfaceKeyInfo
-
getRetrievalMethods
public List<RetrievalMethod> getRetrievalMethods()
- Specified by:
getRetrievalMethods
in interfaceKeyInfo
-
getKeyInfoReferences
public List<KeyInfoReference> getKeyInfoReferences()
- Specified by:
getKeyInfoReferences
in interfaceKeyInfo
-
getX509Datas
public List<X509Data> getX509Datas()
- Specified by:
getX509Datas
in interfaceKeyInfo
-
getPGPDatas
public List<PGPData> getPGPDatas()
- Specified by:
getPGPDatas
in interfaceKeyInfo
-
getSPKIDatas
public List<SPKIData> getSPKIDatas()
- Specified by:
getSPKIDatas
in interfaceKeyInfo
-
getMgmtDatas
public List<MgmtData> getMgmtDatas()
- Specified by:
getMgmtDatas
in interfaceKeyInfo
-
getAgreementMethods
public List<AgreementMethod> getAgreementMethods()
- Specified by:
getAgreementMethods
in interfaceKeyInfo
-
getEncryptedKeys
public List<EncryptedKey> getEncryptedKeys()
- Specified by:
getEncryptedKeys
in interfaceKeyInfo
-
getOrderedChildren
public List<XMLObject> getOrderedChildren()
- Specified by:
getOrderedChildren
in interfaceXMLObject
-
-