Class XMLCipher.Factory.EncryptionPropertyImpl

java.lang.Object
org.apache.xml.security.encryption.XMLCipher.Factory.EncryptionPropertyImpl
All Implemented Interfaces:
EncryptionProperty
Enclosing class:
XMLCipher.Factory

private class XMLCipher.Factory.EncryptionPropertyImpl extends Object implements EncryptionProperty
  • Field Details

  • Constructor Details

    • EncryptionPropertyImpl

      public EncryptionPropertyImpl()
      Constructor.
  • Method Details

    • getTarget

      public 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(String target)
      Sets the target.
      Specified by:
      setTarget in interface EncryptionProperty
      Parameters:
      target -
    • getId

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

      public void setId(String id)
      Sets the id.
      Specified by:
      setId in interface EncryptionProperty
      Parameters:
      id -
    • getAttribute

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

      public void setAttribute(String attribute, 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 Iterator<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(Element info)
      Adds encryption information.
      Specified by:
      addEncryptionInformation in interface EncryptionProperty
      Parameters:
      info - the additional encryption information.
    • removeEncryptionInformation

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

      Element toElement()