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>.     GnuTLS    home    page:
35       http://www.gnu.org/software/gnutls/  General  help  using GNU software:
36       http://www.gnu.org/gethelp/
37
39       Copyright © 2008 Free Software Foundation.
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

SEE ALSO

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