Hi..

I am using crypto library of openssl. I need to generate a RSA key using
RSA_generate_key() and then store the key into a file and later read it from a
file when I need it. 
As far as my knowledge of openssl goes... I generate the key, store it in a file
using RSA_print_fp() which stores the key in a formatted fashion. Then if I
want to use it, I read the file again and parse the contents of the file to get
the key back.

Is there any other easy way to do it? Can I just export the key to a file and
import it back from the file ? Please let me know.

Thanks,
Aneel.

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to