26 explicit EMSA_X931(std::unique_ptr<HashFunction> hash);
28 std::string
name()
const override;
33 void update(
const uint8_t[],
size_t)
override;
34 std::vector<uint8_t> raw_data()
override;
36 std::vector<uint8_t> encoding_of(
const std::vector<uint8_t>&,
size_t,
RandomNumberGenerator& rng)
override;
38 bool verify(
const std::vector<uint8_t>&,
const std::vector<uint8_t>&,
size_t)
override;
40 std::vector<uint8_t> m_empty_hash;
41 std::unique_ptr<HashFunction> m_hash;