8 #ifndef BOTAN_XMSS_KEY_PAIR_H__
9 #define BOTAN_XMSS_KEY_PAIR_H__
11 #include <botan/botan.h>
12 #include <botan/rng.h>
13 #include <botan/xmss_parameters.h>
14 #include <botan/xmss_wots_parameters.h>
15 #include <botan/xmss_publickey.h>
16 #include <botan/xmss_privatekey.h>
28 : m_priv_key(xmss_oid, rng), m_pub_key(m_priv_key) {}
32 : m_priv_key(priv_key), m_pub_key(pub_key)
37 : m_priv_key(
std::move(priv_key)), m_pub_key(
std::move(pub_key)) {}
XMSS_Key_Pair(XMSS_PublicKey &&pub_key, XMSS_PrivateKey &&priv_key)
const XMSS_PrivateKey & private_key() const
const XMSS_PublicKey & public_key() const
XMSS_PublicKey & public_key()
XMSS_Key_Pair(XMSS_Parameters::xmss_algorithm_t xmss_oid, RandomNumberGenerator &rng)
XMSS_Key_Pair(const XMSS_PublicKey &pub_key, const XMSS_PrivateKey &priv_key)
XMSS_PrivateKey & private_key()