8#ifndef BOTAN_XMSS_SIGNATURE_H_
9#define BOTAN_XMSS_SIGNATURE_H_
11#include <botan/exceptn.h>
12#include <botan/secmem.h>
13#include <botan/types.h>
14#include <botan/xmss_parameters.h>
15#include <botan/internal/xmss_wots.h>
51 m_leaf_idx(leaf_idx), m_randomness(std::move(
randomness)), m_tree_sig(std::move(tree_sig)) {}
82 std::vector<uint8_t>
bytes()
const;
void set_unused_leaf_idx(size_t idx)
void set_tree(XMSS_Signature::TreeSignature tree_sig)
const XMSS_Signature::TreeSignature & tree() const
XMSS_Signature(size_t leaf_idx, secure_vector< uint8_t > randomness, XMSS_Signature::TreeSignature tree_sig)
secure_vector< uint8_t > & randomness()
XMSS_Signature(XMSS_Parameters::xmss_algorithm_t oid, std::span< const uint8_t > raw_sig)
const secure_vector< uint8_t > & randomness() const
std::vector< uint8_t > bytes() const
size_t unused_leaf_index() const
XMSS_Signature::TreeSignature & tree()
void set_randomness(secure_vector< uint8_t > randomness)
int(* final)(unsigned char *, CTX *)
std::vector< secure_vector< uint8_t > > wots_keysig_t
std::vector< T, secure_allocator< T > > secure_vector
wots_keysig_t authentication_path
wots_keysig_t ots_signature