8 #ifndef BOTAN_PUBKEY_EMSA_H_
9 #define BOTAN_PUBKEY_EMSA_H_
11 #include <botan/secmem.h>
12 #include <botan/asn1_obj.h>
20 class RandomNumberGenerator;
30 virtual ~
EMSA() =
default;
37 virtual void update(
const uint8_t input[],
size_t length) = 0;
75 const std::string& cert_hash_name)
const;
80 virtual EMSA* clone() = 0;
85 virtual std::string
name()
const = 0;
#define BOTAN_PUBLIC_API(maj, min)
std::vector< T, secure_allocator< T >> secure_vector
std::string hash_for_emsa(const std::string &algo_spec)
int(* update)(CTX *, const void *, CC_LONG len)
EMSA * get_emsa(const std::string &algo_spec)
#define BOTAN_FUTURE_INTERNAL_HEADER(hdr)