QCA::HashContext Class Reference
[QCA provider API]

Hash provider. More...

#include <QtCrypto>

Inheritance diagram for QCA::HashContext:

QCA::BasicContext QCA::Provider::Context Collaboration diagram for QCA::HashContext:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 HashContext (Provider *p, const QString &type)
virtual void clear ()=0
virtual void update (const MemoryRegion &a)=0
virtual MemoryRegion final ()=0

Detailed Description

Hash provider.

Note:
This class is part of the provider plugin interface and should not be used directly by applications. You probably want Hash instead.


Constructor & Destructor Documentation

QCA::HashContext::HashContext ( Provider p,
const QString type 
) [inline]

Standard constructor.


Member Function Documentation

virtual void QCA::HashContext::clear (  )  [pure virtual]

Reset the object to its initial state.

virtual void QCA::HashContext::update ( const MemoryRegion a  )  [pure virtual]

Process a chunk of data.

Parameters:
a the input data to process

virtual MemoryRegion QCA::HashContext::final (  )  [pure virtual]

Return the computed hash.


The documentation for this class was generated from the following file:
Generated on Tue Aug 28 08:22:32 2007 for Qt Cryptographic Architecture by  doxygen 1.5.2