Botan 3.4.0
Crypto and TLS for C&
Public Member Functions | List of all members
Botan::PK_Ops::Encryption Class Referenceabstract

#include <pk_ops.h>

Inheritance diagram for Botan::PK_Ops::Encryption:
Botan::PK_Ops::Encryption_with_EME

Public Member Functions

virtual size_t ciphertext_length (size_t ptext_len) const =0
 
virtual secure_vector< uint8_t > encrypt (const uint8_t msg[], size_t msg_len, RandomNumberGenerator &rng)=0
 
virtual size_t max_input_bits () const =0
 
virtual ~Encryption ()=default
 

Detailed Description

Public key encryption interface

Definition at line 41 of file pk_ops.h.

Constructor & Destructor Documentation

◆ ~Encryption()

virtual Botan::PK_Ops::Encryption::~Encryption ( )
virtualdefault

Member Function Documentation

◆ ciphertext_length()

virtual size_t Botan::PK_Ops::Encryption::ciphertext_length ( size_t ptext_len) const
pure virtual

◆ encrypt()

virtual secure_vector< uint8_t > Botan::PK_Ops::Encryption::encrypt ( const uint8_t msg[],
size_t msg_len,
RandomNumberGenerator & rng )
pure virtual

◆ max_input_bits()

virtual size_t Botan::PK_Ops::Encryption::max_input_bits ( ) const
pure virtual

The documentation for this class was generated from the following file: