|
Qt Cryptographic Architecture
|
#include <QtCrypto>

Public Member Functions | |
| HKDFContext (Provider *p, const QString &type) | |
| virtual SymmetricKey | makeKey (const SecureArray &secret, const InitializationVector &salt, const InitializationVector &info, unsigned int keyLength)=0 |
| Public Member Functions inherited from QCA::Provider::Context | |
| virtual Context * | clone () const =0 |
| Provider * | provider () const |
| bool | sameProvider (const Context *c) const |
| QString | type () const |
Additional Inherited Members | |
| Protected Member Functions inherited from QCA::BasicContext | |
| BasicContext (const BasicContext &from) | |
| BasicContext (Provider *parent, const QString &type) | |
| Protected Member Functions inherited from QCA::Provider::Context | |
| Context (const Context &from) | |
| Context (Provider *parent, const QString &type) | |
HKDF provider.
|
inline |
Standard constructor.
| p | the provider associated with this context |
| type | the name of the HKDF provided by this context (including algorithm) |
References QCA::BasicContext::BasicContext(), and QCA::Provider::Context::type().
|
pure virtual |
Create a key and return it.
| secret | the secret part (typically password) |
| salt | the salt / initialization vector |
| info | the info / initialization vector |
| keyLength | the length of the key to be produced |