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 anEncryptedKey
to items encrypted by that key value (EncryptedData
orEncryptedKey
elements).It is defined as follows:
- See Also:
ReferenceList
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addElementRetrievalInformation(org.w3c.dom.Element info)
Adds retrieval information.java.util.Iterator<org.w3c.dom.Element>
getElementRetrievalInformation()
Returns anIterator
over all the child elements contained in thisReference
that will aid the recipient in retrieving theEncryptedKey
and/orEncryptedData
elements.java.lang.String
getType()
Returns theElement
tag name for thisReference
.java.lang.String
getURI()
Returns aURI
that points to anElement
that were encrypted using the key defined in the enclosingEncryptedKey
element.void
removeElementRetrievalInformation(org.w3c.dom.Element info)
Removes the specified retrieval information.void
setURI(java.lang.String uri)
Sets aURI
that points to anElement
that were encrypted using the key defined in the enclosingEncryptedKey
element.
-
-
-
Method Detail
-
getType
java.lang.String getType()
Returns theElement
tag name for thisReference
.- Returns:
- the tag name of this
Reference
.
-
getURI
java.lang.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
void setURI(java.lang.String uri)
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
java.util.Iterator<org.w3c.dom.Element> 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
void addElementRetrievalInformation(org.w3c.dom.Element info)
Adds retrieval information.- Parameters:
info
-
-
removeElementRetrievalInformation
void removeElementRetrievalInformation(org.w3c.dom.Element info)
Removes the specified retrieval information.- Parameters:
info
-
-
-