Botan
1.11.15
|
#include <pubkey.h>
Public Member Functions | |
secure_vector< byte > | decrypt (const byte in[], size_t length) const |
template<typename Alloc > | |
secure_vector< byte > | decrypt (const std::vector< byte, Alloc > &in) const |
PK_Decryptor & | operator= (const PK_Decryptor &) |
PK_Decryptor () | |
PK_Decryptor (const PK_Decryptor &) | |
virtual | ~PK_Decryptor () |
Botan::PK_Decryptor::PK_Decryptor | ( | ) | [inline] |
virtual Botan::PK_Decryptor::~PK_Decryptor | ( | ) | [inline, virtual] |
Botan::PK_Decryptor::PK_Decryptor | ( | const PK_Decryptor & | ) |
secure_vector<byte> Botan::PK_Decryptor::decrypt | ( | const byte | in[], |
size_t | length | ||
) | const [inline] |
Decrypt a ciphertext.
in | the ciphertext as a byte array |
length | the length of the above byte array |
Definition at line 97 of file pubkey.h.
Referenced by Botan::KeyPair::encryption_consistency_check().
{
return dec(in, length);
}
secure_vector<byte> Botan::PK_Decryptor::decrypt | ( | const std::vector< byte, Alloc > & | in | ) | const [inline] |
PK_Decryptor& Botan::PK_Decryptor::operator= | ( | const PK_Decryptor & | ) |