1gnutls_x509_dn_get_str(3)           gnutls           gnutls_x509_dn_get_str(3)
2
3
4

NAME

6       gnutls_x509_dn_get_str - API function
7

SYNOPSIS

9       #include <gnutls/x509.h>
10
11       int gnutls_x509_dn_get_str(gnutls_x509_dn_t dn, gnutls_datum_t * str);
12

ARGUMENTS

14       gnutls_x509_dn_t dn
15                   a pointer to DN
16
17       gnutls_datum_t * str
18                   a datum that will hold the name
19

DESCRIPTION

21       This  function  will  allocate buffer and copy the name in the provided
22       DN.  The name will be in the form "C=xxxx,O=yyyy,CN=zzzz" as  described
23       in RFC4514. The output string will be ASCII or UTF-8 encoded, depending
24       on the certificate data.
25

RETURNS

27       On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative  er‐
28       ror value.
29

SINCE

31       3.4.2
32

REPORTING BUGS

34       Report bugs to <bugs@gnutls.org>.
35       Home page: https://www.gnutls.org
36
37
39       Copyright © 2001- Free Software Foundation, Inc., and others.
40       Copying  and  distribution  of this file, with or without modification,
41       are permitted in any medium without royalty provided the copyright  no‐
42       tice and this notice are preserved.
43

SEE ALSO

45       The  full  documentation  for gnutls is maintained as a Texinfo manual.
46       If the /usr/share/doc/gnutls/ directory does not contain the HTML  form
47       visit
48
49       https://www.gnutls.org/manual/
50
51gnutls                               3.7.8           gnutls_x509_dn_get_str(3)
Impressum