luasec/samples
Bruno Silvestre cc2fb8ee75 SNI support.
2014-04-21 13:18:20 -03:00
..
certs LuaSec 20120616 (unofficial) + patches 2013-03-30 12:21:40 +00:00
chain LuaSec 20120616 (unofficial) + patches 2013-03-30 12:21:40 +00:00
dhparam - using buffer from luasocket 3.0. 2013-06-20 13:03:58 -03:00
digest LuaSec 20120616 (unofficial) + patches 2013-03-30 12:21:40 +00:00
ecdh LuaSec 20120616 (unofficial) + patches 2013-03-30 12:21:40 +00:00
info LuaSec 20120616 (unofficial) + patches 2013-03-30 12:21:40 +00:00
key LuaSec 20120616 (unofficial) + patches 2013-03-30 12:21:40 +00:00
loop LuaSec 20120616 (unofficial) + patches 2013-03-30 12:21:40 +00:00
loop-gc LuaSec 20120616 (unofficial) + patches 2013-03-30 12:21:40 +00:00
oneshot LuaSec 20120616 (unofficial) + patches 2013-03-30 12:21:40 +00:00
sni SNI support. 2014-04-21 13:18:20 -03:00
verification Examples update. 2014-01-29 17:47:27 -02:00
verify Examples update. 2014-01-29 17:47:27 -02:00
want LuaSec 20120616 (unofficial) + patches 2013-03-30 12:21:40 +00:00
wantread LuaSec 20120616 (unofficial) + patches 2013-03-30 12:21:40 +00:00
wantwrite LuaSec 20120616 (unofficial) + patches 2013-03-30 12:21:40 +00:00
README Examples update. 2014-01-29 17:47:27 -02:00

Directories: 
------------
* certs
 Contains scripts to generate the certificates used by the examples.
 Generate Root CA 'A' and 'B' first, then the servers and clients.

* chain
 Example of certificate chain in handshake.

* dhparam
 DH parameters for handshake.

* digest
 Certificate digest.

* ecdh
 Elliptic curve cipher.

* info
 Informations about the connection.

* key
 Test encrypted private key.

* loop
 Test successive connections between the server and the client 
 (to check memory leak).

* loop-gc
 Same of above,  but the connection is not  explicit closed, the gabage
 collector is encharge of that.

* oneshot
 A simple connection example.

* verification
 Retrieve the certificate verification errors from the handshake.

* verify
 Ignore handshake errors and proceed.

* wantread
 Test timeout in handshake() and receive().

* wantwrite
 Test timeout in send().

* want
 Test want() method.