RE: Geting /Using RSA public - private Key by Windows Lib (C languaje)

2013-03-26 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of Ken Goldman > Sent: Tuesday, 26 March, 2013 10:39 > For the first: > - generate the RSA key > - pull n,e,d bignums out of the RSA structure > - use bn2bin to get the key parts > > For the second: > - use bin2bn on n,e,d > - assign the bignums t

Re: Geting /Using RSA public - private Key by Windows Lib (C languaje)

2013-03-26 Thread rod_proteus
Ken, Thanks for replaying. Just for checking, please post the code. Thanks. :) -- View this message in context: http://openssl.6102.n7.nabble.com/Geting-Using-RSA-public-private-Key-by-Windows-Lib-C-languaje-tp44529p44542.html Sent from the OpenSSL - User mailing list archive at Nabble.com

Re: Geting /Using RSA public - private Key by Windows Lib (C languaje)

2013-03-26 Thread Ken Goldman
For the first: - generate the RSA key - pull n,e,d bignums out of the RSA structure - use bn2bin to get the key parts For the second: - use bin2bn on n,e,d - assign the bignums to the RSA structure I can point you to sample code if you like. On 3/25/2013 10:32 AM, rod_proteus wrote: Hello.

Geting /Using RSA public - private Key by Windows Lib (C languaje)

2013-03-26 Thread rod_proteus
protection or so). Thanks a lot. -- View this message in context: http://openssl.6102.n7.nabble.com/Geting-Using-RSA-public-private-Key-by-Windows-Lib-C-languaje-tp44529.html Sent from the OpenSSL - User mailing list archive at Nabble.com