---
name: "gnutls_ia_enable"
section: "3"
platform: "linux"
package: "gnutls-doc"
version: "2.8.6-1+squeeze3"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/gnutls_ia_enable"
---

# gnutls\_ia\_enable(3)

Indicate willingness for TLS/IA application phases

## NAME

gnutls\_ia\_enable - Indicate willingness for TLS/IA application phases

## SYNOPSIS

**#include \<gnutls/extra.h\>**

**void gnutls\_ia\_enable(gnutls\_session\_t** *session***, int** *allow\_skip\_on\_resume***);**

## ARGUMENTS

- gnutls\_session\_t session

  is a **gnutls\_session\_t** structure.

- int allow\_skip\_on\_resume

  non-zero if local party allows to skip the TLS/IA application phases for a resumed session.

## DESCRIPTION

Specify whether we must advertise support for the TLS/IA extension during the handshake.

At the client side, we always advertise TLS/IA if gnutls\_ia\_enable was called before the handshake; at the server side, we also require that the client has advertised that it wants to run TLS/IA before including the advertisement, as required by the protocol.

Similarly, at the client side we always advertise that we allow TLS/IA to be skipped for resumed sessions if *allow\_skip\_on\_resume* is non-zero; at the server side, we also require that the session is indeed resumable and that the client has also advertised that it allows TLS/IA to be skipped for resumed sessions.

After the TLS handshake, call **gnutls\_ia\_handshake\_p()** to find out whether both parties agreed to do a TLS/IA handshake, before calling **gnutls\_ia\_handshake()** or one of the lower level gnutls\_ia\_\* functions.

## REPORTING BUGS

Report bugs to \<bug-gnutls@gnu.org\>. GnuTLS home page: http://www.gnu.org/software/gnutls/ General help using GNU software: http://www.gnu.org/gethelp/

## COPYRIGHT

Copyright © 2008 Free Software Foundation.\
 Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.

## SEE ALSO

The full documentation for **gnutls** is maintained as a Texinfo manual.  If the **info** and **gnutls** programs are properly installed at your site, the command

-

  **info gnutls**

should give you access to the complete manual.
