Interface EncryptionProperties
-
public interface EncryptionProperties
EncryptionProperties
can hold additional information concerning the generation of theEncryptedData
orEncryptedKey
. This information is wraped int anEncryptionProperty
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addEncryptionProperty(EncryptionProperty property)
Adds anEncryptionProperty
.java.util.Iterator
getEncryptionProperties()
Returns anIterator
over all theEncryptionPropterty
elements contained in thisEncryptionProperties
.java.lang.String
getId()
Returns theEncryptionProperties
' id.void
removeEncryptionProperty(EncryptionProperty property)
Removes the specifiedEncryptionProperty
.void
setId(java.lang.String id)
Sets the id.
-
-
-
Method Detail
-
getId
java.lang.String getId()
Returns theEncryptionProperties
' id.- Returns:
- the id.
-
setId
void setId(java.lang.String id)
Sets the id.- Parameters:
id
- the id.
-
getEncryptionProperties
java.util.Iterator getEncryptionProperties()
Returns anIterator
over all theEncryptionPropterty
elements contained in thisEncryptionProperties
.- Returns:
- an
Iterator
over all the encryption properties.
-
addEncryptionProperty
void addEncryptionProperty(EncryptionProperty property)
Adds anEncryptionProperty
.- Parameters:
property
- .
-
removeEncryptionProperty
void removeEncryptionProperty(EncryptionProperty property)
Removes the specifiedEncryptionProperty
.- Parameters:
property
- .
-
-