Interface URIDereferencer
-
public interface URIDereferencer
A dereferencer ofURIReference
s.The result of dereferencing a
URIReference
is either an instance ofOctetStreamData
orNodeSetData
. Unless theURIReference
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 theURIReference
MUST be anOctetStreamData
.- Since:
- 1.6
- See Also:
-
XMLCryptoContext.setURIDereferencer(URIDereferencer)
,XMLCryptoContext.getURIDereferencer()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description Data
dereference(URIReference uriReference, XMLCryptoContext context)
Dereferences the specifiedURIReference
and returns the dereferenced data.
-
-
-
Method Detail
dereference
Data dereference(URIReference uriReference, XMLCryptoContext context) throws URIReferenceException
Dereferences the specifiedURIReference
and returns the dereferenced data.- Parameters:
-
uriReference
- theURIReference
-
context
- anXMLCryptoContext
that may contain additional useful information for dereferencing the URI. This implementation should dereference the specifiedURIReference
against the context'sbaseURI
parameter, if specified. - Returns:
- the dereferenced data
- Throws:
-
NullPointerException
- ifuriReference
orcontext
arenull
-
URIReferenceException
- if an exception occurs while dereferencing the specifieduriReference
-
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.