Hi,

We are facing some issue with openssl libraries to extract the N and E parameter from the public key in the PEM format.

Our aim is to verify the digital signature in terms of first decrypt the digital signature using public key and then locally generate a hash digest and compare the output of the first step.

We are not able to decrypt the digital signature using the public key as we are not able to extract the N and E parameter from the public key in PEM format to update the RSA structure.

We tried the RSA Verify and RSA public decrypt and both are returning error. Help appreciated.


Best regards,
A. Sivaramakrishnan



__________________________________________________ ____________________
OpenSSL Project http://www.openssl.org
Development Mailing List openssl-dev@openssl.org
Automated List Manager majordomo@openssl.org