8#ifndef BOTAN_PSS_PARAMS_H_
9#define BOTAN_PSS_PARAMS_H_
11#include <botan/asn1_obj.h>
31 static PSS_Params from_emsa_name(std::string_view emsa_name);
33 PSS_Params(std::string_view hash_fn,
size_t salt_len);
50 std::string
hash_function()
const {
return hash_algid().oid().to_formatted_string(); }
52 std::string
mgf_function()
const {
return mgf_algid().oid().to_formatted_string(); }
54 std::vector<uint8_t> serialize()
const;
66 size_t m_trailer_field;
#define BOTAN_PUBLIC_API(maj, min)
size_t trailer_field() const
size_t salt_length() const
const AlgorithmIdentifier & hash_algid() const
const AlgorithmIdentifier & mgf_algid() const
std::string mgf_function() const
std::string hash_function() const
const AlgorithmIdentifier & mgf_hash_algid() const
int(* final)(unsigned char *, CTX *)