1gnutls_certificate_verify_peers(3)  gnutls  gnutls_certificate_verify_peers(3)
2
3
4

NAME

6       gnutls_certificate_verify_peers - This function returns the peer's cer‐
7       tificate verification status
8

SYNOPSIS

10       #include <gnutls/gnutls.h>
11
12       int gnutls_certificate_verify_peers(gnutls_session_t session);
13

ARGUMENTS

15       gnutls_session_t session
16                   is a gnutls session
17

DESCRIPTION

19       This function will try to verify the peer's certificate and return  its
20       status (trusted, invalid etc.).  However you must also check the peer's
21       name in order to check if  the  verified  certificate  belongs  to  the
22       actual peer.
23
24       The  return  value should be one or more of the gnutls_certificate_sta‐
25       tus_t enumerated elements bitwise or'd, or a negative value on error.
26
27       This is the same as gnutls_x509_verify_certificate().
28

DEPRECATED

30       Use gnutls_certificate_verify_peers2() instead.
31

REPORTING BUGS

33       Report bugs to <bug-gnutls@gnu.org>.
34
36       Copyright © 2006 Free Software Foundation.
37       Permission is granted to make and distribute verbatim  copies  of  this
38       manual  provided  the  copyright  notice and this permission notice are
39       preserved on all copies.
40

SEE ALSO

42       The full documentation for gnutls is maintained as  a  Texinfo  manual.
43       If  the  info  and gnutls programs are properly installed at your site,
44       the command
45
46              info gnutls
47
48       should give you access to the complete manual.
49
50
51
52gnutls                               1.6.3  gnutls_certificate_verify_peers(3)
Impressum