Blame doc/functions/gnutls_x509_crt_get_raw_dn

Packit aea12f
Packit aea12f
Packit aea12f
Packit aea12f
Packit aea12f
@deftypefun {int} {gnutls_x509_crt_get_raw_dn} (gnutls_x509_crt_t @var{cert}, gnutls_datum_t * @var{dn})
Packit aea12f
@var{cert}: should contain a @code{gnutls_x509_crt_t}  type
Packit aea12f
Packit aea12f
@var{dn}: will hold the starting point of the DN
Packit aea12f
Packit aea12f
This function will return a pointer to the DER encoded DN structure and
Packit aea12f
the length. This points to allocated data that must be free'd using @code{gnutls_free()} .
Packit aea12f
Packit aea12f
@strong{Returns:} On success, @code{GNUTLS_E_SUCCESS}  (0) is returned, otherwise a
Packit aea12f
negative error value. or a negative error code on error.
Packit aea12f
@end deftypefun