[openssl-users] Programmatic key conversion of PKCS#1 to #8

Gelareh Taban gadphly at gmail.com
Fri Feb 16 17:24:23 UTC 2018

Hi all,

I need to convert a Json Web Key (JWK) to PEM PKCS#8 format.

I am using creating an RSA key using the parameters in JWK and then using
i2d_RSAPublicKey() to  encode the RSA key to PEM PKCS#1.

Are there any OpenSSL functions that programmatically convert the key (both
public and private) to PKCS#8?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20180216/f5f548af/attachment.html>

More information about the openssl-users mailing list