#include <XSECURIResolver.hpp>
Inheritance diagram for XSECURIResolver:
The XML Digital Signature standard makes heavy use of URIs to identify information to be referenced and signed.
The library internally handles reference URIs within the document that contains the signature, but uses URIResolver classes to dereference a URI into a byte stream that can then be processed.
The interface class allows others to re-implement and install their own resolves according to their needs. The basic implementations found in the library are just that - very basic. Enough to do the job for interoperability testing, but not enough to provide robustness in a major application.
Public Member Functions | |
Constructors and Destructors | |
XSECURIResolver () | |
virtual | ~XSECURIResolver () |
Interface Methods | |
virtual XERCES_CPP_NAMESPACE_QUALIFIER BinInputStream * | resolveURI (const XMLCh *uri)=0 |
Create a BYTE_STREAM from a URI. | |
virtual XSECURIResolver * | clone (void)=0 |
Clone the resolver to be installed in a new object. |
|
|
|
|
|
Clone the resolver to be installed in a new object. When URIResolvers are passed into signatures and other objects, they are cloned and control of the original object is left with the caller. Implemented in XSECURIResolverXerces, XSECURIResolverGenericUnix, and XSECURIResolverGenericWin32. |
|
Create a BYTE_STREAM from a URI. The resolver is required to take the input URI and dereference it to an actual stream of octets. The octets are provided back to the library using the Xerces BinInputStream class.
Implemented in XSECURIResolverXerces, XSECURIResolverGenericUnix, and XSECURIResolverGenericWin32. |