Botan
2.1.0
Crypto and TLS for C++11
|
#include <pubkey.h>
Public Member Functions | |
SymmetricKey | derive_key (size_t key_len, const uint8_t in[], size_t in_len, const uint8_t params[], size_t params_len) const |
SymmetricKey | derive_key (size_t key_len, const std::vector< uint8_t > &in, const uint8_t params[], size_t params_len) const |
SymmetricKey | derive_key (size_t key_len, const uint8_t in[], size_t in_len, const std::string ¶ms="") const |
SymmetricKey | derive_key (size_t key_len, const std::vector< uint8_t > &in, const std::string ¶ms="") const |
PK_Key_Agreement & | operator= (PK_Key_Agreement &&) |
PK_Key_Agreement & | operator= (const PK_Key_Agreement &)=delete |
PK_Key_Agreement (const Private_Key &key, RandomNumberGenerator &rng, const std::string &kdf, const std::string &provider="") | |
PK_Key_Agreement (PK_Key_Agreement &&) | |
PK_Key_Agreement (const PK_Key_Agreement &)=delete | |
~PK_Key_Agreement () | |
Botan::PK_Key_Agreement::PK_Key_Agreement | ( | const Private_Key & | key, |
RandomNumberGenerator & | rng, | ||
const std::string & | kdf, | ||
const std::string & | provider = "" |
||
) |
Construct a PK Key Agreement.
key | the key to use |
rng | the random generator to use |
kdf | name of the KDF to use (or 'Raw' for no KDF) |
provider | the algo provider to use (or empty for default) |
Definition at line 177 of file pubkey.cpp.
References Botan::Public_Key::algo_name(), and Botan::Private_Key::create_key_agreement_op().
Botan::PK_Key_Agreement::~PK_Key_Agreement | ( | ) |
Definition at line 187 of file pubkey.cpp.
Botan::PK_Key_Agreement::PK_Key_Agreement | ( | PK_Key_Agreement && | other | ) |
Definition at line 198 of file pubkey.cpp.
|
delete |
SymmetricKey Botan::PK_Key_Agreement::derive_key | ( | size_t | key_len, |
const uint8_t | in[], | ||
size_t | in_len, | ||
const uint8_t | params[], | ||
size_t | params_len | ||
) | const |
Definition at line 202 of file pubkey.cpp.
Referenced by Botan::TLS::Client_Key_Exchange::Client_Key_Exchange(), and Botan::ECIES_KA_Operation::derive_secret().
|
inline |
Definition at line 462 of file pubkey.h.
|
inline |
Definition at line 478 of file pubkey.h.
|
inline |
Definition at line 493 of file pubkey.h.
PK_Key_Agreement & Botan::PK_Key_Agreement::operator= | ( | PK_Key_Agreement && | other | ) |
Definition at line 189 of file pubkey.cpp.
|
delete |