Blame doc/functions/gnutls_x509_trust_list_get_issuer_by_dn
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@deftypefun {int} {gnutls_x509_trust_list_get_issuer_by_dn} (gnutls_x509_trust_list_t @var{list}, const gnutls_datum_t * @var{dn}, gnutls_x509_crt_t * @var{issuer}, unsigned int @var{flags})
|
|
Packit Service |
4684c1 |
@var{list}: The list
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{dn}: is the issuer's DN
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{issuer}: Will hold the issuer if any. Should be deallocated after use.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{flags}: Use zero
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
This function will find the issuer with the given name, and
|
|
Packit Service |
4684c1 |
return a copy of the issuer, which must be freed using @code{gnutls_x509_crt_deinit()} .
|
|
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:} 3.4.0
|
|
Packit Service |
4684c1 |
@end deftypefun
|