[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
4.1.2 X.509 distinguished names
The “subject” of an X.509 certificate is not described by a single name, but rather with a distinguished name. This in X.509 terminology is a list of strings each associated an object identifier. To make things simple GnuTLS provides gnutls_x509_crt_get_dn which follows the rules in [RFC4514] and returns a single string. Access to each string by individual object identifiers can be accessed using gnutls_x509_crt_get_dn_by_oid.
The more powerful gnutls_x509_crt_get_subject and gnutls_x509_dn_get_rdn_ava provide efficient access to the contents of the distinguished name structure.
Similar functions exist to access the distinguished name of the issuer of the certificate.
- gnutls_x509_crt_get_issuer_dn
- gnutls_x509_crt_get_issuer_dn_by_oid
- gnutls_x509_crt_get_issuer_dn_oid
- gnutls_x509_crt_get_issuer
This document was generated on January 21, 2012 using texi2html 5.0.