Interface 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:
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidAdds retrieval information.Returns anIteratorover all the child elements contained in thisReferencethat will aid the recipient in retrieving theEncryptedKeyand/orEncryptedDataelements.getType()Returns theElementtag name for thisReference.getURI()Returns aURIthat points to anElementthat were encrypted using the key defined in the enclosingEncryptedKeyelement.voidRemoves the specified retrieval information.voidSets aURIthat points to anElementthat were encrypted using the key defined in the enclosingEncryptedKeyelement.
-
Method Details
-
getType
String getType()Returns theElementtag name for thisReference.- Returns:
- the tag name of this
Reference.
-
getURI
String getURI()Returns aURIthat points to anElementthat were encrypted using the key defined in the enclosingEncryptedKeyelement.- Returns:
- an Uniform Resource Identifier that qualifies an
EncryptedType.
-
setURI
Sets aURIthat points to anElementthat were encrypted using the key defined in the enclosingEncryptedKeyelement.- Parameters:
uri- the Uniform Resource Identifier that qualifies anEncryptedType.
-
getElementRetrievalInformation
Returns anIteratorover all the child elements contained in thisReferencethat will aid the recipient in retrieving theEncryptedKeyand/orEncryptedDataelements. These could include information such as XPath transforms, decompression transforms, or information on how to retrieve the elements from a document storage facility.- Returns:
- child elements.
-
addElementRetrievalInformation
Adds retrieval information.- Parameters:
info-
-
removeElementRetrievalInformation
Removes the specified retrieval information.- Parameters:
info-
-