OK, thank you very much for the informations! ------------------- > On Thu, Jul 17, 2003, Pascal VERRECCHIA wrote: > > > > > > > > > I'd like to find a program which permits me to obtain the fields > > > > following of a certificate : > > > > > > > > - issuer > > > > - issuerAltName > > > > - subject > > > > - subjectAltName > > > > - cRLDistributionPoint > > > > > > > > > > Depends on what format you want those fields in. The 'x509' utility > > can print > > > out all those fields in human readable form. > > > > How can I do that? > > I have to use this fields for create a program of certificate > > verification with OCSP. I have to obtain this informations for > > veifying the certification hierarchy. > > Thank you for your help! > > > > Well if you want them in a program you need to use the X509 and X509v3 APIs. > > The functions X509_get_subject_name, X509_get_issuer_name and > X509_get_serialNumber along with X509_get_ext_d2i for all the extensions > will do the trick. > > Steve. > -- > Dr Stephen N. Henson. > Core developer of the OpenSSL project: http://www.openssl.org/ > Freelance consultant see: http://www.drh-consultancy.demon.co.uk/ > Email: [EMAIL PROTECTED], PGP key: via homepage. > ______________________________________________________________________
> OpenSSL Project http://www.openssl.org > User Support Mailing List [EMAIL PROTECTED] > Automated List Manager [EMAIL PROTECTED] > ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]