Botan 3.9.0
Crypto and TLS for C&
|
#include <raw_sig_padding.h>
Public Member Functions | |
std::string | hash_function () const override |
std::string | name () const override |
SignRawBytes (size_t expected_hash_size=0) |
Static Public Member Functions | |
static std::unique_ptr< SignaturePaddingScheme > | create (std::string_view algo_spec) |
static std::unique_ptr< SignaturePaddingScheme > | create_or_throw (std::string_view algo_spec) |
This class sign inputs directly with no intermediate hashing or padding.
This is insecure unless used very carefully.
Definition at line 23 of file raw_sig_padding.h.
|
inlineexplicit |
Definition at line 25 of file raw_sig_padding.h.
|
staticinherited |
Factory method for SignaturePaddingScheme (message-encoding methods for signatures with appendix) objects
algo_spec | the name of the SignaturePaddingScheme to create |
Definition at line 35 of file sig_padding.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 ~SignaturePaddingScheme().
|
staticinherited |
Factory method for SignaturePaddingScheme (message-encoding methods for signatures with appendix) objects
algo_spec | the name of the SignaturePaddingScheme to create |
Definition at line 135 of file sig_padding.cpp.
References create().
Referenced by ~SignaturePaddingScheme().
|
inlineoverridevirtual |
Return the hash function being used by this padding scheme
Implements Botan::SignaturePaddingScheme.
Definition at line 27 of file raw_sig_padding.h.
|
overridevirtual |
Implements Botan::SignaturePaddingScheme.
Definition at line 16 of file raw_sig_padding.cpp.
References Botan::fmt().