diff options
Diffstat (limited to 'src/pubkey/pk_keys.h')
-rw-r--r-- | src/pubkey/pk_keys.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/pubkey/pk_keys.h b/src/pubkey/pk_keys.h index d1a841b9a..63302012c 100644 --- a/src/pubkey/pk_keys.h +++ b/src/pubkey/pk_keys.h @@ -90,6 +90,11 @@ class BOTAN_DLL Private_Key : public virtual Public_Key { public: /** + * @return PKCS #8 private key encoding for this key object + */ + virtual MemoryVector<byte> pkcs8_private_key() const = 0; + + /** * Get a PKCS#8 encoder that can be used to encode this key in * PKCS#8 format. * @return an PKCS#8 encoder for this key |