Botan
1.10.16
|
#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::PK_Encryptor_Filter::end_msg().
|
inline |
|
pure virtual |
Return the maximum allowed message size in bytes.
Implemented in Botan::PK_Encryptor_EME.