Hi shankar,
Thanks you for your answer !
You said we can not get public key from a private key .
Then you said So PEM_read_RSAPublicKey() or PEM_read_RSA_PUBKEY() can be used
to load public key from a private key
I'm being confused. Did you mean we those 2 functions can not be use to load
On Sat, Apr 12, 2008, Thnh Trung Nguy#7877;n wrote:
Hi !
I used PEM_write_RSAPrivateKey() to write private key to a pem file.
Then I used PEM_read_RSAPublicKey() to read public key from that file, but it
returned an error.
The ERR_error_string() only return message like :
Thanks !
I forgot the FAQ, sorry !
Dr. Stephen Henson [EMAIL PROTECTED] wrote: On Sat, Apr 12, 2008, Thnh
Trung Nguyá»
n wrote:
Hi !
I used PEM_write_RSAPrivateKey() to write private key to a pem file.
Then I used PEM_read_RSAPublicKey() to read public key from that file, but it
returned
Hello,
One thing I will conform you is we can not get public key from a
private key . I do
not remember where i studied , but it is true.
So do not try to get a public key from private key.
This is not true.
Best regards,
--
Marek Marcola [EMAIL PROTECTED]
This list was given as a place to ask general questions regarding the
Net::SSLeay module for perl. I'm having success using the module in a perl
command-line script to perform an authenticated login to my mail server to send
E-mail. When I try to adapt the same code to work from a CGI script