Thanks Steve for response. We have our own internal format for storing private
keys instead of
PKCS#1 format; to retrieve from internal format and to be able to use the
private key with
Openssl, I need to covert it back to EVP_PKEY struct; so, I wanted to see how
Openssl is
converting it...Thanks
--
regards,
Shanku
--- "Dr. Stephen Henson" <[EMAIL PROTECTED]> wrote:
> On Tue, Apr 29, 2008, Shanku Roy wrote:
>
> > Hi There,
> > Can you please point me to the content processing function of
> > d2i_RSAPrivateKey()
> >
> > In crypto/rsa/rsa_asn1.c file I see following:
> >
> > static ASN1_METHOD method={
> > (I2D_OF(void)) i2d_RSAPrivateKey,
> > (D2I_OF(void)) d2i_RSAPrivateKey,
> > (void *(*)(void)) RSA_new,
> > (void (*)(void *)) RSA_free};
> >
> > I am unable to find anything beyond that. Thanks
>
> The behaviour is defined by the ASN1 code. The file rsa_asn1.c defines the
> ASN1 template and through macros some ASN1 functions. That wont help you much
> unless you want to get deeply buried in the ASN1 code.
>
> So in order to help any more: why do you want to know that?
>
> Steve.
> --
> Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage
> OpenSSL project core developer and freelance consultant.
> Homepage: http://www.drh-consultancy.demon.co.uk
> ______________________________________________________________________
> OpenSSL Project http://www.openssl.org
> Development Mailing List [email protected]
> Automated List Manager [EMAIL PROTECTED]
>
--
Shanku
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [email protected]
Automated List Manager [EMAIL PROTECTED]