RE: How to pack RSA structure?

2009-06-09 Thread Ashwin Chandra
careful as possible. -Original Message- From: owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org] On Behalf Of Dave Thompson Sent: Tuesday, June 09, 2009 5:43 PM To: openssl-users@openssl.org Subject: RE: How to pack RSA structure? > From: owner-openssl-us...@o

RE: How to pack RSA structure?

2009-06-09 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of Ashwin Chandra > Sent: Monday, 08 June, 2009 19:48 > I am using the RSA_generate_keys to generate an RSA * structure. > I wish to pack or serialize all the information in this structure > into an array of bytes and then deseri

How to pack RSA structure?

2009-06-08 Thread Ashwin Chandra
I am using the RSA_generate_keys to generate an RSA * structure. I wish to pack or serialize all the information in this structure into an array of bytes and then deserialize it back into an RSA * structure later on. What is the best way to do this? I have a couple of options I have explored: