Re: Reading digest algorithm from x509

2012-06-19 Thread Dirk Menstermann
Thank you Steve! Bye Jens On 18.06.2012 19:42, Dr. Stephen Henson wrote: > On Mon, Jun 18, 2012, Dirk Menstermann wrote: > >> Thanks, >> >> unfortunately I forget to include the information that I need to know it >> from a >> c programm, not from the shell. Do you also know the solution here?

Re: Reading digest algorithm from x509

2012-06-18 Thread Dr. Stephen Henson
On Mon, Jun 18, 2012, Dirk Menstermann wrote: > Thanks, > > unfortunately I forget to include the information that I need to know it from > a > c programm, not from the shell. Do you also know the solution here? > At present you have to access the X509 structure directly. For example: sig_nid

Re: Reading digest algorithm from x509

2012-06-18 Thread Dirk Menstermann
Thanks, unfortunately I forget to include the information that I need to know it from a c programm, not from the shell. Do you also know the solution here? Thanks __ OpenSSL Project http://www.o

Re: Reading digest algorithm from x509

2012-06-18 Thread Hanno Böck
On Mon, 18 Jun 2012 16:08:28 +0200 Dirk Menstermann wrote: > Would anybody be so kind to explain me how I can read the digest > algorithm (sha1, sha256, other) from a X509 struct that was used by a > CA when issuing the certificate (I am using version 0.9.8). openssl x509 -in [filename of certif