Needing public key encryption for an application, i took a look at
libcrypto.
The problem is coping with it...

I'm trying to use the rsa-algorithm.

How do I seperate the public and the private key? If I generate my key with
RSA_generate_key i'm getting a RSA* struct with both keys(a key pair). Now I
want to save the public key in one location, the private key in another. I
didn't find a function for it.

Is my approach incorrect? First I tried to use EVP*-Functions, but i didn't
find any helpful documentation or tutorial(besides the spanish one in the
list-archive mentioned).
What is the easiest way to use public key cryptography with libcrypto?

Thanks in Advance.

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

Reply via email to