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

2018-02-16 Thread Gelareh Taban
Works beautifully. Thanks very much Matt! On Fri, Feb 16, 2018 at 11:49 AM, Matt Caswell wrote: > > > On 16/02/18 17:24, Gelareh Taban wrote: > > 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 th

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

2018-02-16 Thread Matt Caswell
On 16/02/18 17:24, Gelareh Taban wrote: > 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

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

2018-02-16 Thread Gelareh Taban
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)