QCA::MACContext
QCA::MACContext Class Referenceabstract
#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 |
![]() | |
BasicContext (const BasicContext &from) | |
BasicContext (Provider *parent, const QString &type) | |
Detailed Description
Message authentication code provider
- Note
- This class is part of the provider plugin interface and should not be used directly by applications. You probably want MessageAuthenticationCode instead.
- Examples
- aes-cmac.cpp.
Definition at line 297 of file qcaprovider.h.
Constructor & Destructor Documentation
◆ MACContext()
Standard constructor.
- Parameters
-
p the provider associated with this context type the name of the type of MAC algorithm provided by this context
Definition at line 306 of file qcaprovider.h.
Member Function Documentation
◆ anyKeyLength()
|
inlineprotected |
Returns a KeyLength that supports any length.
Definition at line 341 of file qcaprovider.h.
◆ final()
|
pure virtual |
Compute the result after processing all data.
- Parameters
-
out pointer to an array that should store the result
◆ keyLength()
|
pure virtual |
Returns the KeyLength for this MAC algorithm.
- Examples
- aes-cmac.cpp.
◆ setup()
|
pure virtual |
◆ update()
|
pure virtual |
The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sat Dec 9 2023 03:47:45 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sat Dec 9 2023 03:47:45 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.