Blame doc/functions/gnutls_x509_crt_get_raw_dn
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@deftypefun {int} {gnutls_x509_crt_get_raw_dn} (gnutls_x509_crt_t @var{cert}, gnutls_datum_t * @var{dn})
|
|
Packit Service |
4684c1 |
@var{cert}: should contain a @code{gnutls_x509_crt_t} type
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{dn}: will hold the starting point of the DN
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
This function will return a pointer to the DER encoded DN structure and
|
|
Packit Service |
4684c1 |
the length. This points to allocated data that must be free'd using @code{gnutls_free()} .
|
|
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. or a negative error code on error.
|
|
Packit Service |
4684c1 |
@end deftypefun
|