diff options
author | René Korthaus <[email protected]> | 2016-12-05 10:20:06 +0100 |
---|---|---|
committer | René Korthaus <[email protected]> | 2016-12-05 10:28:42 +0100 |
commit | 9f5b5fc96913e2a17573287e8aa88f0510d52c1b (patch) | |
tree | 2b64a243ea3c5ae73eace781279d0af582148ac6 /src/lib/pubkey/xmss/xmss_wots_privatekey.h | |
parent | 8690e4e616367c12412fb56bc1826be203a4614b (diff) |
Add Private_Key::private_key_info()
Adds new Private_Key::private_key_info() that returns
a PKCS#8 PrivateKeyInfo structure. Renames the current
Private_Key::pkcs8_private_key() to private_key_bits().
BER_encode() just invokes private_key_info().
Diffstat (limited to 'src/lib/pubkey/xmss/xmss_wots_privatekey.h')
-rw-r--r-- | src/lib/pubkey/xmss/xmss_wots_privatekey.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/pubkey/xmss/xmss_wots_privatekey.h b/src/lib/pubkey/xmss/xmss_wots_privatekey.h index 158bad1bb..cf84fd076 100644 --- a/src/lib/pubkey/xmss/xmss_wots_privatekey.h +++ b/src/lib/pubkey/xmss/xmss_wots_privatekey.h @@ -226,7 +226,7 @@ class BOTAN_DLL XMSS_WOTS_PrivateKey : public virtual XMSS_WOTS_PublicKey, const std::string&, const std::string& provider) const override; - virtual secure_vector<byte> pkcs8_private_key() const override + virtual secure_vector<byte> private_key_bits() const override { throw Not_Implemented("No PKCS8 key format defined for XMSS-WOTS."); } |