Debian Codegraph @

doc/functions/gnutls_x509_dn_set_str

raw
1
2
3
4
5 @deftypefun {int} {gnutls_x509_dn_set_str} (gnutls_x509_dn_t @var{dn}, const char * @var{str}, const char ** @var{err})
6 @var{dn}: a pointer to DN
7
8 @var{str}: a comma separated DN string (RFC4514)
9
10 @var{err}: indicates the error position (if any)
11
12 This function will set the DN on the provided DN structure.
13 The input string should be plain ASCII or UTF-8 encoded. On
14 DN parsing error @code{GNUTLS_E_PARSING_ERROR} is returned.
15
16 @strong{Returns:} On success, @code{GNUTLS_E_SUCCESS} (0) is returned, otherwise a
17 negative error value.
18
19 @strong{Since:} 3.5.3
20 @end deftypefun