RE: Converting RSA to EVP_pkey

2007-07-26 Thread Marek Marcola
Hello, > is this the best way to do it ? EVP_pkey *pkey = EVP_PKEY_new(); > EVP_PKEY_assign_RSA(pkey, rsa); thanks ! I think this one of most "proper" way :-) Best regards, -- Marek Marcola <[EMAIL PROTECTED]> __ OpenSSL Projec

RE: Converting RSA to EVP_pkey

2007-07-26 Thread k b
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 2

RE: Converting RSA to EVP_pkey

2007-07-26 Thread k b
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

Re: Converting RSA to EVP_pkey

2007-07-26 Thread Marek Marcola
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 <[EMAIL PROTE