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 TypeMethodDescriptionvoidAdds encryption information.getAttribute(String attribute) Returns the attribute's value in thexmlnamespace.Returns the properties of theEncryptionProperty.getId()Returns the id of theEncryptionProperty.Returns theEncryptedTypebeing described.voidRemoves encryption information.voidsetAttribute(String attribute, String value) Set the attribute value.voidSets the id.voidSets the target.(package private) Element
-
Field Details
-
target
-
id
-
attributeMap
-
encryptionInformation
-
-
Constructor Details
-
EncryptionPropertyImpl
public EncryptionPropertyImpl()Constructor.
-
-
Method Details
-
getTarget
Returns theEncryptedTypebeing described.- Specified by:
getTargetin interfaceEncryptionProperty- Returns:
- the
EncryptedTypebeing described by thisEncryptionProperty.
-
setTarget
Sets the target.- Specified by:
setTargetin interfaceEncryptionProperty- Parameters:
target-
-
getId
Returns the id of theEncryptionProperty.- Specified by:
getIdin interfaceEncryptionProperty- Returns:
- the id.
-
setId
Sets the id.- Specified by:
setIdin interfaceEncryptionProperty- Parameters:
id-
-
getAttribute
Returns the attribute's value in thexmlnamespace.- Specified by:
getAttributein interfaceEncryptionProperty- Parameters:
attribute-- Returns:
- the attribute's value.
-
setAttribute
Set the attribute value.- Specified by:
setAttributein interfaceEncryptionProperty- Parameters:
attribute- the attribute's name.value- the attribute's value.
-
getEncryptionInformation
Returns the properties of theEncryptionProperty.- Specified by:
getEncryptionInformationin interfaceEncryptionProperty- Returns:
- an
Iteratorover all the additional encryption information contained in this class.
-
addEncryptionInformation
Adds encryption information.- Specified by:
addEncryptionInformationin interfaceEncryptionProperty- Parameters:
info- the additional encryption information.
-
removeEncryptionInformation
Removes encryption information.- Specified by:
removeEncryptionInformationin interfaceEncryptionProperty- Parameters:
info- the information to remove.
-
toElement
Element toElement()
-