12#ifndef BOTAN_SPHINCS_PLUS_H_
13#define BOTAN_SPHINCS_PLUS_H_
15#include <botan/pk_keys.h>
16#include <botan/sp_parameters.h>
23class SphincsPlus_PublicKeyInternal;
24class SphincsPlus_PrivateKeyInternal;
58 std::string_view provider)
const override;
61 std::string_view provider)
const override;
68 std::shared_ptr<SphincsPlus_PublicKeyInternal>
m_public;
113 std::unique_ptr<Public_Key>
public_key()
const override;
116 std::string_view params,
117 std::string_view provider)
const override;
120 std::shared_ptr<SphincsPlus_PrivateKeyInternal> m_private;
#define BOTAN_DIAGNOSTIC_POP
#define BOTAN_DIAGNOSTIC_PUSH
#define BOTAN_DIAGNOSTIC_IGNORE_INHERITED_VIA_DOMINANCE
#define BOTAN_PUBLIC_API(maj, min)
secure_vector< uint8_t > raw_private_key_bits() const override
std::unique_ptr< PK_Ops::Signature > create_signature_op(RandomNumberGenerator &rng, std::string_view params, std::string_view provider) const override
~SphincsPlus_PrivateKey() override
SphincsPlus_PrivateKey(std::span< const uint8_t > private_key, Sphincs_Parameter_Set type, Sphincs_Hash_Type hash)
SphincsPlus_PrivateKey & operator=(const SphincsPlus_PrivateKey &other)=delete
SphincsPlus_PrivateKey & operator=(SphincsPlus_PrivateKey &&other)=delete
secure_vector< uint8_t > private_key_bits() const override
SphincsPlus_PrivateKey(const SphincsPlus_PrivateKey &other)=default
SphincsPlus_PrivateKey(SphincsPlus_PrivateKey &&other)=default
std::unique_ptr< Public_Key > public_key() const override
std::vector< uint8_t > public_key_bits() const override
std::vector< uint8_t > raw_public_key_bits() const override
std::unique_ptr< PK_Ops::Verification > create_x509_verification_op(const AlgorithmIdentifier &signature_algorithm, std::string_view provider) const override
std::unique_ptr< PK_Ops::Verification > create_verification_op(std::string_view params, std::string_view provider) const override
SphincsPlus_PublicKey(SphincsPlus_PublicKey &&other)=default
bool supports_operation(PublicKeyOperation op) const override
~SphincsPlus_PublicKey() override
std::string algo_name() const override
size_t key_length() const override
SphincsPlus_PublicKey & operator=(const SphincsPlus_PublicKey &other)=default
std::unique_ptr< Private_Key > generate_another(RandomNumberGenerator &rng) const final
bool check_key(RandomNumberGenerator &rng, bool strong) const override
AlgorithmIdentifier algorithm_identifier() const override
SphincsPlus_PublicKey & operator=(SphincsPlus_PublicKey &&other)=default
SphincsPlus_PublicKey(const SphincsPlus_PublicKey &other)=default
SphincsPlus_PublicKey()=default
std::shared_ptr< SphincsPlus_PublicKeyInternal > m_public
size_t estimated_strength() const override
SphincsPlus_PublicKey(std::span< const uint8_t > pub_key, Sphincs_Parameter_Set type, Sphincs_Hash_Type hash)
OID object_identifier() const override
std::vector< T, secure_allocator< T > > secure_vector