Class KeyInfoImpl
- java.lang.Object
-
- org.opensaml.core.xml.AbstractXMLObject
-
- org.opensaml.xmlsec.signature.impl.KeyInfoImpl
-
- All Implemented Interfaces:
org.opensaml.core.xml.XMLObject
,org.opensaml.xmlsec.signature.KeyInfo
- Direct Known Subclasses:
OriginatorKeyInfoImpl
,RecipientKeyInfoImpl
public class KeyInfoImpl extends org.opensaml.core.xml.AbstractXMLObject implements org.opensaml.xmlsec.signature.KeyInfo
Concrete implementation ofKeyInfo
.
-
-
Field Summary
Fields Modifier and Type Field Description private String
id
The Id attribute value.private org.opensaml.core.xml.util.IndexedXMLObjectChildrenList<org.opensaml.core.xml.XMLObject>
indexedChildren
The list of XMLObject child elements.
-
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<org.opensaml.xmlsec.encryption.AgreementMethod>
getAgreementMethods()
List<org.opensaml.xmlsec.signature.DEREncodedKeyValue>
getDEREncodedKeyValues()
List<org.opensaml.xmlsec.encryption.EncryptedKey>
getEncryptedKeys()
String
getID()
List<org.opensaml.xmlsec.signature.KeyInfoReference>
getKeyInfoReferences()
List<org.opensaml.xmlsec.signature.KeyName>
getKeyNames()
List<org.opensaml.xmlsec.signature.KeyValue>
getKeyValues()
List<org.opensaml.xmlsec.signature.MgmtData>
getMgmtDatas()
List<org.opensaml.core.xml.XMLObject>
getOrderedChildren()
List<org.opensaml.xmlsec.signature.PGPData>
getPGPDatas()
List<org.opensaml.xmlsec.signature.RetrievalMethod>
getRetrievalMethods()
List<org.opensaml.xmlsec.signature.SPKIData>
getSPKIDatas()
List<org.opensaml.xmlsec.signature.X509Data>
getX509Datas()
List<org.opensaml.core.xml.XMLObject>
getXMLObjects()
List<org.opensaml.core.xml.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 org.opensaml.core.xml.util.IndexedXMLObjectChildrenList<org.opensaml.core.xml.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
-
getID
public String getID()
- Specified by:
getID
in interfaceorg.opensaml.xmlsec.signature.KeyInfo
-
setID
public void setID(String newID)
- Specified by:
setID
in interfaceorg.opensaml.xmlsec.signature.KeyInfo
-
getXMLObjects
public List<org.opensaml.core.xml.XMLObject> getXMLObjects()
- Specified by:
getXMLObjects
in interfaceorg.opensaml.xmlsec.signature.KeyInfo
-
getXMLObjects
public List<org.opensaml.core.xml.XMLObject> getXMLObjects(QName typeOrName)
- Specified by:
getXMLObjects
in interfaceorg.opensaml.xmlsec.signature.KeyInfo
-
getKeyNames
public List<org.opensaml.xmlsec.signature.KeyName> getKeyNames()
- Specified by:
getKeyNames
in interfaceorg.opensaml.xmlsec.signature.KeyInfo
-
getKeyValues
public List<org.opensaml.xmlsec.signature.KeyValue> getKeyValues()
- Specified by:
getKeyValues
in interfaceorg.opensaml.xmlsec.signature.KeyInfo
-
getDEREncodedKeyValues
public List<org.opensaml.xmlsec.signature.DEREncodedKeyValue> getDEREncodedKeyValues()
- Specified by:
getDEREncodedKeyValues
in interfaceorg.opensaml.xmlsec.signature.KeyInfo
-
getRetrievalMethods
public List<org.opensaml.xmlsec.signature.RetrievalMethod> getRetrievalMethods()
- Specified by:
getRetrievalMethods
in interfaceorg.opensaml.xmlsec.signature.KeyInfo
-
getKeyInfoReferences
public List<org.opensaml.xmlsec.signature.KeyInfoReference> getKeyInfoReferences()
- Specified by:
getKeyInfoReferences
in interfaceorg.opensaml.xmlsec.signature.KeyInfo
-
getX509Datas
public List<org.opensaml.xmlsec.signature.X509Data> getX509Datas()
- Specified by:
getX509Datas
in interfaceorg.opensaml.xmlsec.signature.KeyInfo
-
getPGPDatas
public List<org.opensaml.xmlsec.signature.PGPData> getPGPDatas()
- Specified by:
getPGPDatas
in interfaceorg.opensaml.xmlsec.signature.KeyInfo
-
getSPKIDatas
public List<org.opensaml.xmlsec.signature.SPKIData> getSPKIDatas()
- Specified by:
getSPKIDatas
in interfaceorg.opensaml.xmlsec.signature.KeyInfo
-
getMgmtDatas
public List<org.opensaml.xmlsec.signature.MgmtData> getMgmtDatas()
- Specified by:
getMgmtDatas
in interfaceorg.opensaml.xmlsec.signature.KeyInfo
-
getAgreementMethods
public List<org.opensaml.xmlsec.encryption.AgreementMethod> getAgreementMethods()
- Specified by:
getAgreementMethods
in interfaceorg.opensaml.xmlsec.signature.KeyInfo
-
getEncryptedKeys
public List<org.opensaml.xmlsec.encryption.EncryptedKey> getEncryptedKeys()
- Specified by:
getEncryptedKeys
in interfaceorg.opensaml.xmlsec.signature.KeyInfo
-
getOrderedChildren
public List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
- Specified by:
getOrderedChildren
in interfaceorg.opensaml.core.xml.XMLObject
-
-