On 28/04/15 22:10, Nayna Jain wrote:
> Is there any other way to store private key and public key rather than
> in PEM format in file ?
>
> I mean API to store public and private key separately in memory.
You mean like this:
https://www.openssl.org/docs/crypto/d2i_RSAPublicKey
Matt
_
Re: [openssl-users] Generating RSA PrivateKey and PublicKey
programmaticallly
Sent by:"openssl-users"
On 28/04/15 15:39, Nayna Jain wrote:
> Hi all,
>
> I want to generate public and private key pair programmatically.
>
> However, I have some
On 28/04/15 15:39, Nayna Jain wrote:
> 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 extr
A pair means two. An RSA keypair is two keys, the public key and the private
key. You cannot have one without the other, and you cannot generate them
separately. You can, of course, store and use them separately, and must do so.
--
Senior Architect, Akamai Technologies
IM: richs...@jabber.at