Botan
1.10.9
|
#include <dsa.h>
Public Member Functions | |
DSA_Verification_Operation (const DSA_PublicKey &dsa) | |
size_t | max_input_bits () const |
size_t | message_part_size () const |
size_t | message_parts () const |
bool | verify (const byte msg[], size_t msg_len, const byte sig[], size_t sig_len) |
virtual SecureVector< byte > | verify_mr (const byte[], size_t) |
bool | with_recovery () const |
Botan::DSA_Verification_Operation::DSA_Verification_Operation | ( | const DSA_PublicKey & | dsa | ) |
Definition at line 102 of file dsa.cpp.
References Botan::DL_Scheme_PublicKey::group_g(), Botan::DL_Scheme_PublicKey::group_p(), and Botan::DL_Scheme_PublicKey::group_q().
|
inlinevirtual |
Get the maximum message size in bits supported by this public key.
Implements Botan::PK_Ops::Verification.
Definition at line 91 of file dsa.h.
|
inlinevirtual |
Find out the message part size supported by this scheme/key.
Reimplemented from Botan::PK_Ops::Verification.
Definition at line 90 of file dsa.h.
|
inlinevirtual |
Find out the number of message parts supported by this scheme.
Reimplemented from Botan::PK_Ops::Verification.
|
virtual |
Reimplemented from Botan::PK_Ops::Verification.
Definition at line 111 of file dsa.cpp.
References Botan::BigInt::bytes(), Botan::Modular_Reducer::get_modulus(), Botan::inverse_mod(), Botan::Modular_Reducer::multiply(), r, Botan::Modular_Reducer::reduce(), and s.
|
inlinevirtualinherited |
Reimplemented in Botan::RSA_Public_Operation, Botan::RW_Verification_Operation, and Botan::NR_Verification_Operation.
|
inlinevirtual |
Implements Botan::PK_Ops::Verification.