Class EncryptionMethodImpl

  • All Implemented Interfaces:
    org.opensaml.core.xml.ElementExtensibleXMLObject, org.opensaml.core.xml.XMLObject, org.opensaml.xmlsec.encryption.EncryptionMethod

    public class EncryptionMethodImpl
    extends org.opensaml.core.xml.AbstractXMLObject
    implements org.opensaml.xmlsec.encryption.EncryptionMethod
    Concrete implementation of EncryptionMethod.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private String algorithm
      Algorithm attribute value.
      private org.opensaml.xmlsec.encryption.KeySize keySize
      KeySize child element value.
      private org.opensaml.xmlsec.encryption.OAEPparams oaepParams
      OAEPparams child element value.
      private org.opensaml.core.xml.util.IndexedXMLObjectChildrenList<org.opensaml.core.xml.XMLObject> unknownChildren
      "any" children.
      • Fields inherited from interface org.opensaml.xmlsec.encryption.EncryptionMethod

        ALGORITHM_ATTRIB_NAME, DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, TYPE_LOCAL_NAME, TYPE_NAME
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getAlgorithm()
      org.opensaml.xmlsec.encryption.KeySize getKeySize()
      org.opensaml.xmlsec.encryption.OAEPparams getOAEPparams()
      List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
      List<org.opensaml.core.xml.XMLObject> getUnknownXMLObjects()
      List<org.opensaml.core.xml.XMLObject> getUnknownXMLObjects​(QName typeOrName)
      void setAlgorithm​(String newAlgorithm)
      void setKeySize​(org.opensaml.xmlsec.encryption.KeySize newKeySize)
      void setOAEPparams​(org.opensaml.xmlsec.encryption.OAEPparams newOAEPparams)
      • 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

      • algorithm

        private String algorithm
        Algorithm attribute value.
      • keySize

        private org.opensaml.xmlsec.encryption.KeySize keySize
        KeySize child element value.
      • oaepParams

        private org.opensaml.xmlsec.encryption.OAEPparams oaepParams
        OAEPparams child element value.
      • unknownChildren

        private final org.opensaml.core.xml.util.IndexedXMLObjectChildrenList<org.opensaml.core.xml.XMLObject> unknownChildren
        "any" children.
    • Constructor Detail

      • EncryptionMethodImpl

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

      • getAlgorithm

        public String getAlgorithm()
        Specified by:
        getAlgorithm in interface org.opensaml.xmlsec.encryption.EncryptionMethod
      • setAlgorithm

        public void setAlgorithm​(String newAlgorithm)
        Specified by:
        setAlgorithm in interface org.opensaml.xmlsec.encryption.EncryptionMethod
      • getKeySize

        public org.opensaml.xmlsec.encryption.KeySize getKeySize()
        Specified by:
        getKeySize in interface org.opensaml.xmlsec.encryption.EncryptionMethod
      • setKeySize

        public void setKeySize​(org.opensaml.xmlsec.encryption.KeySize newKeySize)
        Specified by:
        setKeySize in interface org.opensaml.xmlsec.encryption.EncryptionMethod
      • getOAEPparams

        public org.opensaml.xmlsec.encryption.OAEPparams getOAEPparams()
        Specified by:
        getOAEPparams in interface org.opensaml.xmlsec.encryption.EncryptionMethod
      • setOAEPparams

        public void setOAEPparams​(org.opensaml.xmlsec.encryption.OAEPparams newOAEPparams)
        Specified by:
        setOAEPparams in interface org.opensaml.xmlsec.encryption.EncryptionMethod
      • getUnknownXMLObjects

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

        public List<org.opensaml.core.xml.XMLObject> getUnknownXMLObjects​(QName typeOrName)
        Specified by:
        getUnknownXMLObjects in interface org.opensaml.core.xml.ElementExtensibleXMLObject
      • getOrderedChildren

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