public interface URIDereferencer
A dereferencer of
URIReferences.
The result of dereferencing a URIReference is either an
instance of OctetStreamData or NodeSetData. Unless the
URIReference is a same-document reference as defined
in section 4.2 of the W3C Recommendation for XML-Signature Syntax and
Processing, the result of dereferencing the URIReference
MUST be an OctetStreamData.
-
Method Summary
Modifier and TypeMethodDescriptiondereference(URIReference uriReference, XMLCryptoContext context) Dereferences the specifiedURIReferenceand returns the dereferenced data.
-
Method Details
-
dereference
Dereferences the specifiedURIReferenceand returns the dereferenced data.- Parameters:
uriReference- theURIReferencecontext- anXMLCryptoContextthat may contain additional useful information for dereferencing the URI. This implementation should dereference the specifiedURIReferenceagainst the context'sbaseURIparameter, if specified.- Returns:
- the dereferenced data
- Throws:
NullPointerException- ifuriReferenceorcontextarenullURIReferenceException- if an exception occurs while dereferencing the specifieduriReference
-