Interface EncryptionProperties
public interface EncryptionProperties
EncryptionProperties can hold additional information concerning
the generation of the EncryptedData or
EncryptedKey. This information is wraped int an
EncryptionProperty element. Examples of additional information
is e.g., a date/time stamp or the serial number of cryptographic hardware
used during encryption).
It is defined as follows:
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddEncryptionProperty(EncryptionProperty property) Adds anEncryptionProperty.Returns anIteratorover all theEncryptionProptertyelements contained in thisEncryptionProperties.getId()Returns theEncryptionProperties' id.voidremoveEncryptionProperty(EncryptionProperty property) Removes the specifiedEncryptionProperty.voidSets the id.
-
Method Details
-
getId
String getId()Returns theEncryptionProperties' id.- Returns:
- the id.
-
setId
Sets the id.- Parameters:
id- the id.
-
getEncryptionProperties
Iterator<EncryptionProperty> getEncryptionProperties()Returns anIteratorover all theEncryptionProptertyelements contained in thisEncryptionProperties.- Returns:
- an
Iteratorover all the encryption properties.
-
addEncryptionProperty
Adds anEncryptionProperty.- Parameters:
property-
-
removeEncryptionProperty
Removes the specifiedEncryptionProperty.- Parameters:
property-
-