Interface Reference
- All Known Implementing Classes:
XMLCipher.Factory.ReferenceListImpl.DataReference
,XMLCipher.Factory.ReferenceListImpl.KeyReference
,XMLCipher.Factory.ReferenceListImpl.ReferenceImpl
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 TypeMethodDescriptionvoid
Adds retrieval information.Returns anIterator
over all the child elements contained in thisReference
that will aid the recipient in retrieving theEncryptedKey
and/orEncryptedData
elements.getType()
Returns theElement
tag name for thisReference
.getURI()
Returns aURI
that points to anElement
that were encrypted using the key defined in the enclosingEncryptedKey
element.void
Removes the specified retrieval information.void
Sets aURI
that points to anElement
that were encrypted using the key defined in the enclosingEncryptedKey
element.
-
Method Details
-
getType
String getType()Returns theElement
tag name for thisReference
.- Returns:
- the tag name of this
Reference
.
-
getURI
String getURI()Returns aURI
that points to anElement
that were encrypted using the key defined in the enclosingEncryptedKey
element.- Returns:
- an Uniform Resource Identifier that qualifies an
EncryptedType
.
-
setURI
Sets aURI
that points to anElement
that were encrypted using the key defined in the enclosingEncryptedKey
element.- Parameters:
uri
- the Uniform Resource Identifier that qualifies anEncryptedType
.
-
getElementRetrievalInformation
Returns anIterator
over all the child elements contained in thisReference
that will aid the recipient in retrieving theEncryptedKey
and/orEncryptedData
elements. 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
-
-