Botan
1.10.17
|
#include <dlies.h>
Public Member Functions | |
DLIES_Encryptor (const PK_Key_Agreement_Key &, KDF *kdf, MessageAuthenticationCode *mac, size_t mac_key_len=20) | |
SecureVector< byte > | encrypt (const byte in[], size_t length, RandomNumberGenerator &rng) const |
SecureVector< byte > | encrypt (const MemoryRegion< byte > &in, RandomNumberGenerator &rng) const |
void | set_other_key (const MemoryRegion< byte > &) |
~DLIES_Encryptor () | |
Botan::DLIES_Encryptor::DLIES_Encryptor | ( | const PK_Key_Agreement_Key & | key, |
KDF * | kdf, | ||
MessageAuthenticationCode * | mac, | ||
size_t | mac_key_len = 20 |
||
) |
Botan::DLIES_Encryptor::~DLIES_Encryptor | ( | ) |
|
inlineinherited |
Encrypt a message.
in | the message as a byte array |
length | the length of the above byte array |
rng | the random number source to use |
Definition at line 48 of file pubkey.h.
Referenced by Botan::PK_Encryptor_Filter::end_msg().
|
inlineinherited |
void Botan::DLIES_Encryptor::set_other_key | ( | const MemoryRegion< byte > & | ok | ) |