5 @deftypefun {int} {gnutls_x509_crq_set_dn} (gnutls_x509_crq_t @var{crq}, const char * @var{dn}, const char ** @var{err})
6 @var{crq}: a certificate of type @code{gnutls_x509_crq_t}
8 @var{dn}: a comma separated DN string (RFC4514)
10 @var{err}: indicates the error position (if any)
12 This function will set the DN on the provided certificate.
13 The input string should be plain ASCII or UTF-8 encoded.
15 @strong{Returns:} On success, @code{GNUTLS_E_SUCCESS} (0) is returned, otherwise a