Blame doc/functions/gnutls_x509_trust_list_remove_cas
|
Packit |
aea12f |
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
@deftypefun {int} {gnutls_x509_trust_list_remove_cas} (gnutls_x509_trust_list_t @var{list}, const gnutls_x509_crt_t * @var{clist}, unsigned @var{clist_size})
|
|
Packit |
aea12f |
@var{list}: The list
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
@var{clist}: A list of CAs
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
@var{clist_size}: The length of the CA list
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
This function will remove the given certificate authorities
|
|
Packit |
aea12f |
from the trusted list.
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
Note that this function can accept certificates and authorities
|
|
Packit |
aea12f |
not yet known. In that case they will be kept in a separate
|
|
Packit |
aea12f |
black list that will be used during certificate verification.
|
|
Packit |
aea12f |
Unlike @code{gnutls_x509_trust_list_add_cas()} there is no deinitialization
|
|
Packit |
aea12f |
restriction for certificate list provided in this function.
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
@strong{Returns:} The number of removed elements is returned.
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
@strong{Since:} 3.1.10
|
|
Packit |
aea12f |
@end deftypefun
|