QCA::HashContext

Search for usage in LXR

QCA::HashContext Class Referenceabstract

#include <QtCrypto>

Inheritance diagram for QCA::HashContext:

Public Member Functions

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

Additional Inherited Members

- Protected Member Functions inherited from QCA::BasicContext
 BasicContext (const BasicContext &from)
 
 BasicContext (Provider *parent, const QString &type)
 

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.

Definition at line 184 of file qcaprovider.h.

Constructor & Destructor Documentation

◆ HashContext()

QCA::HashContext::HashContext ( Provider * p,
const QString & type )
inline

Standard constructor.

Parameters
pthe provider associated with this context
typethe name of the type of hash provided by this context

Definition at line 194 of file qcaprovider.h.

Member Function Documentation

◆ clear()

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

Reset the object to its initial state.

◆ final()

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

Return the computed hash.

◆ update()

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

Process a chunk of data.

Parameters
athe input data to process

The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:18:26 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.