Qt Cryptographic Architecture
|
#include <QtCrypto>
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 |
![]() | |
![]() | |
virtual Context * | clone () const =0 |
Provider * | provider () const |
bool | sameProvider (const Context *c) const |
QString | type () const |
Additional Inherited Members | |
![]() | |
BasicContext (const BasicContext &from) | |
BasicContext (Provider *parent, const QString &type) | |
![]() | |
Context (const Context &from) | |
Context (Provider *parent, const QString &type) | |
Key derivation function provider.
|
inline |
Standard constructor.
p | the provider associated with this context |
type | the name of the KDF provided by this context (including algorithm) |
|
pure virtual |
Create a key and return it.
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 |
|
pure virtual |
Create a key and return it.
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 |