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 = OBJ_obj2nid(x509->sig_alg->algorithm);

And you get back values such as NID_sha1 etc. If you want a string version
usin OBJ_obj2sn or OBJ_obj2ln instead.

Steve.
--
Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: http://www.openssl.org
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to