[openssl-users] Generating RSA PrivateKey and PublicKey programmaticallly
Nayna Jain
naynjain at in.ibm.com
Tue Apr 28 14:39:25 UTC 2015
Hi all,
I want to generate public and private key pair programmatically.
However, I have some basic questions.
The key generated using RSA_generate_key_ex is actually a key pair ,
having both private and public key.
NOw, if I want to extract the public and private keys separately from this
and want to store it in different privatekey.pem and publickey.pem file,
how can I do that programmatically.
Also, when openssl genrsa commandline generates the privatekey.pem, does it
has only private key or also publickey
Thanks & Regards,
Nayna Jain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20150428/807408c4/attachment.html>
More information about the openssl-users
mailing list