is this the best way to do it ? 

 EVP_pkey *pkey = EVP_PKEY_new();

EVP_PKEY_assign_RSA(pkey, rsa); 

thanks ! 



----------------------------------------
> From: [EMAIL PROTECTED]
> To: openssl-users@openssl.org
> Subject: RE: Converting RSA to EVP_pkey
> Date: Thu, 26 Jul 2007 16:16:36 -0700
> 
> 
> Thanks Marek, so then how do i convert RSA to EVP_pkey ? > Subject: Re: 
> Converting RSA to EVP_pkey> From: [EMAIL PROTECTED]> To: 
> openssl-users@openssl.org> Date: Fri, 27 Jul 2007 01:09:59 +0200> > Hello,> > 
> 2) I was looking and found this  d2i_RSAPrivateKey. From what it looks> > 
> like, this doesn't seem to be what i want. and i was wondering when> > what 
> does this convert to and from. > This function convert from DER format to 
> INTERNAL format (RSA).> > Best regards.> -- > Marek Marcola > > 
> ______________________________________________________________________> 
> OpenSSL Project                                 http://www.openssl.org> User 
> Support Mailing List                    openssl-users@openssl.org> Automated 
> List Manager                           [EMAIL PROTECTED]
> _________________________________________________________________
> PC Magazine’s 2007 editors’ choice for best web mail—award-winning Windows 
> Live Hotmail.
> http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migration_HMWL_mini_pcmag_0707______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    openssl-users@openssl.org
> Automated List Manager                           [EMAIL PROTECTED]

_________________________________________________________________
Local listings, incredible imagery, and driving directions - all in one place! 
Find it!
http://maps.live.com/?wip=69&FORM=MGAC01

Reply via email to