gnutls_certificate_set_verify_flags − API function
#include <gnutls/gnutls.h>
void gnutls_certificate_set_verify_flags(gnutls_certificate_credentials_t res, unsigned int flags);
gnutls_certificate_credentials_t res
is a gnutls_certificate_credentials_t type
unsigned int flags
are the flags
This function will set the flags to be used for verification of certificates and override any defaults. The provided flags must be an OR of the gnutls_certificate_verify_flags enumerations.
Report bugs to
<[email protected]>.
Home page: https://www.gnutls.org
Copyright ©
2001-2023 Free Software Foundation, Inc., and others.
Copying and distribution of this file, with or without
modification, are permitted in any medium without royalty
provided the copyright notice and this notice are
preserved.
The full
documentation for gnutls is maintained as a Texinfo
manual. If the /usr/share/doc/gnutls/ directory does not
contain the HTML form visit
https://www.gnutls.org/manual/