Interface EncryptionProperties
-
public interface EncryptionPropertiesEncryptionPropertiescan hold additional information concerning the generation of theEncryptedDataorEncryptedKey. This information is wraped int anEncryptionPropertyelement. 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 voidaddEncryptionProperty(EncryptionProperty property)Adds anEncryptionProperty.java.util.IteratorgetEncryptionProperties()Returns anIteratorover all theEncryptionProptertyelements contained in thisEncryptionProperties.java.lang.StringgetId()Returns theEncryptionProperties' id.voidremoveEncryptionProperty(EncryptionProperty property)Removes the specifiedEncryptionProperty.voidsetId(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 anIteratorover all theEncryptionProptertyelements contained in thisEncryptionProperties.- Returns:
- an
Iteratorover all the encryption properties.
-
addEncryptionProperty
void addEncryptionProperty(EncryptionProperty property)
Adds anEncryptionProperty.- Parameters:
property- .
-
removeEncryptionProperty
void removeEncryptionProperty(EncryptionProperty property)
Removes the specifiedEncryptionProperty.- Parameters:
property- .
-
-