Hi,

The EVP_PKEY_assign_RSA function converts the RSA key from an RSA structure to
a EVP_PKEY structure. How do I convert the EVP_PKEY structure back to the RSA
structure format.

This is because I am reading in the X509 cert and extracting the public key
from it using X509_get_pubkey and then trying to use this pubkey in the
RSA_public_decrypt function to decrypt a string encrypted with the private key.

Thanks

Regards,

Rahul Singh,
_________________________________
E-Mail: [EMAIL PROTECTED]


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to