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

Reference

public interface Reference
A wrapper for a pointer from a key value of an EncryptedKey to items encrypted by that key value (EncryptedData or EncryptedKey elements).

It is defined as follows:

<complexType name='ReferenceType'> <sequence> <any namespace='##other' minOccurs='0' maxOccurs='unbounded'/> </sequence> <attribute name='URI' type='anyURI' use='required'/> </complexType>
author
Axl Mattheus
see
ReferenceList

Fields Summary
Constructors Summary
Methods Summary
public voidaddElementRetrievalInformation(org.w3c.dom.Element info)
Adds retrieval information.

param
info.

public java.util.IteratorgetElementRetrievalInformation()
Returns an Iterator over all the child elements contained in this Reference that will aid the recipient in retrieving the EncryptedKey and/or EncryptedData elements. These could include information such as XPath transforms, decompression transforms, or information on how to retrieve the elements from a document storage facility.

return
child elements.

public java.lang.StringgetURI()
Returns a URI that points to an Element that were encrypted using the key defined in the enclosing EncryptedKey element.

return
an Uniform Resource Identifier that qualifies an EncryptedType.

public voidremoveElementRetrievalInformation(org.w3c.dom.Element info)
Removes the specified retrieval information.

param
info.

public voidsetURI(java.lang.String uri)
Sets a URI that points to an Element that were encrypted using the key defined in the enclosing EncryptedKey element.

param
uri the Uniform Resource Identifier that qualifies an EncryptedType.