Re: Reading RSA private/public key from a keyfile

2007-07-22 Thread Nagendra Tomar
I see that PEM_read_RSAPrivateKey looks like the one I need. Thanx, Tomar Nagendra Tomar <[EMAIL PROTECTED]> wrote: Hi I would like to know if there is a libcrypto API to read a public/private key from a keyfile and populate the RSA structure, so that one can do other operations (e

Reading RSA private/public key from a keyfile

2007-07-22 Thread Nagendra Tomar
Hi I would like to know if there is a libcrypto API to read a public/private key from a keyfile and populate the RSA structure, so that one can do other operations (encrypt, sign, decrypt, verify) using that RSA struct. What I am looking for is an equivalent of SSL_use_RSAPrivateKey_file