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 <m...@openssl.org> 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. > > &

[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)

Re: [openssl-users] Padding for RSA signatures

2018-01-03 Thread Gelareh Taban
thoughts? cheers, Gelareh On Fri, Dec 29, 2017 at 10:07 AM, Matt Caswell <m...@openssl.org> wrote: > Some comments inserted below. > > Matt > > On 29/12/17 15:20, Gelareh Taban wrote: > > Hi all, > > > > Any help would be *much* appreciated. I am playi

[openssl-users] Padding for RSA signatures

2017-12-29 Thread Gelareh Taban
Hi all, Any help would be *much* appreciated. I am playing around with RSA signatures with different padding options and I have some questions. I am trying to define different padding options and so am defining and using a EVP_PKEY_CTX . However I am not sure if this padding is getting used in

[openssl-users] Fwd: Padding for RSA signatures

2017-12-21 Thread Gelareh Taban
Hi all, I am playing around with RSA signatures with different padding options and I have some questions. I am trying to define different padding options and so am defining and using a EVP_PKEY_CTX . However I am not sure if this padding is getting used in the signature since my Verify outputs