Class XMLCipher.Factory.EncryptionPropertyImpl

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.Map<java.lang.String,​java.lang.String> attributeMap  
      private java.util.List<org.w3c.dom.Element> encryptionInformation  
      private java.lang.String id  
      private java.lang.String target  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addEncryptionInformation​(org.w3c.dom.Element info)
      Adds encryption information.
      java.lang.String getAttribute​(java.lang.String attribute)
      Returns the attribute's value in the xml namespace.
      java.util.Iterator<org.w3c.dom.Element> getEncryptionInformation()
      Returns the properties of the EncryptionProperty.
      java.lang.String getId()
      Returns the id of the EncryptionProperty.
      java.lang.String getTarget()
      Returns the EncryptedType being described.
      void removeEncryptionInformation​(org.w3c.dom.Element info)
      Removes encryption information.
      void setAttribute​(java.lang.String attribute, java.lang.String value)
      Set the attribute value.
      void setId​(java.lang.String id)
      Sets the id.
      void setTarget​(java.lang.String target)
      Sets the target.
      (package private) org.w3c.dom.Element toElement()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • target

        private java.lang.String target
      • id

        private java.lang.String id
      • attributeMap

        private java.util.Map<java.lang.String,​java.lang.String> attributeMap
      • encryptionInformation

        private java.util.List<org.w3c.dom.Element> encryptionInformation
    • Constructor Detail

      • EncryptionPropertyImpl

        public EncryptionPropertyImpl()
        Constructor.
    • Method Detail

      • getTarget

        public java.lang.String getTarget()
        Returns the EncryptedType being described.
        Specified by:
        getTarget in interface EncryptionProperty
        Returns:
        the EncryptedType being described by this EncryptionProperty.
      • setTarget

        public void setTarget​(java.lang.String target)
        Sets the target.
        Specified by:
        setTarget in interface EncryptionProperty
      • getId

        public java.lang.String getId()
        Returns the id of the EncryptionProperty.
        Specified by:
        getId in interface EncryptionProperty
        Returns:
        the id.
      • setId

        public void setId​(java.lang.String id)
        Sets the id.
        Specified by:
        setId in interface EncryptionProperty
      • getAttribute

        public java.lang.String getAttribute​(java.lang.String attribute)
        Returns the attribute's value in the xml namespace.
        Specified by:
        getAttribute in interface EncryptionProperty
        Returns:
        the attribute's value.
      • setAttribute

        public void setAttribute​(java.lang.String attribute,
                                 java.lang.String value)
        Set the attribute value.
        Specified by:
        setAttribute in interface EncryptionProperty
        Parameters:
        attribute - the attribute's name.
        value - the attribute's value.
      • getEncryptionInformation

        public java.util.Iterator<org.w3c.dom.Element> getEncryptionInformation()
        Returns the properties of the EncryptionProperty.
        Specified by:
        getEncryptionInformation in interface EncryptionProperty
        Returns:
        an Iterator over all the additional encryption information contained in this class.
      • addEncryptionInformation

        public void addEncryptionInformation​(org.w3c.dom.Element info)
        Adds encryption information.
        Specified by:
        addEncryptionInformation in interface EncryptionProperty
        Parameters:
        info - the additional encryption information.
      • removeEncryptionInformation

        public void removeEncryptionInformation​(org.w3c.dom.Element info)
        Removes encryption information.
        Specified by:
        removeEncryptionInformation in interface EncryptionProperty
        Parameters:
        info - the information to remove.
      • toElement

        org.w3c.dom.Element toElement()