1gnutls_ia_enable(3) gnutls gnutls_ia_enable(3)
2
3
4
6 gnutls_ia_enable - Indicate willingness for TLS/IA application phases
7
9 #include <gnutls/extra.h>
10
11 void gnutls_ia_enable(gnutls_session_t session, int
12 allow_skip_on_resume);
13
15 gnutls_session_t session
16 is a gnutls_session_t structure.
17
18 int allow_skip_on_resume
19 non-zero if local party allows to skip the TLS/IA applica‐
20 tion phases for a resumed session.
21
23 Specify whether we must advertise support for the TLS/IA extension dur‐
24 ing the handshake.
25
26 At the client side, we always advertise TLS/IA if gnutls_ia_enable was
27 called before the handshake; at the server side, we also require that
28 the client has advertised that it wants to run TLS/IA before including
29 the advertisement, as required by the protocol.
30
31 Similarly, at the client side we always advertise that we allow TLS/IA
32 to be skipped for resumed sessions if allow_skip_on_resume is non-zero;
33 at the server side, we also require that the session is indeed resum‐
34 able and that the client has also advertised that it allows TLS/IA to
35 be skipped for resumed sessions.
36
37 After the TLS handshake, call gnutls_ia_handshake_p() to find out
38 whether both parties agreed to do a TLS/IA handshake, before calling
39 gnutls_ia_handshake() or one of the lower level gnutls_ia_* functions.
40
42 Report bugs to <bug-gnutls@gnu.org>. GnuTLS home page:
43 http://www.gnu.org/software/gnutls/ General help using GNU software:
44 http://www.gnu.org/gethelp/
45
47 Copyright © 2008 Free Software Foundation.
48 Copying and distribution of this file, with or without modification,
49 are permitted in any medium without royalty provided the copyright
50 notice and this notice are preserved.
51
53 The full documentation for gnutls is maintained as a Texinfo manual.
54 If the info and gnutls programs are properly installed at your site,
55 the command
56
57 info gnutls
58
59 should give you access to the complete manual.
60
61
62
63gnutls 2.8.6 gnutls_ia_enable(3)