Blame doc/functions/gnutls_x509_trust_list_remove_trust_file
|
Packit |
aea12f |
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
@deftypefun {int} {gnutls_x509_trust_list_remove_trust_file} (gnutls_x509_trust_list_t @var{list}, const char * @var{ca_file}, gnutls_x509_crt_fmt_t @var{type})
|
|
Packit |
aea12f |
@var{list}: The list
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
@var{ca_file}: A file containing a list of CAs
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
@var{type}: The format of the certificates
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
This function will remove the given certificate authorities
|
|
Packit |
aea12f |
from the trusted list, and add them into a black list when needed.
|
|
Packit |
aea12f |
PKCS 11 URLs are also accepted, instead
|
|
Packit |
aea12f |
of files, by this function.
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
See also @code{gnutls_x509_trust_list_remove_cas()} .
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
@strong{Returns:} The number of added elements is returned.
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
@strong{Since:} 3.1.10
|
|
Packit |
aea12f |
@end deftypefun
|