| Botan
    1.10.16
    | 
#include <emsa3.h>
 
  
 | Public Member Functions | |
| EMSA3 (HashFunction *hash) | |
| SecureVector< byte > | encoding_of (const MemoryRegion< byte > &, size_t, RandomNumberGenerator &rng) | 
| SecureVector< byte > | raw_data () | 
| void | update (const byte[], size_t) | 
| bool | verify (const MemoryRegion< byte > &, const MemoryRegion< byte > &, size_t) | 
| ~EMSA3 () | |
EMSA3 from IEEE 1363 aka PKCS #1 v1.5 signature padding aka PKCS #1 block type 1
| Botan::EMSA3::EMSA3 | ( | HashFunction * | hash | ) | 
| hash | the hash object to use | 
Definition at line 94 of file emsa3.cpp.
References Botan::Algorithm::name(), and Botan::pkcs_hash_id().
| 
 | 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 | 
Implements Botan::EMSA.
Definition at line 59 of file emsa3.cpp.
References Botan::Buffered_Computation::output_length(), and Botan::MemoryRegion< T >::size().
| 
 | virtual | 
Implements Botan::EMSA.
Definition at line 51 of file emsa3.cpp.
References Botan::Buffered_Computation::final().
| 
 | virtual | 
Add more data to the signature computation
| input | some data | 
| length | length of input in bytes | 
Implements Botan::EMSA.
Definition at line 43 of file emsa3.cpp.
References Botan::Buffered_Computation::update().
| 
 | 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 | 
Implements Botan::EMSA.
Definition at line 73 of file emsa3.cpp.
References Botan::Buffered_Computation::output_length(), and Botan::MemoryRegion< T >::size().
 1.8.13
 1.8.13