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.KeyInfoConcrete implementation ofKeyInfo.
-
-
Field Summary
Fields Modifier and Type Field Description private StringidThe Id attribute value.private org.opensaml.core.xml.util.IndexedXMLObjectChildrenList<org.opensaml.core.xml.XMLObject>indexedChildrenThe list of XMLObject child elements.
-
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<org.opensaml.xmlsec.encryption.AgreementMethod>getAgreementMethods()List<org.opensaml.xmlsec.signature.DEREncodedKeyValue>getDEREncodedKeyValues()List<org.opensaml.xmlsec.encryption.EncryptedKey>getEncryptedKeys()StringgetID()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)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 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:
getIDin interfaceorg.opensaml.xmlsec.signature.KeyInfo
-
setID
public void setID(String newID)
- Specified by:
setIDin interfaceorg.opensaml.xmlsec.signature.KeyInfo
-
getXMLObjects
public List<org.opensaml.core.xml.XMLObject> getXMLObjects()
- Specified by:
getXMLObjectsin interfaceorg.opensaml.xmlsec.signature.KeyInfo
-
getXMLObjects
public List<org.opensaml.core.xml.XMLObject> getXMLObjects(QName typeOrName)
- Specified by:
getXMLObjectsin interfaceorg.opensaml.xmlsec.signature.KeyInfo
-
getKeyNames
public List<org.opensaml.xmlsec.signature.KeyName> getKeyNames()
- Specified by:
getKeyNamesin interfaceorg.opensaml.xmlsec.signature.KeyInfo
-
getKeyValues
public List<org.opensaml.xmlsec.signature.KeyValue> getKeyValues()
- Specified by:
getKeyValuesin interfaceorg.opensaml.xmlsec.signature.KeyInfo
-
getDEREncodedKeyValues
public List<org.opensaml.xmlsec.signature.DEREncodedKeyValue> getDEREncodedKeyValues()
- Specified by:
getDEREncodedKeyValuesin interfaceorg.opensaml.xmlsec.signature.KeyInfo
-
getRetrievalMethods
public List<org.opensaml.xmlsec.signature.RetrievalMethod> getRetrievalMethods()
- Specified by:
getRetrievalMethodsin interfaceorg.opensaml.xmlsec.signature.KeyInfo
-
getKeyInfoReferences
public List<org.opensaml.xmlsec.signature.KeyInfoReference> getKeyInfoReferences()
- Specified by:
getKeyInfoReferencesin interfaceorg.opensaml.xmlsec.signature.KeyInfo
-
getX509Datas
public List<org.opensaml.xmlsec.signature.X509Data> getX509Datas()
- Specified by:
getX509Datasin interfaceorg.opensaml.xmlsec.signature.KeyInfo
-
getPGPDatas
public List<org.opensaml.xmlsec.signature.PGPData> getPGPDatas()
- Specified by:
getPGPDatasin interfaceorg.opensaml.xmlsec.signature.KeyInfo
-
getSPKIDatas
public List<org.opensaml.xmlsec.signature.SPKIData> getSPKIDatas()
- Specified by:
getSPKIDatasin interfaceorg.opensaml.xmlsec.signature.KeyInfo
-
getMgmtDatas
public List<org.opensaml.xmlsec.signature.MgmtData> getMgmtDatas()
- Specified by:
getMgmtDatasin interfaceorg.opensaml.xmlsec.signature.KeyInfo
-
getAgreementMethods
public List<org.opensaml.xmlsec.encryption.AgreementMethod> getAgreementMethods()
- Specified by:
getAgreementMethodsin interfaceorg.opensaml.xmlsec.signature.KeyInfo
-
getEncryptedKeys
public List<org.opensaml.xmlsec.encryption.EncryptedKey> getEncryptedKeys()
- Specified by:
getEncryptedKeysin interfaceorg.opensaml.xmlsec.signature.KeyInfo
-
getOrderedChildren
public List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
- Specified by:
getOrderedChildrenin interfaceorg.opensaml.core.xml.XMLObject
-
-