Virgil Security Crypto library  2.6.3
Classes | Public Member Functions | Static Public Member Functions | List of all members
virgil::crypto::primitive::VirgilOperationKDF Class Reference

Define proxy interface for the Key Derivation Function functionality. More...

#include <VirgilOperationKDF.h>

Public Member Functions

template<class Impl >
 VirgilOperationKDF (Impl impl)
 Captures implementation object. More...
 
VirgilByteArray derive (const VirgilByteArray &keyMaterial, const VirgilByteArray &salt, const VirgilByteArray &info, size_t size) const
 Derive key from the given key material and additional options. More...
 

Static Public Member Functions

static VirgilOperationKDF getDefault ()
 Return default implementation.
 

Detailed Description

Define proxy interface for the Key Derivation Function functionality.

Note
This is experimental feature.

Constructor & Destructor Documentation

template<class Impl >
virgil::crypto::primitive::VirgilOperationKDF::VirgilOperationKDF ( Impl  impl)
inline

Captures implementation object.

Template Parameters
Impl- class that contains functions that has identical signature to this class functions.
Parameters
impl- object that implements interface.

Member Function Documentation

VirgilByteArray virgil::crypto::primitive::VirgilOperationKDF::derive ( const VirgilByteArray keyMaterial,
const VirgilByteArray salt,
const VirgilByteArray info,
size_t  size 
) const
inline

Derive key from the given key material and additional options.

Parameters
keyMaterial- input sequence (key material).
salt- optional salt value (a non-secret random value).
info- optional context and application specific information.
size- size of the output sequence.
Returns
Output sequence.

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