1gnutls_session_set_verify_output_fugnncgutntiulotsnl_(ss3e)ssion_set_verify_output_function(3)
2
3
4

NAME

6       gnutls_session_set_verify_output_function - API function
7

SYNOPSIS

9       #include <gnutls/x509.h>
10
11       void   gnutls_session_set_verify_output_function(gnutls_session_t  ses‐
12       sion, gnutls_verify_output_function * func);
13

ARGUMENTS

15       gnutls_session_t session
16                   is a gnutls_x509_trust_list_t type.
17
18       gnutls_verify_output_function * func
19                   is the callback function
20

DESCRIPTION

22       This function sets a callback to be called when the peer's  certificate
23       chain  has  to  be verified and full path to the trusted root has to be
24       printed.
25
26       The callback's function prototype is defined in `x509.h':  int  (*call‐
27       back)(     gnutls_x509_crt_t     cert,     gnutls_x509_crt_t    issuer,
28       gnutls_x509_crl_t crl, unsigned int verification_output);
29
30       If the callback function is provided then gnutls will call it,  in  the
31       certificate  verification  procedure.   To verify the certificate chain
32       and print its path uptp the trusted root, functions such as gnutls_cer‐
33       tificate_verify_peers(),    gnutls_x509_trust_list_verify_crt(),    and
34       gnutls_x509_trust_list_verify_crt2() can be used. The callback  is  set
35       in _gnutls_verify_crt_status() and _gnutls_pkcs11_verify_crt_status().
36

SINCE

38       3.7.0
39

REPORTING BUGS

41       Report bugs to <bugs@gnutls.org>.
42       Home page: https://www.gnutls.org
43
44
46       Copyright © 2001- Free Software Foundation, Inc., and others.
47       Copying  and  distribution  of this file, with or without modification,
48       are permitted in any medium without royalty provided the copyright  no‐
49       tice and this notice are preserved.
50

SEE ALSO

52       The  full  documentation  for gnutls is maintained as a Texinfo manual.
53       If the /usr/share/doc/gnutls/ directory does not contain the HTML  form
54       visit
55
56       https://www.gnutls.org/manual/
57
58gnutls                            gnu3t.l7s._2session_set_verify_output_function(3)
Impressum