1gnutls_session_get_verify_cert_statusg(n3ug)tnlustls_session_get_verify_cert_status(3)
2
3
4
6 gnutls_session_get_verify_cert_status - API function
7
9 #include <gnutls/gnutls.h>
10
11 unsigned int gnutls_session_get_verify_cert_status(gnutls_session_t
12 session);
13
15 gnutls_session_t session
16 is a gnutls session
17
19 This function returns the status of the verification when initiated via
20 auto-verification, i.e., by gnutls_session_set_verify_cert2() or
21 gnutls_session_set_verify_cert(). If no certificate verification was
22 occurred then the return value would be set to ((unsigned int)-1).
23
24 The certificate verification status is the same as in gnutls_certifi‐
25 cate_verify_peers().
26
28 the certificate verification status.
29
31 3.4.6
32
34 Report bugs to <bugs@gnutls.org>.
35 Home page: https://www.gnutls.org
36
37
39 Copyright © 2001-2020 Free Software Foundation, Inc., and others.
40 Copying and distribution of this file, with or without modification,
41 are permitted in any medium without royalty provided the copyright
42 notice and this notice are preserved.
43
45 The full documentation for gnutls is maintained as a Texinfo manual.
46 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
47 visit
48
49 https://www.gnutls.org/manual/
50
51gnutls 3.6g.n1u3tls_session_get_verify_cert_status(3)