QCA::KDFContext
QCA::KDFContext Class Referenceabstract
#include <QtCrypto>
Inheritance diagram for QCA::KDFContext:

Public Member Functions | |
KDFContext (Provider *p, const QString &type) | |
virtual SymmetricKey | makeKey (const SecureArray &secret, const InitializationVector &salt, unsigned int keyLength, int msecInterval, unsigned int *iterationCount)=0 |
virtual SymmetricKey | makeKey (const SecureArray &secret, const InitializationVector &salt, unsigned int keyLength, unsigned int iterationCount)=0 |
Additional Inherited Members | |
![]() | |
BasicContext (const BasicContext &from) | |
BasicContext (Provider *parent, const QString &type) | |
Detailed Description
Key derivation function provider
- Note
- This class is part of the provider plugin interface and should not be used directly by applications. You probably want KeyDerivationFunction instead.
Definition at line 361 of file qcaprovider.h.
Constructor & Destructor Documentation
◆ KDFContext()
Standard constructor.
- Parameters
-
p the provider associated with this context type the name of the KDF provided by this context (including algorithm)
Definition at line 371 of file qcaprovider.h.
Member Function Documentation
◆ makeKey() [1/2]
|
pure virtual |
Create a key and return it.
- Parameters
-
secret the secret part (typically password) salt the salt / initialization vector keyLength the length of the key to be produced msecInterval the maximum time to compute the key, in milliseconds iterationCount a pointer to store the number of iterations of the derivation algorithm
◆ makeKey() [2/2]
|
pure virtual |
Create a key and return it.
- Parameters
-
secret the secret part (typically password) salt the salt / initialization vector keyLength the length of the key to be produced iterationCount the number of iterations of the derivation algorithm
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 Thu Nov 30 2023 03:49:13 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Nov 30 2023 03:49:13 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.