Botan 2.19.1
Crypto and TLS for C&
|
#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.
|
inlineoverridevirtual |
Implements Botan::EMSA.
Definition at line 31 of file emsa_x931.h.
|
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::EMSA1, Botan::EMSA_PKCS1v15, and Botan::PSSR.
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.