FileDocCategorySizeDatePackage
EncryptionProperty.javaAPI DocJava SE 6 API3454Tue Jun 10 00:23:02 BST 2008com.sun.org.apache.xml.internal.security.encryption

EncryptionProperty

public interface EncryptionProperty
Additional information items concerning the generation of the EncryptedData or EncryptedKey can be placed in an EncryptionProperty element (e.g., date/time stamp or the serial number of cryptographic hardware used during encryption). The Target attribute identifies the EncryptedType structure being described. anyAttribute permits the inclusion of attributes from the XML namespace to be included (i.e., xml:space, xml:lang, and xml:base).

It is defined as follows:

<element name='EncryptionProperty' type='xenc:EncryptionPropertyType'/> <complexType name='EncryptionPropertyType' mixed='true'> <choice maxOccurs='unbounded'> <any namespace='##other' processContents='lax'/> </choice> <attribute name='Target' type='anyURI' use='optional'/> <attribute name='Id' type='ID' use='optional'/> <anyAttribute namespace="http://www.w3.org/XML/1998/namespace"/> </complexType>
author
Axl Mattheus

Fields Summary
Constructors Summary
Methods Summary
public voidaddEncryptionInformation(org.w3c.dom.Element information)
Adds encryption information.

param
information the additional encryption information.

public java.lang.StringgetAttribute(java.lang.String attribute)
Returns the attribute's value in the xml namespace.

param
attribute
return
the attribute's value.

public java.util.IteratorgetEncryptionInformation()
Returns the properties of the EncryptionProperty.

return
an Iterator over all the addiitonal encryption information contained in this class.

public java.lang.StringgetId()
Returns the id of the EncryptionProperty.

return
the id.

public java.lang.StringgetTarget()
Returns the EncryptedType being described.

return
the EncryptedType being described by this EncryptionProperty.

public voidremoveEncryptionInformation(org.w3c.dom.Element information)
Removes encryption information.

param
information the information to remove.

public voidsetAttribute(java.lang.String attribute, java.lang.String value)
Set the attribute value.

param
attribute the attribute's name.
param
value the attribute's value.

public voidsetId(java.lang.String id)
Sets the id.

param
id.

public voidsetTarget(java.lang.String target)
Sets the target.

param
target.