Interface EncryptionProperty
- All Known Implementing Classes:
XMLCipher.Factory.EncryptionPropertyImpl
public interface EncryptionProperty
Additional information items concerning the generation of the
EncryptedData or EncryptedKey can be placed in an
EncryptionProperty element (e.g., date/time stamp or the serial
number of cryptographic hardware used during encryption). The Target
attribute identifies the EncryptedType structure being
described. anyAttribute permits the inclusion of attributes from the XML
namespace to be included (i.e., xml:space,
xml:lang, and xml:base).
It is defined as follows:
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddEncryptionInformation(Element information) Adds 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.voidremoveEncryptionInformation(Element information) Removes encryption information.voidsetAttribute(String attribute, String value) Set the attribute value.voidSets the id.voidSets the target.
-
Method Details
-
getTarget
String getTarget()Returns theEncryptedTypebeing described.- Returns:
- the
EncryptedTypebeing described by thisEncryptionProperty.
-
setTarget
-
getId
-
setId
-
getAttribute
-
setAttribute
-
getEncryptionInformation
-
addEncryptionInformation
Adds encryption information.- Parameters:
information- the additional encryption information.
-
removeEncryptionInformation
Removes encryption information.- Parameters:
information- the information to remove.
-