summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2007-02-07 14:00:57 +0000
committerSimon Josefsson <simon@josefsson.org>2007-02-07 14:00:57 +0000
commit270082ee64db3369809953c766b81a8020540c36 (patch)
tree91637a29e7ec713f0369e18f223f6d64df15e597 /doc
parent0344d1a11f633ae754d648fbd0cf60130b318c15 (diff)
downloadgnutls-270082ee64db3369809953c766b81a8020540c36.tar.gz
add tcp and tlsia
Diffstat (limited to 'doc')
-rw-r--r--doc/gnutls.texi21
1 files changed, 20 insertions, 1 deletions
diff --git a/doc/gnutls.texi b/doc/gnutls.texi
index 9ae424cd0b..f6b5760fb2 100644
--- a/doc/gnutls.texi
+++ b/doc/gnutls.texi
@@ -1898,7 +1898,8 @@ int main()
This section contains examples of @acronym{TLS} and @acronym{SSL}
clients, using @acronym{GnuTLS}. Note that these examples contain
-little or no error checking.
+little or no error checking. Some of the examples require functions
+implemented by another example.
@menu
* Simple client example with anonymous authentication::
@@ -1908,6 +1909,8 @@ little or no error checking.
* Using a callback to select the certificate to use::
* Client with Resume capability example::
* Simple client example with SRP authentication::
+* Simple client example with TLS/IA support::
+* Helper function for TCP connections::
@end menu
@node Simple client example with anonymous authentication
@@ -1994,6 +1997,22 @@ itself using a certificate, and in that case it has to be verified.
@verbatiminclude examples/ex-client-srp.c
+@node Simple client example with TLS/IA authentication
+@subsection Simple client example with @acronym{TLS/IA} authentication
+
+The following client is a simple client which uses the
+@acronym{TLS/IA} extension to authenticate with the server.
+
+@verbatiminclude examples/ex-client-tlsia.c
+
+@node Helper function for TCP connections
+@subsection Helper function for TCP connections
+
+This helper function abstracts away TCP connection handling from the
+other examples. It is required to build some examples.
+
+@verbatiminclude tcp.c
+
@node Server examples
@section Server examples