|
Botan 1.10.17
|
#include <rsa.h>
Public Member Functions | |
| SecureVector< byte > | decrypt (const byte msg[], size_t msg_len) |
| size_t | max_input_bits () const |
| virtual size_t | message_part_size () const |
| virtual size_t | message_parts () const |
| RSA_Private_Operation (const RSA_PrivateKey &rsa) | |
| SecureVector< byte > | sign (const byte msg[], size_t msg_len, RandomNumberGenerator &rng) |
| Botan::RSA_Private_Operation::RSA_Private_Operation | ( | const RSA_PrivateKey & | rsa | ) |
Definition at line 63 of file rsa.cpp.
References Botan::Blinder::Blinder(), Botan::global_state(), and Botan::inverse_mod().
Referenced by Botan::Core_Engine::get_decryption_op(), and Botan::Core_Engine::get_signature_op().
|
virtual |
Implements Botan::PK_Ops::Decryption.
Definition at line 107 of file rsa.cpp.
References BOTAN_ASSERT, and Botan::BigInt::encode().
|
inlinevirtual |
Get the maximum message size in bits supported by this public key.
Implements Botan::PK_Ops::Signature.
Definition at line 95 of file rsa.h.
|
inlinevirtualinherited |
Find out the message part size supported by this scheme/key.
Reimplemented in Botan::DSA_Signature_Operation, Botan::ECDSA_Signature_Operation, and Botan::NR_Signature_Operation.
Definition at line 62 of file pk_ops.h.
|
inlinevirtualinherited |
Find out the number of message parts supported by this scheme.
Reimplemented in Botan::DSA_Signature_Operation, Botan::ECDSA_Signature_Operation, and Botan::NR_Signature_Operation.
Definition at line 56 of file pk_ops.h.
|
virtual |
Implements Botan::PK_Ops::Signature.
Definition at line 90 of file rsa.cpp.
References Botan::BigInt::bytes(), and Botan::BigInt::encode_1363().