QCA::HKDFContext

QCA::HKDFContext Class Referenceabstract

#include <QtCrypto>

Inheritance diagram for QCA::HKDFContext:

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 (Provider *parent, const QString &type)
 
 BasicContext (const BasicContext &from)
 

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.

Definition at line 415 of file qcaprovider.h.

Constructor & Destructor Documentation

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)

Definition at line 425 of file qcaprovider.h.

Member Function Documentation

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:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Wed Oct 28 2020 23:08:43 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.