Botan 2.19.3
Crypto and TLS for C&
|
#include <emsa1.h>
Public Member Functions | |
EMSA * | clone () override |
AlgorithmIdentifier | config_for_x509 (const Private_Key &key, const std::string &cert_hash_name) const override |
EMSA1 (HashFunction *hash) | |
std::string | name () const override |
|
inlineexplicit |
|
overridevirtual |
Implements Botan::EMSA.
Definition at line 51 of file emsa1.cpp.
|
overridevirtual |
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 from Botan::EMSA.
Definition at line 98 of file emsa1.cpp.
References Botan::Public_Key::algo_name(), Botan::Public_Key::algorithm_identifier(), Botan::OID::from_string(), Botan::AlgorithmIdentifier::get_parameters(), name(), and Botan::sig_algo_and_pad_ok().
|
overridevirtual |
Implements Botan::EMSA.
Definition at line 46 of file emsa1.cpp.
Referenced by config_for_x509().