1gnutls_ia_verify_endphase(3)        gnutls        gnutls_ia_verify_endphase(3)
2
3
4

NAME

6       gnutls_ia_verify_endphase - API function
7

SYNOPSIS

9       #include <gnutls/extra.h>
10
11       int  gnutls_ia_verify_endphase(gnutls_session_t  session,  const char *
12       checksum);
13

ARGUMENTS

15       gnutls_session_t session
16                   is a gnutls_session_t structure.
17
18       const char * checksum
19                   12-byte checksum data, received from gnutls_ia_recv().
20

DESCRIPTION

22       Verify TLS/IA end phase checksum  data.   If  verification  fails,  the
23       GNUTLS_A_INNER_APPLICATION_VERIFICATION alert is sent to the other sie.
24
25       This  function  is  called  when gnutls_ia_recv() return GNUTLS_E_WARN‐
26       ING_IA_IPHF_RECEIVED or GNUTLS_E_WARNING_IA_FPHF_RECEIVED.
27

RETURN VALUE

29       Return 0 on successful verification, or an error code.  If the checksum
30       verification  of the end phase message fails, GNUTLS_E_IA_VERIFY_FAILED
31       is returned.
32

REPORTING BUGS

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

SEE ALSO

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