--_7e3aa72c-9569-45e6-aaf0-59b34b9ae89e_
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit


Hello,

I use the function PEM_write_RSAPrivateKey(privateKeyFilePW, r,EVP_des_ede3_cbc(),NULL, 0, NULL, NULL) to write the RSA private key with a pass phrase. But I am wondering where the pass phrase is stored?

later I use the function PEM_read_RSAPrivateKey(privateKeyFilePW, &keyReading, pass_cb, "My Private Key") to decrypt the private key. I can not the get the correct private key even I use the same pass phrase as the one I used in the function PEM_write_RSAPrivateKey().

How can I resolve this problem?

Thanks!

__________________________________________________ _______________
Discover the new Windows Vista
http://search.msn.com/results.aspx?q...n-US&form=QBRE
--_7e3aa72c-9569-45e6-aaf0-59b34b9ae89e_
Content-Type: text/html; charset="gb2312"
Content-Transfer-Encoding: 8bit






Hello,

I use the function PEM_write_RSAPrivateKey(privateKeyFilePW, r,EVP_des_ede3_cbc(),NULL, 0, NULL, NULL) to write the RSA private key with a pass phrase. But I am wondering where the pass phrase is stored?

later I use the function PEM_read_RSAPrivateKey(privateKeyFilePW, &keyReading, pass_cb, "My Private Key") to decrypt the private key. I can not the get the correct private key even I use the same pass phrase as the one I used in the function PEM_write_RSAPrivateKey().

How can I resolve this problem?

Thanks!


Discover the new Windows Vista Learn more!

--_7e3aa72c-9569-45e6-aaf0-59b34b9ae89e_--
__________________________________________________ ____________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager majordomo@openssl.org