RE: sending RSA public and private keys to calling function

2010-09-16 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of krishnamurthy santhanam > Sent: Wednesday, 15 September, 2010 14:50 > Thanks for your suggestion. I had generated 1024 bytes RSA key. > I need to convert this into DER to ASCII. Is this output is right? > rsa = RSA_gene

Re: sending RSA public and private keys to calling function

2010-09-15 Thread krishnamurthy santhanam
Hi Dave, Thanks for your suggestion. I had generated 1024 bytes RSA key. I need to convert this into DER to ASCII. Is this output is right? int main() { RSA *rsa; int len, len1; rsa = RSA_generate_key(1024, 3, NULL, NULL); size_t size; unsigned char *iend, keybuf[3000]; int i; size = i2d_RSAPriva

RE: sending RSA public and private keys to calling function

2010-09-10 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of krishnamurthy santhanam > Sent: Friday, 10 September, 2010 05:51 > I really thanks for all your inputs and suggestions, I > have not pasted fully last time all the output...below is the output > > rsa = R

Re: sending RSA public and private keys to calling function

2010-09-10 Thread krishnamurthy santhanam
Thanks Dave, I really thanks for all your inputs and suggestions, I have not pasted fully last time all the output...below is the output > rsa = RSA_generate_key(2048, 3, NULL, NULL); > size = i2d_RSAPublicKey(rsa, &iend); > /* size returns the size of public key in bytes */ >

RE: sending RSA public and private keys to calling function

2010-09-09 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of krishnamurthy santhanam > Sent: Thursday, 09 September, 2010 08:02 > My application will accept strings and interger. > we are replacing RSA bsafe library to openssl. using RSA bsafe, > we have generated the pr

Re: sending RSA public and private keys to calling function

2010-09-09 Thread krishnamurthy santhanam
Forwarded message -- From: *Dave Thompson* Date: Wed, Sep 8, 2010 at 3:59 AM Subject: RE: sending RSA public and private keys to calling function To: openssl-users@openssl.org > From: owner-openssl-us...@openssl.org On Behalf Of krishnamurthy santhanam >

RE: sending RSA public and private keys to calling function

2010-09-07 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of krishnamurthy santhanam > Sent: Tuesday, 07 September, 2010 13:09 > Thanks for your explanation. i have to create RSA Public/Praivate key > and send back to my application. My application will read only character > and string

sending RSA public and private keys to calling function

2010-09-07 Thread krishnamurthy santhanam
Hi, Thanks for your explanation. i have to create RSA Public/Praivate key and send back to my application. My application will read only character and string format , it will not accept RSA format.. please guide me how to do that? I had return below program for that but it is not resolving the pu