8 #ifndef BOTAN_PUBKEY_EMSA_H__
9 #define BOTAN_PUBKEY_EMSA_H__
11 #include <botan/secmem.h>
12 #include <botan/rng.h>
29 virtual void update(
const uint8_t input[],
size_t length) = 0;
58 virtual ~
EMSA() =
default;
63 virtual EMSA* clone() = 0;
81 BOTAN_DLL std::string
hash_for_emsa(
const std::string& algo_spec);
std::string hash_for_emsa(const std::string &algo_spec)
EMSA * get_emsa(const std::string &algo_spec)
std::vector< T, secure_allocator< T >> secure_vector