Botan
1.10.9
|
#include <pubkey.h>
Public Member Functions | |
SecureVector< byte > | encrypt (const byte in[], size_t length, RandomNumberGenerator &rng) const |
SecureVector< byte > | encrypt (const MemoryRegion< byte > &in, RandomNumberGenerator &rng) const |
virtual size_t | maximum_input_size () const =0 |
PK_Encryptor () | |
virtual | ~PK_Encryptor () |
|
inlinevirtual |
|
inline |
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::Client_Key_Exchange::Client_Key_Exchange(), Botan::KeyPair::encryption_consistency_check(), and Botan::PK_Encryptor_Filter::end_msg().
|
inline |
Encrypt a message.
in | the message |
rng | the random number source to use |
Definition at line 60 of file pubkey.h.
References rng, and Botan::MemoryRegion< T >::size().
|
pure virtual |
Return the maximum allowed message size in bytes.
Implemented in Botan::PK_Encryptor_EME.