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=windows+vista&mkt=en-US&form=QBRE

Reply via email to