Added gnutls_session_get_id2().
[gnutls.git] / doc / gnutls.texi
blobb1673b8174d773234fda1070d805e2bc53d6397e
1 \input texinfo   @c -*-texinfo-*-
2 @comment %**start of header
3 @setfilename gnutls.info
4 @include version.texi
5 @settitle GnuTLS @value{VERSION}
6 @c don't indent the paragraphs.
7 @paragraphindent 0
9 @c Unify some of the indices.
10 @syncodeindex tp fn
11 @syncodeindex pg cp
13 @comment %**end of header
14 @finalout
15 @copying
16 This manual is last updated @value{UPDATED} for version
17 @value{VERSION} of GnuTLS.
19 Copyright @copyright{} 2001-2012 Free Software Foundation, Inc.
21 @quotation
22 Permission is granted to copy, distribute and/or modify this document
23 under the terms of the GNU Free Documentation License, Version 1.3 or
24 any later version published by the Free Software Foundation; with no
25 Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.  A
26 copy of the license is included in the section entitled ``GNU Free
27 Documentation License''.
28 @end quotation
29 @end copying
31 @dircategory Software libraries
32 @direntry
33 * GnuTLS: (gnutls).             GNU Transport Layer Security Library.
34 @end direntry
36 @dircategory System Administration
37 @direntry
38 * certtool: (gnutls)Invoking certtool.  Manipulate certificates and keys.
39 * gnutls-serv: (gnutls)Invoking gnutls-serv.    GnuTLS test server.
40 * gnutls-cli: (gnutls)Invoking gnutls-cli.      GnuTLS test client.
41 * gnutls-cli-debug: (gnutls)Invoking gnutls-cli-debug.  GnuTLS debug client.
42 * psktool: (gnutls)Invoking psktool.    Simple TLS-Pre-Shared-Keys manager.
43 * srptool: (gnutls)Invoking srptool.    Simple SRP password tool.
44 @end direntry
46 @titlepage
47 @title GnuTLS
48 @subtitle Transport Layer Security Library for the GNU system
49 @subtitle for version @value{VERSION}, @value{UPDATED}
50 @sp 7
51 @center @image{gnutls-logo,6cm,6cm}
52 @author Nikos Mavrogiannopoulos
53 @author Simon Josefsson (@email{bug-gnutls@@gnu.org})
54 @page
55 @vskip 0pt plus 1filll
56 @insertcopying
57 @end titlepage
59 @c reference to an internal function.
60 @macro refint {func}
61 @code{\func\}
62 @end macro
64 @macro xcite{ref}
65 [@emph{\ref\}]
66 @end macro
68 @macro funcref{ref}
69 @ref{\ref\}
70 @end macro
72 @macro funcintref{ref}
73 @code{\ref\}
74 @end macro
76 @macro showfuncA{ref}
77 @table @code
78 @include functions/\ref\.short
79 @end table
80 @end macro
82 @macro showfuncB{ref1,ref2}
83 @table @code
84 @include functions/\ref1\.short
85 @include functions/\ref2\.short
86 @end table
87 @end macro
89 @macro showfuncC{ref1,ref2,ref3}
90 @table @code
91 @include functions/\ref1\.short
92 @include functions/\ref2\.short
93 @include functions/\ref3\.short
94 @end table
95 @end macro
97 @macro showfuncD{ref1,ref2,ref3,ref4}
98 @table @code
99 @include functions/\ref1\.short
100 @include functions/\ref2\.short
101 @include functions/\ref3\.short
102 @include functions/\ref4\.short
103 @end table
104 @end macro
106 @macro showfuncE{ref1,ref2,ref3,ref4,ref5}
107 @table @code
108 @include functions/\ref1\.short
109 @include functions/\ref2\.short
110 @include functions/\ref3\.short
111 @include functions/\ref4\.short
112 @include functions/\ref5\.short
113 @end table
114 @end macro
116 @macro showfuncF{ref1,ref2,ref3,ref4,ref5,ref6}
117 @table @code
118 @include functions/\ref1\.short
119 @include functions/\ref2\.short
120 @include functions/\ref3\.short
121 @include functions/\ref4\.short
122 @include functions/\ref5\.short
123 @include functions/\ref6\.short
124 @end table
125 @end macro
127 @macro showfuncdesc{ref}
128 @include functions/\ref\
129 @end macro
131 @macro showenumdesc{ref,cap}
132 @float Figure,\ref\
133 @include enums/\ref\
134 @caption{\cap\}
135 @end float
136 @end macro
138 @contents
140 @ifnottex
141 @node Top
142 @top GnuTLS
144 @insertcopying
145 @end ifnottex
147 @menu
148 * Preface::
149 * Introduction to GnuTLS::
150 * Introduction to TLS::
151 * Certificate authentication::
152 * Shared-key and anonymous authentication::
153 * More on certificate authentication::
154 * Hardware security modules and abstract key types::
155 * How to use GnuTLS in applications::
156 * GnuTLS application examples::
157 * Other included programs::
158 * Internal architecture of GnuTLS::
159 * Upgrading from previous versions::
160 * Support::
161 * Error codes::
162 * Supported ciphersuites::
163 * API reference::
164 * Copying Information::
165 * Bibliography::
166 * Function and Data Index::
167 * Concept Index::
168 @c * @mybibnode{}::
169 @end menu
171 @include cha-preface.texi
173 @include cha-library.texi
175 @include cha-intro-tls.texi
177 @include cha-cert-auth.texi
179 @include cha-shared-key.texi
181 @include cha-cert-auth2.texi
183 @include cha-tokens.texi
185 @include cha-gtls-app.texi
187 @include cha-gtls-examples.texi
189 @include cha-programs.texi
191 @include cha-internals.texi
193 @c appendices
195 @include cha-upgrade.texi
197 @include cha-support.texi
199 @include cha-errors.texi
201 @include cha-ciphersuites.texi
203 @include cha-functions.texi
205 @include cha-copying.texi
207 @include cha-bib.texi
209 @node Function and Data Index
210 @unnumbered Function and Data Index
212 @printindex fn
214 @node Concept Index
215 @unnumbered Concept Index
217 @printindex cp
219 @bye