8#ifndef BOTAN_PSS_PARAMS_H_
9#define BOTAN_PSS_PARAMS_H_
11#include <botan/asn1_obj.h>
31 static PSS_Params from_padding_name(std::string_view padding_name);
39 static
PSS_Params from_emsa_name(std::string_view padding_name) {
40 return PSS_Params::from_padding_name(padding_name);
43 PSS_Params(std::string_view hash_fn,
size_t salt_len);
60 std::string
hash_function()
const {
return hash_algid().oid().to_formatted_string(); }
62 std::string
mgf_function()
const {
return mgf_algid().oid().to_formatted_string(); }
64 std::vector<uint8_t> serialize()
const;
76 size_t m_trailer_field;
#define BOTAN_PUBLIC_API(maj, min)
#define BOTAN_DEPRECATED(msg)
#define BOTAN_FUTURE_EXPLICIT
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 *)