gnutls_certificate_set_verify_function − API function
void gnutls_certificate_set_verify_function(gnutls_certificate_credentials_t cred, gnutls_certificate_verify_function * func);
is a gnutls_certificate_credentials_t structure.
gnutls_certificate_verify_function * func
is the callback function
This function sets a callback to be called when peer’s certificate has been received in order to verify it on receipt rather than doing after the handshake is completed.
The callback’s function prototype is: int (*callback)(gnutls_session_t);
If the callback function is provided then gnutls will call it, in the handshake, just after the certificate message has been received. To verify or obtain the certificate the gnutls_certificate_verify_peers2(), gnutls_certificate_type_get(), gnutls_certificate_get_peers() functions can be used.
The callback function should return 0 for the handshake to continue or non−zero to terminate.
Report bugs to <email@example.com>. GnuTLS home page: http://www.gnu.org/software/gnutls/ General help using GNU software: http://www.gnu.org/gethelp/
© 2008 Free Software Foundation.
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 info and gnutls programs are properly installed at your site, the command
should give you access to the complete manual.
More Linux Commands
TYPE_IPV4(3form) - form system global variables (Man Page)
These are building blocks for the form library, defining fields that can be created using set_fieldtype(3X). Each provides functions for field- and character-va
erand48(3) - generate uniformly distributed pseudo-random nu
These functions generate pseudo-random numbers using the linear congruential algorithm and 48-bit integer arithmetic. The drand48() and erand48() functions retu
eventfd_read(3) - create a file descriptor for event notific
eventfd() creates an eventfd object that can be used as an event wait/notify mechanism by user-space applications, and by the kernel to notify user-space applic
audit_open(3) - Open a audit netlink socket connection......
audit_open creates a NETLINK_AUDIT socket for communication with the kernel part of the Linux Audit Subsystem. The audit system uses the ACK feature of netlink.
itclvars(n) - variables used by [incr Tcl] - Linux man page
The following global variables are created and managed automatically by the [incr Tcl] library. Except where noted below, these variables should normally be tre
st(4) - SCSI tape device (Special files - Linux man page)...
The st driver provides the interface to a variety of SCSI tape devices. Currently, the driver takes control of all detected devices of type sequential-access. T
snmpdelta(1) - Monitor delta differences in SNMP Counter val
snmpdelta will monitor the specified integer valued OIDs, and report changes over time. AGENT identifies a target SNMP agent, which is instrumented to monitor t
Net::hostent(3pm) - by-name interface to Perl's built-in get
This modules default exports override the core gethostbyname() and gethostbyaddr() functions, replacing them with versions that return Net::hostent objects. Thi
FcMatrixMultiply(3) - Multiply matrices - Linux manual page
FcMatrixMultiply multiplies matrix1 and matrix2 storing the result in result. VERSION Fontconfig version 2.8.0 FcMatrixMultiply.3 (Library - Linux manual page)
bindtextdomain(3) - set directory containing message catalog
The bindtextdomain function sets the base directory of the hierarchy containing message catalogs for a given message domain. A message domain is a set of transl
utf8(3pm) - Perl pragma to enable/disable UTF-8 (or UTF-EBCD
The use utf8 pragma tells the Perl parser to allow UTF-8 in the program text in the current lexical scope (allow UTF-EBCDIC on EBCDIC based platforms). The no u
CA.pl(1ssl) friendlier interface for OpenSSL certificate pro
The CA .pl script is a perl script that supplies the relevant command line arguments to the openssl command for some common certificate operations. It is intend