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:
- Author:
- Axl Mattheus
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addEncryptionProperty
(EncryptionProperty property) Adds anEncryptionProperty
.Returns anIterator
over all theEncryptionPropterty
elements contained in thisEncryptionProperties
.getId()
Returns theEncryptionProperties
' id.void
removeEncryptionProperty
(EncryptionProperty property) Removes the specifiedEncryptionProperty
.void
Sets the id.
-
Method Details
-
getId
String getId()Returns theEncryptionProperties
' id.- Returns:
- the id.
-
setId
Sets the id.- Parameters:
id
- the id.
-
getEncryptionProperties
Iterator getEncryptionProperties()Returns anIterator
over all theEncryptionPropterty
elements contained in thisEncryptionProperties
.- Returns:
- an
Iterator
over all the encryption properties.
-
addEncryptionProperty
Adds anEncryptionProperty
.- Parameters:
property
- .
-
removeEncryptionProperty
Removes the specifiedEncryptionProperty
.- Parameters:
property
- .
-