|
Botan
2.13.0
Crypto and TLS for C++11
|
#include <emsa_x931.h>
Public Member Functions | |
| EMSA * | clone () override |
| virtual AlgorithmIdentifier | config_for_x509 (const Private_Key &key, const std::string &cert_hash_name) const |
| EMSA_X931 (HashFunction *hash) | |
| std::string | name () const override |
EMSA from X9.31 (EMSA2 in IEEE 1363) Useful for Rabin-Williams, also sometimes used with RSA in odd protocols.
Definition at line 23 of file emsa_x931.h.
|
explicit |
| hash | the hash function to use |
Definition at line 92 of file emsa_x931.cpp.
References Botan::ieee1363_hash_id(), and Botan::HashFunction::name().
|
inlineoverridevirtual |
Implements Botan::EMSA.
Definition at line 31 of file emsa_x931.h.
References m_hash.
|
virtualinherited |
Prepare sig_algo for use in choose_sig_format for x509 certs
| key | used for checking compatibility with the encoding scheme |
| cert_hash_name | is checked to equal the hash for the encoding |
Reimplemented in Botan::EMSA_PKCS1v15, Botan::PSSR, and Botan::EMSA1.
Definition at line 38 of file emsa.cpp.
References Botan::EMSA::name().
|
overridevirtual |
Implements Botan::EMSA.
Definition at line 46 of file emsa_x931.cpp.
1.8.9.1