aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/prov/pkcs11/p11_rsa.h
diff options
context:
space:
mode:
authorRenĂ© Korthaus <[email protected]>2016-12-05 10:20:06 +0100
committerRenĂ© Korthaus <[email protected]>2016-12-05 10:28:42 +0100
commit9f5b5fc96913e2a17573287e8aa88f0510d52c1b (patch)
tree2b64a243ea3c5ae73eace781279d0af582148ac6 /src/lib/prov/pkcs11/p11_rsa.h
parent8690e4e616367c12412fb56bc1826be203a4614b (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/prov/pkcs11/p11_rsa.h')
-rw-r--r--src/lib/prov/pkcs11/p11_rsa.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/prov/pkcs11/p11_rsa.h b/src/lib/prov/pkcs11/p11_rsa.h
index 6d80e45a7..13b9d9dc1 100644
--- a/src/lib/prov/pkcs11/p11_rsa.h
+++ b/src/lib/prov/pkcs11/p11_rsa.h
@@ -200,7 +200,7 @@ class BOTAN_DLL PKCS11_RSA_PrivateKey final : public Private_Key,
/// @return the exported RSA private key
RSA_PrivateKey export_key() const;
- secure_vector<byte> pkcs8_private_key() const override;
+ secure_vector<byte> private_key_bits() const override;
std::unique_ptr<PK_Ops::Decryption>
create_decryption_op(RandomNumberGenerator& rng,