Re: Read a DER encode X509 certificate from file

2006-07-12 Thread Nils Larsch
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 G

Read a DER encode X509 certificate from file

2006-07-11 Thread Alfred Thomas
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 Get the EC_KEY (maybe an EVP_PKEY). I already got the ECDSA_verify method workin