gnutls_certificate_set_verify_function



gnutls_certificate_set_verify_function

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
SINCE
REPORTING BUGS
COPYRIGHT
SEE ALSO

NAME

gnutls_certificate_set_verify_function − API function

SYNOPSIS

#include <gnutls/gnutls.h>

void gnutls_certificate_set_verify_function(gnutls_certificate_credentials_t cred, gnutls_certificate_verify_function * func);

ARGUMENTS

gnutls_certificate_credentials_t cred

is a gnutls_certificate_credentials_t structure.

gnutls_certificate_verify_function * func

is the callback function

DESCRIPTION

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.

SINCE

2.10.0

REPORTING BUGS

Report bugs to <bug-gnutls@gnu.org>. GnuTLS home page: http://www.gnu.org/software/gnutls/ General help using GNU software: http://www.gnu.org/gethelp/

COPYRIGHT

Copyright © 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.

SEE ALSO

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

info gnutls

should give you access to the complete manual.



More Linux Commands

manpages/TYPE_IPV4.3form.html
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

manpages/erand48.3.html
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

manpages/eventfd_read.3.html
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

manpages/audit_open.3.html
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.

manpages/itclvars.n.html
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

manpages/st.4.html
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

manpages/snmpdelta.1.html
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

manpages/Net::hostent.3pm.html
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

manpages/FcMatrixMultiply.3.html
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)

manpages/bindtextdomain.3.html
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

manpages/utf8.3pm.html
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

manpages/CA.pl.1ssl.html
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





We can't live, work or learn in freedom unless the software we use is free.