Botan
1.10.9
|
#include <emsa.h>
Public Member Functions | |
virtual SecureVector< byte > | encoding_of (const MemoryRegion< byte > &msg, size_t output_bits, RandomNumberGenerator &rng)=0 |
virtual SecureVector< byte > | raw_data ()=0 |
virtual void | update (const byte input[], size_t length)=0 |
virtual bool | verify (const MemoryRegion< byte > &coded, const MemoryRegion< byte > &raw, size_t key_bits)=0 |
virtual | ~EMSA () |
|
pure virtual |
Return the encoding of a message
msg | the result of raw_data() |
output_bits | the desired output bit size |
rng | a random number generator |
Implemented in Botan::EMSA3_Raw, and Botan::EMSA3.
Referenced by Botan::PK_Signer::signature().
|
pure virtual |
Implemented in Botan::EMSA3_Raw, and Botan::EMSA3.
Referenced by Botan::PK_Verifier::check_signature(), and Botan::PK_Signer::signature().
|
pure virtual |
Add more data to the signature computation
input | some data |
length | length of input in bytes |
Implemented in Botan::EMSA3_Raw, and Botan::EMSA3.
Referenced by Botan::PK_Signer::update(), and Botan::PK_Verifier::update().
|
pure virtual |
Verify the encoding
coded | the received (coded) message representative |
raw | the computed (local, uncoded) message representative |
key_bits | the size of the key in bits |
Implemented in Botan::EMSA3_Raw, and Botan::EMSA3.