Botan
2.1.0
Crypto and TLS for C++11
|
#include <emsa_pkcs1.h>
Public Member Functions | |
EMSA * | clone () override |
secure_vector< uint8_t > | encoding_of (const secure_vector< uint8_t > &, size_t, RandomNumberGenerator &rng) override |
secure_vector< uint8_t > | raw_data () override |
void | update (const uint8_t[], size_t) override |
bool | verify (const secure_vector< uint8_t > &, const secure_vector< uint8_t > &, size_t) override |
EMSA_PKCS1v15_Raw which is EMSA_PKCS1v15 without a hash or digest id (which according to QCA docs is "identical to PKCS#11's CKM_RSA_PKCS mechanism", something I have not confirmed)
Definition at line 50 of file emsa_pkcs1.h.
|
inlineoverridevirtual |
Implements Botan::EMSA.
Definition at line 53 of file emsa_pkcs1.h.
|
overridevirtual |
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 101 of file emsa_pkcs1.cpp.
|
overridevirtual |
|
overridevirtual |
Add more data to the signature computation
input | some data |
length | length of input in bytes |
Implements Botan::EMSA.
Definition at line 88 of file emsa_pkcs1.cpp.
|
overridevirtual |
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 108 of file emsa_pkcs1.cpp.