1gnutls_x509_dn_oid_name(3) gnutls gnutls_x509_dn_oid_name(3)
2
3
4
6 gnutls_x509_dn_oid_name - API function
7
9 #include <gnutls/x509.h>
10
11 const char * gnutls_x509_dn_oid_name(const char * oid, unsigned int
12 flags);
13
15 const char * oid
16 holds an Object Identifier in a null terminated string
17
18 unsigned int flags
19 0 or GNUTLS_X509_DN_OID_*
20
22 This function will return the name of a known DN OID. If
23 GNUTLS_X509_DN_OID_RETURN_OID is specified this function will return
24 the given OID if no descriptive name has been found.
25
27 A null terminated string or NULL otherwise.
28
30 3.0
31
33 Report bugs to <bugs@gnutls.org>.
34 Home page: https://www.gnutls.org
35
36
38 Copyright © 2001-2019 Free Software Foundation, Inc., and others.
39 Copying and distribution of this file, with or without modification,
40 are permitted in any medium without royalty provided the copyright
41 notice and this notice are preserved.
42
44 The full documentation for gnutls is maintained as a Texinfo manual.
45 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
46 visit
47
48 https://www.gnutls.org/manual/
49
50gnutls 3.6.11 gnutls_x509_dn_oid_name(3)