query on PEM_write_bio_PKCS8PrivateKey

SIMON BABY simonkbaby at gmail.com
Sat Sep 25 05:06:38 UTC 2021


Hi Team,
I have a query. I see the below API is used to write the private key in
encrypted PKCS#8 format.

*PEM_write_bio_PKCS8PrivateKey()* and *PEM_write_PKCS8PrivateKey()* write a
private key in an EVP_PKEY structure in PKCS#8 EncryptedPrivateKeyInfo
format using PKCS#5 v2.0 password based encryption algorithms.

Do we have an API for converting the encrypted private key file to an
unencrypted private key file in PKCS#8 format?

Regards
Simon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mta.openssl.org/pipermail/openssl-users/attachments/20210924/0cfecc59/attachment-0001.html>


More information about the openssl-users mailing list