Blame doc/functions/gnutls_x509_dn_import

Packit Service 4684c1
Packit Service 4684c1
Packit Service 4684c1
Packit Service 4684c1
Packit Service 4684c1
@deftypefun {int} {gnutls_x509_dn_import} (gnutls_x509_dn_t @var{dn}, const gnutls_datum_t * @var{data})
Packit Service 4684c1
@var{dn}: the structure that will hold the imported DN
Packit Service 4684c1
Packit Service 4684c1
@var{data}: should contain a DER encoded RDN sequence
Packit Service 4684c1
Packit Service 4684c1
This function parses an RDN sequence and stores the result to a
Packit Service 4684c1
@code{gnutls_x509_dn_t}  type. The data must have been initialized
Packit Service 4684c1
with @code{gnutls_x509_dn_init()} . You may use @code{gnutls_x509_dn_get_rdn_ava()}  to
Packit Service 4684c1
decode the DN.
Packit Service 4684c1
Packit Service 4684c1
@strong{Returns:} On success, @code{GNUTLS_E_SUCCESS}  (0) is returned, otherwise a
Packit Service 4684c1
negative error value.
Packit Service 4684c1
Packit Service 4684c1
@strong{Since:} 2.4.0
Packit Service 4684c1
@end deftypefun