Re: Extracting RSA public key from private key

2010-04-10 Thread Julien Kauffmann
Thank you very much ! It worked ;) Dr. Stephen Henson wrote: On Sat, Apr 10, 2010, Julien Kauffmann wrote: Hello, I need to extract the RSA public key from a RSA private key using OpenSSL. I'm currently using |RSAPublicKey_dup()| passing the |RSA*| private key to get the public key. How

Re: Extracting RSA public key from private key

2010-04-10 Thread Dr. Stephen Henson
On Sat, Apr 10, 2010, Julien Kauffmann wrote: > Hello, > > I need to extract the RSA public key from a RSA private key using OpenSSL. > > I'm currently using |RSAPublicKey_dup()| passing the |RSA*| private key to > get the public key. However, while the call seems to work, I cannot load > (or us

Extracting RSA public key from private key

2010-04-10 Thread Julien Kauffmann
Hello, I need to extract the RSA public key from a RSA private key using OpenSSL. I'm currently using |RSAPublicKey_dup()| passing the |RSA*| private key to get the public key. However, while the call seems to work, I cannot load (or use) this public key using the openssl command-line tool.