Botan 2.19.1
Crypto and TLS for C&
|
#include <pssr.h>
Public Member Functions | |
EMSA * | clone () override |
AlgorithmIdentifier | config_for_x509 (const Private_Key &key, const std::string &cert_hash_name) const override |
std::string | name () const override |
PSSR (HashFunction *hash) | |
PSSR (HashFunction *hash, size_t salt_size) | |
PSSR (called EMSA4 in IEEE 1363 and in old versions of the library)
|
explicit |
Botan::PSSR::PSSR | ( | HashFunction * | hash, |
size_t | salt_size | ||
) |
|
overridevirtual |
Implements Botan::EMSA.
Definition at line 182 of file pssr.cpp.
References PSSR().
|
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 192 of file pssr.cpp.
References Botan::Public_Key::algo_name(), Botan::ASN1_Object::BER_encode(), Botan::CONTEXT_SPECIFIC, Botan::DER_Encoder::encode(), Botan::DER_Encoder::end_cons(), Botan::SEQUENCE, Botan::sig_algo_and_pad_ok(), Botan::DER_Encoder::start_cons(), and Botan::AlgorithmIdentifier::USE_NULL_PARAM.
|
overridevirtual |
Implements Botan::EMSA.
Definition at line 187 of file pssr.cpp.
References Botan::ASN1::to_string().