11#ifndef BOTAN_HSS_LMS_H_
12#define BOTAN_HSS_LMS_H_
14#include <botan/pk_keys.h>
65 std::string_view provider)
const override;
68 std::string_view provider)
const override;
80 std::shared_ptr<const HSS_LMS_PublicKeyInternal>
m_public;
156 std::unique_ptr<Public_Key>
public_key()
const override;
165 std::optional<uint64_t> remaining_operations()
const override;
170 std::string_view params,
171 std::string_view provider)
const override;
176 std::shared_ptr<const HSS_LMS_PrivateKeyInternal> m_private;
#define BOTAN_DIAGNOSTIC_POP
#define BOTAN_DIAGNOSTIC_PUSH
#define BOTAN_DIAGNOSTIC_IGNORE_INHERITED_VIA_DOMINANCE
#define BOTAN_PUBLIC_API(maj, min)
#define BOTAN_DEPRECATED(msg)
#define BOTAN_FUTURE_EXPLICIT
The internal HSS-LMS private key.
std::unique_ptr< Public_Key > public_key() const override
AlgorithmIdentifier pkcs8_algorithm_identifier() const override
HSS_LMS_PrivateKey(const AlgorithmIdentifier &alg_id, std::span< const uint8_t > key_bits)
Load a private key from a PKCS #8 PrivateKeyInfo.
bool stateful_operation() const override
HSS_LMS_PrivateKey(const HSS_LMS_PrivateKey &other)=delete
secure_vector< uint8_t > raw_private_key_bits() const override
HSS_LMS_PrivateKey & operator=(HSS_LMS_PrivateKey &&other)=delete
~HSS_LMS_PrivateKey() override
secure_vector< uint8_t > private_key_bits() const override
HSS_LMS_PrivateKey & operator=(const HSS_LMS_PrivateKey &other)=delete
HSS_LMS_PrivateKey(HSS_LMS_PrivateKey &&other)=default
The internal HSS-LMS public key.
std::unique_ptr< PK_Ops::Verification > create_verification_op(std::string_view params, std::string_view provider) const override
HSS_LMS_PublicKey & operator=(HSS_LMS_PublicKey &&other)=delete
std::unique_ptr< Private_Key > generate_another(RandomNumberGenerator &rng) const override
size_t key_length() const override
~HSS_LMS_PublicKey() override
bool supports_operation(PublicKeyOperation op) const override
HSS_LMS_PublicKey(const HSS_LMS_PublicKey &other)=default
std::vector< uint8_t > raw_public_key_bits() const override
HSS_LMS_PublicKey(HSS_LMS_PublicKey &&other)=default
HSS_LMS_PublicKey()=default
std::string algo_name() const override
HSS_LMS_PublicKey & operator=(const HSS_LMS_PublicKey &other)=delete
OID object_identifier() const override
std::shared_ptr< const HSS_LMS_PublicKeyInternal > m_public
size_t estimated_strength() const override
std::unique_ptr< PK_Ops::Verification > create_x509_verification_op(const AlgorithmIdentifier &signature_algorithm, std::string_view provider) const override
bool check_key(RandomNumberGenerator &rng, bool strong) const override
HSS_LMS_PublicKey(const AlgorithmIdentifier &alg_id, std::span< const uint8_t > key_bits)
Load a public key from an X.509 SubjectPublicKeyInfo.
std::vector< uint8_t > public_key_bits() const override
AlgorithmIdentifier algorithm_identifier() const override
std::vector< T, secure_allocator< T > > secure_vector