Botan  1.11.15
Public Member Functions
Botan::PK_Decryptor Class Reference

#include <pubkey.h>

Inheritance diagram for Botan::PK_Decryptor:
Botan::DLIES_Decryptor Botan::PK_Decryptor_EME

List of all members.

Public Member Functions

secure_vector< bytedecrypt (const byte in[], size_t length) const
template<typename Alloc >
secure_vector< bytedecrypt (const std::vector< byte, Alloc > &in) const
PK_Decryptoroperator= (const PK_Decryptor &)
 PK_Decryptor ()
 PK_Decryptor (const PK_Decryptor &)
virtual ~PK_Decryptor ()

Detailed Description

Public Key Decryptor

Definition at line 88 of file pubkey.h.


Constructor & Destructor Documentation

Definition at line 113 of file pubkey.h.

{}
virtual Botan::PK_Decryptor::~PK_Decryptor ( ) [inline, virtual]

Definition at line 114 of file pubkey.h.

{}

Member Function Documentation

secure_vector<byte> Botan::PK_Decryptor::decrypt ( const byte  in[],
size_t  length 
) const [inline]

Decrypt a ciphertext.

Parameters:
inthe ciphertext as a byte array
lengththe length of the above byte array
Returns:
decrypted message

Definition at line 97 of file pubkey.h.

Referenced by Botan::KeyPair::encryption_consistency_check().

         {
         return dec(in, length);
         }
template<typename Alloc >
secure_vector<byte> Botan::PK_Decryptor::decrypt ( const std::vector< byte, Alloc > &  in) const [inline]

Decrypt a ciphertext.

Parameters:
inthe ciphertext
Returns:
decrypted message

Definition at line 108 of file pubkey.h.

         {
         return dec(&in[0], in.size());
         }
PK_Decryptor& Botan::PK_Decryptor::operator= ( const PK_Decryptor )

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