Qt Cryptographic Architecture
Public Member Functions | List of all members
QCA::HKDFContext Class Referenceabstract

#include <QtCrypto>

Collaboration diagram for QCA::HKDFContext:
Collaboration graph
[legend]

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
 

Additional Inherited Members

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

Detailed Description

HKDF provider.

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

Constructor & Destructor Documentation

◆ HKDFContext()

QCA::HKDFContext::HKDFContext ( Provider p,
const QString &  type 
)
inline

Standard constructor.

Parameters
pthe provider associated with this context
typethe name of the HKDF provided by this context (including algorithm)

Member Function Documentation

◆ makeKey()

virtual SymmetricKey QCA::HKDFContext::makeKey ( const SecureArray secret,
const InitializationVector salt,
const InitializationVector info,
unsigned int  keyLength 
)
pure virtual

Create a key and return it.

Parameters
secretthe secret part (typically password)
saltthe salt / initialization vector
infothe info / initialization vector
keyLengththe length of the key to be produced

The documentation for this class was generated from the following file: