Class EncryptedTypeImpl

  • All Implemented Interfaces:
    org.opensaml.core.xml.XMLObject, org.opensaml.xmlsec.encryption.EncryptedType
    Direct Known Subclasses:
    EncryptedDataImpl, EncryptedKeyImpl

    public abstract class EncryptedTypeImpl
    extends org.opensaml.core.xml.AbstractXMLObject
    implements org.opensaml.xmlsec.encryption.EncryptedType
    Abstract implementation of EncryptedType.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.opensaml.xmlsec.encryption.CipherData cipherData
      CipherData child element.
      private String encoding
      Encoding attribute value.
      private org.opensaml.xmlsec.encryption.EncryptionMethod encryptionMethod
      EncryptionMethod child element.
      private org.opensaml.xmlsec.encryption.EncryptionProperties encryptionProperties
      EncryptionProperties child element.
      private String id
      id attribute value.
      private org.opensaml.xmlsec.signature.KeyInfo keyInfo
      EncryptionMethod child element.
      private String mimeType
      MimeType attribute value.
      private String type
      Type attribute value.
      • 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 EncryptedTypeImpl​(String namespaceURI, String elementLocalName, String namespacePrefix)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.opensaml.xmlsec.encryption.CipherData getCipherData()
      String getEncoding()
      org.opensaml.xmlsec.encryption.EncryptionMethod getEncryptionMethod()
      org.opensaml.xmlsec.encryption.EncryptionProperties getEncryptionProperties()
      String getID()
      org.opensaml.xmlsec.signature.KeyInfo getKeyInfo()
      String getMimeType()
      List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
      String getType()
      void setCipherData​(org.opensaml.xmlsec.encryption.CipherData newCipherData)
      void setEncoding​(String newEncoding)
      void setEncryptionMethod​(org.opensaml.xmlsec.encryption.EncryptionMethod newEncryptionMethod)
      void setEncryptionProperties​(org.opensaml.xmlsec.encryption.EncryptionProperties newEncryptionProperties)
      void setID​(String newID)
      void setKeyInfo​(org.opensaml.xmlsec.signature.KeyInfo newKeyInfo)
      void setMimeType​(String newMimeType)
      void setType​(String newType)
      • 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

      • id

        private String id
        id attribute value.
      • type

        private String type
        Type attribute value.
      • mimeType

        private String mimeType
        MimeType attribute value.
      • encoding

        private String encoding
        Encoding attribute value.
      • encryptionMethod

        private org.opensaml.xmlsec.encryption.EncryptionMethod encryptionMethod
        EncryptionMethod child element.
      • keyInfo

        private org.opensaml.xmlsec.signature.KeyInfo keyInfo
        EncryptionMethod child element.
      • cipherData

        private org.opensaml.xmlsec.encryption.CipherData cipherData
        CipherData child element.
      • encryptionProperties

        private org.opensaml.xmlsec.encryption.EncryptionProperties encryptionProperties
        EncryptionProperties child element.
    • Constructor Detail

      • EncryptedTypeImpl

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

      • getID

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

        public void setID​(String newID)
        Specified by:
        setID in interface org.opensaml.xmlsec.encryption.EncryptedType
      • getType

        public String getType()
        Specified by:
        getType in interface org.opensaml.xmlsec.encryption.EncryptedType
      • setType

        public void setType​(String newType)
        Specified by:
        setType in interface org.opensaml.xmlsec.encryption.EncryptedType
      • getMimeType

        public String getMimeType()
        Specified by:
        getMimeType in interface org.opensaml.xmlsec.encryption.EncryptedType
      • setMimeType

        public void setMimeType​(String newMimeType)
        Specified by:
        setMimeType in interface org.opensaml.xmlsec.encryption.EncryptedType
      • getEncoding

        public String getEncoding()
        Specified by:
        getEncoding in interface org.opensaml.xmlsec.encryption.EncryptedType
      • setEncoding

        public void setEncoding​(String newEncoding)
        Specified by:
        setEncoding in interface org.opensaml.xmlsec.encryption.EncryptedType
      • getEncryptionMethod

        public org.opensaml.xmlsec.encryption.EncryptionMethod getEncryptionMethod()
        Specified by:
        getEncryptionMethod in interface org.opensaml.xmlsec.encryption.EncryptedType
      • setEncryptionMethod

        public void setEncryptionMethod​(org.opensaml.xmlsec.encryption.EncryptionMethod newEncryptionMethod)
        Specified by:
        setEncryptionMethod in interface org.opensaml.xmlsec.encryption.EncryptedType
      • getKeyInfo

        public org.opensaml.xmlsec.signature.KeyInfo getKeyInfo()
        Specified by:
        getKeyInfo in interface org.opensaml.xmlsec.encryption.EncryptedType
      • setKeyInfo

        public void setKeyInfo​(org.opensaml.xmlsec.signature.KeyInfo newKeyInfo)
        Specified by:
        setKeyInfo in interface org.opensaml.xmlsec.encryption.EncryptedType
      • getCipherData

        public org.opensaml.xmlsec.encryption.CipherData getCipherData()
        Specified by:
        getCipherData in interface org.opensaml.xmlsec.encryption.EncryptedType
      • setCipherData

        public void setCipherData​(org.opensaml.xmlsec.encryption.CipherData newCipherData)
        Specified by:
        setCipherData in interface org.opensaml.xmlsec.encryption.EncryptedType
      • getEncryptionProperties

        public org.opensaml.xmlsec.encryption.EncryptionProperties getEncryptionProperties()
        Specified by:
        getEncryptionProperties in interface org.opensaml.xmlsec.encryption.EncryptedType
      • setEncryptionProperties

        public void setEncryptionProperties​(org.opensaml.xmlsec.encryption.EncryptionProperties newEncryptionProperties)
        Specified by:
        setEncryptionProperties in interface org.opensaml.xmlsec.encryption.EncryptedType
      • getOrderedChildren

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