Class 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 of KeyInfo.
    • 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.
      • 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<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 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 in
        elementLocalName - the local name of the XML element this Object represents
        namespacePrefix - the prefix for the given namespace
    • Method Detail

      • getID

        public String getID()
        Specified by:
        getID in interface org.opensaml.xmlsec.signature.KeyInfo
      • setID

        public void setID​(String newID)
        Specified by:
        setID in interface org.opensaml.xmlsec.signature.KeyInfo
      • getXMLObjects

        public List<org.opensaml.core.xml.XMLObject> getXMLObjects()
        Specified by:
        getXMLObjects in interface org.opensaml.xmlsec.signature.KeyInfo
      • getXMLObjects

        public List<org.opensaml.core.xml.XMLObject> getXMLObjects​(QName typeOrName)
        Specified by:
        getXMLObjects in interface org.opensaml.xmlsec.signature.KeyInfo
      • getKeyNames

        public List<org.opensaml.xmlsec.signature.KeyName> getKeyNames()
        Specified by:
        getKeyNames in interface org.opensaml.xmlsec.signature.KeyInfo
      • getKeyValues

        public List<org.opensaml.xmlsec.signature.KeyValue> getKeyValues()
        Specified by:
        getKeyValues in interface org.opensaml.xmlsec.signature.KeyInfo
      • getDEREncodedKeyValues

        public List<org.opensaml.xmlsec.signature.DEREncodedKeyValue> getDEREncodedKeyValues()
        Specified by:
        getDEREncodedKeyValues in interface org.opensaml.xmlsec.signature.KeyInfo
      • getRetrievalMethods

        public List<org.opensaml.xmlsec.signature.RetrievalMethod> getRetrievalMethods()
        Specified by:
        getRetrievalMethods in interface org.opensaml.xmlsec.signature.KeyInfo
      • getKeyInfoReferences

        public List<org.opensaml.xmlsec.signature.KeyInfoReference> getKeyInfoReferences()
        Specified by:
        getKeyInfoReferences in interface org.opensaml.xmlsec.signature.KeyInfo
      • getX509Datas

        public List<org.opensaml.xmlsec.signature.X509Data> getX509Datas()
        Specified by:
        getX509Datas in interface org.opensaml.xmlsec.signature.KeyInfo
      • getPGPDatas

        public List<org.opensaml.xmlsec.signature.PGPData> getPGPDatas()
        Specified by:
        getPGPDatas in interface org.opensaml.xmlsec.signature.KeyInfo
      • getSPKIDatas

        public List<org.opensaml.xmlsec.signature.SPKIData> getSPKIDatas()
        Specified by:
        getSPKIDatas in interface org.opensaml.xmlsec.signature.KeyInfo
      • getMgmtDatas

        public List<org.opensaml.xmlsec.signature.MgmtData> getMgmtDatas()
        Specified by:
        getMgmtDatas in interface org.opensaml.xmlsec.signature.KeyInfo
      • getAgreementMethods

        public List<org.opensaml.xmlsec.encryption.AgreementMethod> getAgreementMethods()
        Specified by:
        getAgreementMethods in interface org.opensaml.xmlsec.signature.KeyInfo
      • getEncryptedKeys

        public List<org.opensaml.xmlsec.encryption.EncryptedKey> getEncryptedKeys()
        Specified by:
        getEncryptedKeys in interface org.opensaml.xmlsec.signature.KeyInfo
      • getOrderedChildren

        public List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
        Specified by:
        getOrderedChildren in interface org.opensaml.core.xml.XMLObject