Botan 2.19.3
Crypto and TLS for C&
xmss_wots_addressed_privatekey.h
Go to the documentation of this file.
1/**
2 * XMSS WOTS Addressed Private Key
3 * (C) 2016 Matthias Gierlings
4 *
5 * Botan is released under the Simplified BSD License (see license.txt)
6 **/
7
8#ifndef BOTAN_XMSS_WOTS_ADDRESSED_PRIVATEKEY_H_
9#define BOTAN_XMSS_WOTS_ADDRESSED_PRIVATEKEY_H_
10
11#include <botan/internal/xmss_address.h>
12#include <botan/internal/xmss_wots_addressed_publickey.h>
13#include <botan/xmss_wots.h>
14
15namespace Botan {
16
17/**
18 * Wrapper class to pair an XMSS_WOTS_PrivateKey with an XMSS Address. Since
19 * the PK_Ops::Signature interface does not allow an extra address
20 * parameter to be passed to the sign(RandomNumberGenerator&), the address
21 * needs to be stored together with the key and passed to the
22 * XMSS_WOTS_Signature_Operation() on creation.
23 **/
65
66}
67
68#endif
XMSS_WOTS_Addressed_PrivateKey(const XMSS_WOTS_PrivateKey &private_key)
const XMSS_WOTS_PrivateKey & private_key() const
XMSS_WOTS_Addressed_PrivateKey(XMSS_WOTS_PrivateKey &&private_key, XMSS_Address &&adrs)
secure_vector< uint8_t > private_key_bits() const override
AlgorithmIdentifier pkcs8_algorithm_identifier() const override
XMSS_WOTS_Addressed_PrivateKey(const XMSS_WOTS_PrivateKey &private_key, const XMSS_Address &adrs)
XMSS_WOTS_Addressed_PrivateKey(XMSS_WOTS_PrivateKey &&private_key)
secure_vector< uint8_t > private_key_bits() const override
Definition xmss_wots.h:719
AlgorithmIdentifier pkcs8_algorithm_identifier() const override
Definition xmss_wots.h:714
int(* final)(unsigned char *, CTX *)
std::vector< T, secure_allocator< T > > secure_vector
Definition secmem.h:65
Definition bigint.h:1143