1gnutls_ia_allocate_client_credentialsg(n3ug)tnlustls_ia_allocate_client_credentials(3)
2
3
4
6 gnutls_ia_allocate_client_credentials - Used to allocate an
7 gnutls_ia_server_credentials_t structure
8
10 #include <gnutls/extra.h>
11
12 int gnutls_ia_allocate_client_credentials(gnutls_ia_client_creden‐
13 tials_t * sc);
14
16 gnutls_ia_client_credentials_t * sc
17 is a pointer to a gnutls_ia_server_credentials_t structure.
18
20 This structure is complex enough to manipulate directly thus this
21 helper function is provided in order to allocate it.
22
23 Adding this credential to a session will enable TLS/IA, and will
24 require an Application Phase after the TLS handshake (if the server
25 support TLS/IA). Use gnutls_ia_require_inner_phase() to toggle the
26 TLS/IA mode.
27
29 On success, GNUTLS_E_SUCCESS (0) is returned, otherwise an error code
30 is returned.
31
33 Report bugs to <bug-gnutls@gnu.org>. GnuTLS home page:
34 http://www.gnu.org/software/gnutls/ General help using GNU software:
35 http://www.gnu.org/gethelp/
36
38 Copyright © 2008 Free Software Foundation.
39 Copying and distribution of this file, with or without modification,
40 are permitted in any medium without royalty provided the copyright
41 notice and this notice are preserved.
42
44 The full documentation for gnutls is maintained as a Texinfo manual.
45 If the info and gnutls programs are properly installed at your site,
46 the command
47
48 info gnutls
49
50 should give you access to the complete manual.
51
52
53
54gnutls 2.g8n.u6tls_ia_allocate_client_credentials(3)