On 9/27/07, Marek Marcola <[EMAIL PROTECTED]> wrote: > Hello, > > Hi, I'm developing a client-server architecture to encrypt/decrypt > > data which works like this: the client asks the server for the key > > using a ssl connection, the server transmits the key to the client that > > then encrypts/decrypts the data. > > > > I'd like to know if there is a way to convert a RSA* key object into a > > string (and vice versa) to be transmitted over a ssl socket. > > Is there a way to do this? > Look at > d2i_RSAPrivateKey()/i2d_RSAPrivateKey()/i2d_RSAPublicKey()/d2i_RSAPublicKey() > functions.
Ok, thank you. They seems exactly what I've been looking for. ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]