[Botan-devel] Serializing RSA keys

Berk Hulagu berkhulagu at yahoo.com
Sun May 11 21:06:34 EDT 2008


Hi! 

I would like to send my public RSA key over the network.

I create the keys as follows

   RSA_PrivateKeypriv_rsa(1024);
   RSA_PublicKey pub_rsa(priv_rsa);

I want to send these keys over the network (using Raknet library) I can create a RSA_PublicKey from 2 BigInt objects. But, what is the right way to serialize a BigInt object?

Thanks!


       
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.randombit.net/pipermail/botan-devel/attachments/20080511/cf9a9fe1/attachment.htm


More information about the botan-devel mailing list