DWFToolkit::DWFSignature::DigestMethod Class Reference

#include "dwf/package/Signature.h"

Inheritance diagram for DWFToolkit::DWFSignature::DigestMethod:

Inheritance graph
[legend]
List of all members.

Detailed Description

a DigestMethod ...

Since:
7.3.0
A DigestMethod ...

Definition at line 115 of file Signature.h.

Public Member Functions

_DWFTK_API DigestMethod () throw ()
virtual _DWFTK_API ~DigestMethod () throw ()
virtual _DWFTK_API const wchar_t * algorithmName () const =0
virtual _DWFTK_API const DWFCryptoEngine::teType algorithmIdentifier () const =0
virtual _DWFTK_API DWFDigestOutputStreamchainOutputStream (DWFOutputStream *pStream, bool bOwnStream) const =0 throw ( DWFException )
virtual _DWFTK_API DWFDigestInputStreamchainInputStream (DWFInputStream *pStream, bool bOwnStream) const =0 throw ( DWFException )


Constructor & Destructor Documentation

_DWFTK_API DWFToolkit::DWFSignature::DigestMethod::DigestMethod  )  throw () [inline]
 

Constructor

Exceptions:
None 

Definition at line 124 of file Signature.h.

virtual _DWFTK_API DWFToolkit::DWFSignature::DigestMethod::~DigestMethod  )  throw () [inline, virtual]
 

Destructor

Exceptions:
None 

Definition at line 134 of file Signature.h.


Member Function Documentation

virtual _DWFTK_API const DWFCryptoEngine::teType DWFToolkit::DWFSignature::DigestMethod::algorithmIdentifier  )  const [pure virtual]
 

An internal identifier of the algorithm used by this digest method.

Returns:
The algorithm identifier.
Exceptions:
None 

Implemented in DWFToolkit::DWFSignature::DigestMethodSHA1, and DWFToolkit::DWFSignature::DigestMethodMD5.

virtual _DWFTK_API const wchar_t* DWFToolkit::DWFSignature::DigestMethod::algorithmName  )  const [pure virtual]
 

The public name of the algorithm used by this digest method.

Returns:
The algorithm name.
Exceptions:
None 

Implemented in DWFToolkit::DWFSignature::DigestMethodSHA1, and DWFToolkit::DWFSignature::DigestMethodMD5.

virtual _DWFTK_API DWFDigestInputStream* DWFToolkit::DWFSignature::DigestMethod::chainInputStream DWFInputStream pStream,
bool  bOwnStream
const throw ( DWFException ) [pure virtual]
 

Given an input stream, create a new DWFDigestInputStream, chain the given stream to the new stream, and return the new stream.

This allows for the calculation of a digest value as input is passing through the stream.

Parameters:
pStream The stream to be digested.
bOwnStream Indicates if the digest stream should take ownership of the lifetime of the pStream argument.
Returns:
The new stream.
Exceptions:
None 

Implemented in DWFToolkit::DWFSignature::DigestMethodSHA1, and DWFToolkit::DWFSignature::DigestMethodMD5.

virtual _DWFTK_API DWFDigestOutputStream* DWFToolkit::DWFSignature::DigestMethod::chainOutputStream DWFOutputStream pStream,
bool  bOwnStream
const throw ( DWFException ) [pure virtual]
 

Given an output stream, create a new DWFDigestOutputStream, chain the given stream to the new stream, and return the new stream.

This allows for the calculation of a digest value as output is passing through the stream.

Parameters:
pStream The stream to be digested.
bOwnStream Indicates if the digest stream should take ownership of the lifetime of the pStream argument.
Returns:
The new stream.
Exceptions:
None 

Implemented in DWFToolkit::DWFSignature::DigestMethodSHA1, and DWFToolkit::DWFSignature::DigestMethodMD5.


The documentation for this class was generated from the following file:
Generated on Tue Jan 6 22:40:34 2009 for Autodesk DWF Toolkit by  doxygen 1.4.5