Class XMLCipher.Factory.EncryptionPropertyImpl
java.lang.Object
org.apache.xml.security.encryption.XMLCipher.Factory.EncryptionPropertyImpl
- All Implemented Interfaces:
EncryptionProperty
- Enclosing class:
XMLCipher.Factory
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds encryption information.getAttribute
(String attribute) Returns the attribute's value in thexml
namespace.Returns the properties of theEncryptionProperty
.getId()
Returns the id of theEncryptionProperty
.Returns theEncryptedType
being described.void
Removes encryption information.void
setAttribute
(String attribute, String value) Set the attribute value.void
Sets the id.void
Sets the target.(package private) Element
-
Field Details
-
target
-
id
-
attributeMap
-
encryptionInformation
-
-
Constructor Details
-
EncryptionPropertyImpl
public EncryptionPropertyImpl()Constructor.
-
-
Method Details
-
getTarget
Returns theEncryptedType
being described.- Specified by:
getTarget
in interfaceEncryptionProperty
- Returns:
- the
EncryptedType
being described by thisEncryptionProperty
.
-
setTarget
Sets the target.- Specified by:
setTarget
in interfaceEncryptionProperty
- Parameters:
target
-
-
getId
Returns the id of theEncryptionProperty
.- Specified by:
getId
in interfaceEncryptionProperty
- Returns:
- the id.
-
setId
Sets the id.- Specified by:
setId
in interfaceEncryptionProperty
- Parameters:
id
-
-
getAttribute
Returns the attribute's value in thexml
namespace.- Specified by:
getAttribute
in interfaceEncryptionProperty
- Parameters:
attribute
-- Returns:
- the attribute's value.
-
setAttribute
Set the attribute value.- Specified by:
setAttribute
in interfaceEncryptionProperty
- Parameters:
attribute
- the attribute's name.value
- the attribute's value.
-
getEncryptionInformation
Returns the properties of theEncryptionProperty
.- Specified by:
getEncryptionInformation
in interfaceEncryptionProperty
- Returns:
- an
Iterator
over all the additional encryption information contained in this class.
-
addEncryptionInformation
Adds encryption information.- Specified by:
addEncryptionInformation
in interfaceEncryptionProperty
- Parameters:
info
- the additional encryption information.
-
removeEncryptionInformation
Removes encryption information.- Specified by:
removeEncryptionInformation
in interfaceEncryptionProperty
- Parameters:
info
- the information to remove.
-
toElement
Element toElement()
-