#include <pk_ops.h>
Public key encryption interface
Definition at line 41 of file pk_ops.h.
◆ ~Encryption()
| virtual Botan::PK_Ops::Encryption::~Encryption |
( |
| ) |
|
|
virtualdefault |
◆ ciphertext_length()
| virtual size_t Botan::PK_Ops::Encryption::ciphertext_length |
( |
size_t | ptext_len | ) |
const |
|
pure virtual |
Given the plaintext length, return an upper bound of the ciphertext length for this key and padding.
◆ encrypt()
| virtual std::vector< uint8_t > Botan::PK_Ops::Encryption::encrypt |
( |
std::span< const uint8_t > | msg, |
|
|
RandomNumberGenerator & | rng ) |
|
pure virtual |
Encrypt a message returning the ciphertext
◆ max_input_bits()
| virtual size_t Botan::PK_Ops::Encryption::max_input_bits |
( |
| ) |
const |
|
pure virtual |
Return the maximum input size for this key
The documentation for this class was generated from the following file: