On Fri, 13 Feb 1998, Ivan Pau wrote:
> I am working with the SSLeay and i have a big trouble that stop me in my
> work. I have been reading the documents, but i haven`t found how to
> generate a public key. I have the fuction which generate the private key,
> but not the public key.

A public key is held in the private key.  So, any function that operates on a
public key can be passed the private key.  So to write the RSA publickey,
use i2d_RSAPublicKey(), passing the private key.

eric

+-------------------------------------------------------------------------+
| Administrative requests should be sent to [EMAIL PROTECTED] |
| List service provided by Open Software Associates, http://www.osa.com/  |
+-------------------------------------------------------------------------+

Reply via email to