Botan 3.8.0
Crypto and TLS for C&
|
#include <emsa_x931.h>
Public Member Functions | |
EMSA_X931 (std::unique_ptr< HashFunction > hash) | |
std::string | hash_function () const override |
std::string | name () const override |
Static Public Member Functions | |
static std::unique_ptr< EMSA > | create (std::string_view algo_spec) |
static std::unique_ptr< EMSA > | create_or_throw (std::string_view algo_spec) |
EMSA from X9.31 (EMSA2 in IEEE 1363) Useful for Rabin-Williams, also sometimes used with RSA in odd protocols.
Definition at line 21 of file emsa_x931.h.
|
explicit |
hash | the hash function to use |
Definition at line 89 of file emsa_x931.cpp.
References Botan::ieee1363_hash_id().
|
staticinherited |
Factory method for EMSA (message-encoding methods for signatures with appendix) objects
algo_spec | the name of the EMSA to create |
Definition at line 35 of file emsa.cpp.
References Botan::SCAN_Name::algo_name(), Botan::SCAN_Name::arg(), Botan::SCAN_Name::arg_as_integer(), Botan::SCAN_Name::arg_count(), Botan::SCAN_Name::arg_count_between(), and Botan::HashFunction::create().
Referenced by create_or_throw(), and ~EMSA().
|
staticinherited |
Factory method for EMSA (message-encoding methods for signatures with appendix) objects
algo_spec | the name of the EMSA to create |
Definition at line 135 of file emsa.cpp.
References create().
Referenced by ~EMSA().
|
inlineoverridevirtual |
Return the hash function being used by this padding scheme
Implements Botan::EMSA.
Definition at line 30 of file emsa_x931.h.
|
overridevirtual |
Implements Botan::EMSA.
Definition at line 53 of file emsa_x931.cpp.
References Botan::fmt().