Thank you very much for your answering.
But i still have a doubt; you tell me that if i want to encrypt with the
PublicKey, i can pass the PrivateKey and when i want to decrypt i have to
pass the PrivateKey, too.

Please, i need to solve this doubt, due to i am working in my research
work to finish my studies at university.

Thanks again

Ivan.

On Wed, 25 Mar 1998, Eric Young wrote:

> 
> 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/  |
> +-------------------------------------------------------------------------+
> 

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

Reply via email to