Main Page | Modules | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

XSECURIResolverGenericUnix Class Reference
[Main Signature API]

#include <XSECURIResolverGenericUnix.hpp>

Inheritance diagram for XSECURIResolverGenericUnix:

Inheritance graph
[legend]
Collaboration diagram for XSECURIResolverGenericUnix:

Collaboration graph
[legend]
List of all members.

Detailed Description

Generic UNIX URI Resolver.

The XML Digital Signature standard makes heavy use of URIs to identify information to be referenced and signed.

This class implements the XSECURIResolver for UNIX, re-using much of the Xerces code.

Todo:
Implement a "pluggable" URI resolver that allows developers to plug in different classes for different schemes


Public Member Functions

Constructors and Destructors
 XSECURIResolverGenericUnix ()
virtual ~XSECURIResolverGenericUnix ()
Interface Methods
virtual XERCES_CPP_NAMESPACE_QUALIFIER
BinInputStream * 
resolveURI (const XMLCh *uri)
 Create a BYTE_STREAM from a URI.
virtual XSECURIResolverclone (void)
 Clone the resolver to be installed in a new object.
Class specific functions
void setBaseURI (const XMLCh *uri)
 Set the base URI for relative URIs.


Constructor & Destructor Documentation

XSECURIResolverGenericUnix::XSECURIResolverGenericUnix  ) 
 

virtual XSECURIResolverGenericUnix::~XSECURIResolverGenericUnix  )  [virtual]
 


Member Function Documentation

virtual XSECURIResolver* XSECURIResolverGenericUnix::clone void   )  [virtual]
 

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.

Implements XSECURIResolver.

virtual XERCES_CPP_NAMESPACE_QUALIFIER BinInputStream* XSECURIResolverGenericUnix::resolveURI const XMLCh *  uri  )  [virtual]
 

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.

Note:
The returned stream is "owned" by the caller, which will delete it when processing is complete.
Parameters:
uri The string containing the URI to be de-referenced.
Returns:
The octet stream corresponding to the URI.

Implements XSECURIResolver.

void XSECURIResolverGenericUnix::setBaseURI const XMLCh *  uri  ) 
 

Set the base URI for relative URIs.


The documentation for this class was generated from the following file:
Generated on Sun Jul 3 17:46:04 2005 for XML-Security-C by  doxygen 1.4.2