Search for usage in LXR

#include <QtCrypto>

Inheritance diagram for QCA::MACContext:

Public Member Functions

 MACContext (Provider *p, const QString &type)
virtual void final (MemoryRegion *out)=0
virtual KeyLength keyLength () const =0
virtual void setup (const SymmetricKey &key)=0
virtual void update (const MemoryRegion &in)=0

Protected Member Functions

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

Detailed Description

Message authentication code provider.

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

Definition at line 297 of file qcaprovider.h.

Constructor & Destructor Documentation

◆ MACContext()

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

Standard constructor.

pthe provider associated with this context
typethe name of the type of MAC algorithm provided by this context

Definition at line 306 of file qcaprovider.h.

Member Function Documentation

◆ anyKeyLength()

KeyLength QCA::MACContext::anyKeyLength ( ) const

Returns a KeyLength that supports any length.

Definition at line 341 of file qcaprovider.h.

◆ final()

virtual void QCA::MACContext::final ( MemoryRegion * out)
pure virtual

Compute the result after processing all data.

outpointer to an array that should store the result

◆ keyLength()

virtual KeyLength QCA::MACContext::keyLength ( ) const
pure virtual

Returns the KeyLength for this MAC algorithm.

◆ setup()

virtual void QCA::MACContext::setup ( const SymmetricKey & key)
pure virtual

Set up the object for hashing.

keythe key to use with the MAC.

◆ update()

virtual void QCA::MACContext::update ( const MemoryRegion & in)
pure virtual

Process a chunk of data.

inthe 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 Fri May 24 2024 11:53:51 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.