Class EncryptedKeyImpl

  • All Implemented Interfaces:
    org.opensaml.core.xml.XMLObject, org.opensaml.xmlsec.encryption.EncryptedKey, org.opensaml.xmlsec.encryption.EncryptedType

    public class EncryptedKeyImpl
    extends EncryptedTypeImpl
    implements org.opensaml.xmlsec.encryption.EncryptedKey
    Concrete implementation of EncryptedKey.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.opensaml.xmlsec.encryption.CarriedKeyName carriedKeyName
      CarriedKeyName value.
      private String recipient
      Recipient value.
      private org.opensaml.xmlsec.encryption.ReferenceList referenceList
      ReferenceList value.
      • Fields inherited from interface org.opensaml.xmlsec.encryption.EncryptedKey

        DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, RECIPIENT_ATTRIB_NAME, TYPE_LOCAL_NAME, TYPE_NAME
      • Fields inherited from interface org.opensaml.xmlsec.encryption.EncryptedType

        ENCODING_ATTRIB_NAME, ID_ATTRIB_NAME, MIMETYPE_ATTRIB_NAME, TYPE_ATTRIB_NAME, TYPE_LOCAL_NAME, TYPE_NAME
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected EncryptedKeyImpl​(String namespaceURI, String elementLocalName, String namespacePrefix)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.opensaml.xmlsec.encryption.CarriedKeyName getCarriedKeyName()
      List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
      String getRecipient()
      org.opensaml.xmlsec.encryption.ReferenceList getReferenceList()
      void setCarriedKeyName​(org.opensaml.xmlsec.encryption.CarriedKeyName newCarriedKeyName)
      void setRecipient​(String newRecipient)
      void setReferenceList​(org.opensaml.xmlsec.encryption.ReferenceList newReferenceList)
      • 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.xmlsec.encryption.EncryptedType

        getCipherData, getEncoding, getEncryptionMethod, getEncryptionProperties, getID, getKeyInfo, getMimeType, getType, setCipherData, setEncoding, setEncryptionMethod, setEncryptionProperties, setID, setKeyInfo, setMimeType, setType
      • 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

      • recipient

        private String recipient
        Recipient value.
      • carriedKeyName

        private org.opensaml.xmlsec.encryption.CarriedKeyName carriedKeyName
        CarriedKeyName value.
      • referenceList

        private org.opensaml.xmlsec.encryption.ReferenceList referenceList
        ReferenceList value.
    • Constructor Detail

      • EncryptedKeyImpl

        protected EncryptedKeyImpl​(String namespaceURI,
                                   String elementLocalName,
                                   String namespacePrefix)
        Constructor.
        Parameters:
        namespaceURI - namespace URI
        elementLocalName - local name
        namespacePrefix - namespace prefix
    • Method Detail

      • getRecipient

        public String getRecipient()
        Specified by:
        getRecipient in interface org.opensaml.xmlsec.encryption.EncryptedKey
      • setRecipient

        public void setRecipient​(String newRecipient)
        Specified by:
        setRecipient in interface org.opensaml.xmlsec.encryption.EncryptedKey
      • getReferenceList

        public org.opensaml.xmlsec.encryption.ReferenceList getReferenceList()
        Specified by:
        getReferenceList in interface org.opensaml.xmlsec.encryption.EncryptedKey
      • setReferenceList

        public void setReferenceList​(org.opensaml.xmlsec.encryption.ReferenceList newReferenceList)
        Specified by:
        setReferenceList in interface org.opensaml.xmlsec.encryption.EncryptedKey
      • getCarriedKeyName

        public org.opensaml.xmlsec.encryption.CarriedKeyName getCarriedKeyName()
        Specified by:
        getCarriedKeyName in interface org.opensaml.xmlsec.encryption.EncryptedKey
      • setCarriedKeyName

        public void setCarriedKeyName​(org.opensaml.xmlsec.encryption.CarriedKeyName newCarriedKeyName)
        Specified by:
        setCarriedKeyName in interface org.opensaml.xmlsec.encryption.EncryptedKey
      • getOrderedChildren

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