11#ifndef BOTAN_HSS_LMS_H_
12#define BOTAN_HSS_LMS_H_
14#include <botan/pk_keys.h>
55 std::string_view provider)
const override;
58 std::string_view provider)
const override;
70 std::shared_ptr<HSS_LMS_PublicKeyInternal>
m_public;
136 std::unique_ptr<Public_Key>
public_key()
const override;
145 std::optional<uint64_t> remaining_operations()
const override;
150 std::string_view params,
151 std::string_view provider)
const override;
156 std::shared_ptr<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)
The internal HSS-LMS private key.
std::unique_ptr< Public_Key > public_key() const override
AlgorithmIdentifier pkcs8_algorithm_identifier() const override
bool stateful_operation() const override
secure_vector< uint8_t > raw_private_key_bits() const override
HSS_LMS_PrivateKey(std::span< const uint8_t > private_key_bytes)
Load an existing LMS private key using its bytes.
~HSS_LMS_PrivateKey() override
secure_vector< uint8_t > private_key_bits() const override
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
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
std::vector< uint8_t > raw_public_key_bits() const override
HSS_LMS_PublicKey(std::span< const uint8_t > pub_key_bytes)
Load an existing public key using its bytes.
HSS_LMS_PublicKey()=default
std::string algo_name() const override
OID object_identifier() const override
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
std::vector< uint8_t > public_key_bits() const override
std::shared_ptr< HSS_LMS_PublicKeyInternal > m_public
AlgorithmIdentifier algorithm_identifier() const override
std::vector< T, secure_allocator< T > > secure_vector