Alfred Thomas wrote:
Hi all
I need to read a DER encoded X509 certificate from file to get the public
key to verify an ECDSA signature. Can anyone please give me a pointer as to
what to do?
What I need is to: Read the X509 certificate

use d2i_X509() to decode the DER encoded certificate

Get the EC_KEY (maybe an EVP_PKEY).

X509_get_pubkey() might be useful for this ;-)

Cheers,
Nils
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to