> From: owner-openssl-us...@openssl.org On Behalf Of Graham Leggett
> Sent: Friday, 16 November, 2012 10:08
> To: openssl-users@openssl.org
> Subject: Re: Usage of d2i_RSA_PUBKEY function!!
>
> On 16 Nov 2012, at 4:37 PM, PraveenPVS
> wrote:
>
> > I need to load
Your RSA public key is not pure DER encoded, it's DER+base64 encoded.
d2i_* functions take pure DER objects (binary on the wire).
--
Erwann ABALEA
-
multicoprothalassotope: station balnéaire de la Méditerranée
Le 16/11/2012 15:37, PraveenPVS a écrit :
Hi,
I need to load RSA Public key whic
On 16 Nov 2012, at 4:37 PM, PraveenPVS wrote:
> I need to load RSA Public key which is stored in the char buffer. I came
> across d2i_RSA_PUBKEY function to do the same (Please correct me if I am
> wrong here).
The "d2i" in the function you're trying to use means "from DER encoded to
internal",
Hi,
I need to load RSA Public key which is stored in the char buffer. I came
across d2i_RSA_PUBKEY function to do the same (Please correct me if I am
wrong here).
When I use this function, RSA Public key is not getting loaded.
In the main, i have the following function call:
loadRSAPubKey("MIIB