7#ifndef BOTAN_PK_OPTIONS_H_
8#define BOTAN_PK_OPTIONS_H_
10#include <botan/pk_keys.h>
190 std::optional<std::string> m_hash_fn;
191 std::optional<std::string> m_prehash;
192 std::optional<std::string> m_external_prehash;
193 std::optional<std::string> m_padding;
194 std::optional<std::vector<uint8_t>> m_context;
195 std::optional<std::string> m_provider;
196 std::optional<size_t> m_salt_size;
197 bool m_using_prehash =
false;
198 bool m_using_external_prehash =
false;
199 bool m_use_der =
false;
200 bool m_deterministic_sig =
false;
201 bool m_explicit_trailer_field =
false;
274 std::optional<std::string> m_padding;
275 std::optional<std::string> m_hash_fn;
276 std::optional<std::string> m_mgf1_hash_fn;
277 std::optional<std::vector<uint8_t>> m_context;
278 std::optional<std::string> m_provider;
335 std::optional<std::string> m_kdf;
336 bool m_raw_shared_key =
false;
337 std::optional<std::string> m_provider;
393 std::optional<std::string> m_kdf;
394 bool m_raw_shared_key =
false;
395 std::optional<std::string> m_provider;
#define BOTAN_PUBLIC_API(maj, min)
PK_Encryption_Options with_padding(std::string_view padding)
PK_Encryption_Options()=default
PK_Encryption_Options & operator=(const PK_Encryption_Options &other)=default
PK_Encryption_Options & operator=(PK_Encryption_Options &&other)=default
PK_Encryption_Options with_hash(std::string_view hash)
PK_Encryption_Options with_mgf1_hash(std::string_view hash)
PK_Encryption_Options with_context(std::span< const uint8_t > context)
std::string to_string() const
PK_Encryption_Options(const PK_Encryption_Options &)=default
friend class PK_Encryption_Options_Reader
PK_Encryption_Options with_provider(std::string_view provider)
PK_Encryption_Options(PK_Encryption_Options &&other)=default
PK_KEM_Options(PK_KEM_Options &&other)=default
PK_KEM_Options(const PK_KEM_Options &)=default
PK_KEM_Options with_provider(std::string_view provider)
PK_KEM_Options with_kdf(std::string_view kdf)
friend class PK_KEM_Options_Reader
PK_KEM_Options & operator=(const PK_KEM_Options &other)=default
std::string to_string() const
PK_KEM_Options & operator=(PK_KEM_Options &&other)=default
PK_KEM_Options with_raw_shared_key()
PK_Key_Agreement_Options(PK_Key_Agreement_Options &&other)=default
~PK_Key_Agreement_Options()
std::string to_string() const
PK_Key_Agreement_Options(const PK_Key_Agreement_Options &)=default
PK_Key_Agreement_Options with_provider(std::string_view provider)
PK_Key_Agreement_Options & operator=(const PK_Key_Agreement_Options &other)=default
PK_Key_Agreement_Options with_kdf(std::string_view kdf)
friend class PK_Key_Agreement_Options_Reader
PK_Key_Agreement_Options()=default
PK_Key_Agreement_Options & operator=(PK_Key_Agreement_Options &&other)=default
PK_Key_Agreement_Options with_raw_shared_key()
PK_Signature_Options with_explicit_trailer_field(bool trailer=true)
PK_Signature_Options & operator=(PK_Signature_Options &&other)=default
PK_Signature_Options with_deterministic_signature(bool deterministic=true)
friend class PK_Signature_Options_Reader
PK_Signature_Options with_padding(std::string_view padding)
PK_Signature_Options with_hash(std::string_view hash)
PK_Signature_Options with_der_encoded_signature(bool der=true)
PK_Signature_Options with_salt_size(size_t salt_size)
PK_Signature_Options with_prehash(std::optional< std::string > prehash=std::nullopt)
PK_Signature_Options(PK_Signature_Options &&other)=default
std::string to_string() const
PK_Signature_Options & operator=(const PK_Signature_Options &other)=default
PK_Signature_Options()=default
PK_Signature_Options with_provider(std::string_view provider)
PK_Signature_Options(const PK_Signature_Options &)=default
PK_Signature_Options with_context(std::span< const uint8_t > context)
PK_Signature_Options with_externally_computed_prehash(std::optional< std::string > hash=std::nullopt)