blob: 8f2ad3a2a9d89a492012e31b8f061f5a7b27329d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
SSL and TLS
========================================
Botan supports both client and server implementations of the SSL/TLS
protocols, including SSL v3, TLS v1.0, and TLS v1.1. The insecure and
obsolete SSL v2 is not supported.
The implementation uses ``std::tr1::function``, so it may not have
been compiled into the version you are using; you can test for the
feature macro ``BOTAN_HAS_SSL_TLS`` to check.
TLS Clients
----------------------------------------
A simple TLS client:
.. literalinclude:: examples/tls_client.cpp
TLS Servers
----------------------------------------
A simple TLS server
.. literalinclude:: examples/tls_server.cpp
|