Module org.apache.santuario.xmlsec
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:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddEncryptionProperty(EncryptionProperty property)Adds anEncryptionProperty.Iterator<EncryptionProperty>getEncryptionProperties()Returns anIteratorover all theEncryptionProptertyelements contained in thisEncryptionProperties.StringgetId()Returns theEncryptionProperties' id.voidremoveEncryptionProperty(EncryptionProperty property)Removes the specifiedEncryptionProperty.voidsetId(String id)Sets the id.
-
-
-
Method Detail
-
getId
String getId()
Returns theEncryptionProperties' id.- Returns:
- the id.
-
setId
void setId(String id)
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
void addEncryptionProperty(EncryptionProperty property)
Adds anEncryptionProperty.- Parameters:
property-
-
removeEncryptionProperty
void removeEncryptionProperty(EncryptionProperty property)
Removes the specifiedEncryptionProperty.- Parameters:
property-
-
-