RE: RSA publlic/private key returnig to calling function

2011-08-11 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of krishnamurthy santhanam > Sent: Tuesday, 09 August, 2011 16:23 > Thanks a lot for your detailed explanation. GT.M supports ASCII format > also. i believe converting base64 is better way instead of ASCII. There are no standard

Re: RSA publlic/private key returnig to calling function

2011-08-09 Thread krishnamurthy santhanam
Hi Dave, Thanks a lot for your detailed explanation. GT.M supports ASCII format also. i believe converting base64 is better way instead of ASCII. I had changed as per your suggestion and code worked for me. additionally i had tested the Decode also, now everything is fine. can you please verify t

RE: RSA publlic/private key returnig to calling function

2011-08-08 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of krishnamurthy santhanam > Sent: Saturday, 06 August, 2011 15:13 > Thanks for your suggestion. Let me explain in what i am doing. > I have GT.M(MUMPS) calls to C language(external calls) routines that > has to generate RSA key

Re: RSA publlic/private key returnig to calling function

2011-08-06 Thread krishnamurthy santhanam
Hi Dave, Thanks for your suggestion. Let me explain in what i am doing. I have GT.M(MUMPS) calls to C language(external calls) routines that has to generate RSA key pairs and send it to the GT.M(same server). DO &security.rsakey(char *pubkey,char *privatekey) GT.M stores the key pairs in databas

RE: RSA publlic/private key returnig to calling function

2011-08-05 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of krishnamurthy santhanam > Sent: Friday, 05 August, 2011 08:09 > I have to write back rsa public/private key to calling function, > i have tried below program using i2d_RSAPrivatekey(). > My application will not accept R

RSA publlic/private key returnig to calling function

2011-08-05 Thread krishnamurthy santhanam
Hi, I have to write back rsa public/private key to calling function, i have tried below program using i2d_RSAPrivatekey(). My application will not accept RSA * structure, it will accept only char or strings to be return as s key. #include #include #include typedef struct { unsigned cha