luasec/samples/README

50 lines
913 B
Plaintext
Raw Normal View History

2012-09-02 16:15:49 +02:00
Directories:
------------
* certs
2012-09-02 16:32:26 +02:00
Contains scripts to generate the certificates used by the examples.
Generate Root CA 'A' and 'B' first, then the servers and clients.
2012-09-02 16:15:49 +02:00
2014-01-29 20:47:27 +01:00
* chain
Example of certificate chain in handshake.
* dhparam
DH parameters for handshake.
* digest
Certificate digest.
* ecdh
Elliptic curve cipher.
* info
Information about the connection.
2014-01-29 20:47:27 +01:00
* key
Test encrypted private key.
2012-09-02 16:15:49 +02:00
* 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
2012-09-02 16:32:26 +02:00
collector is encharge of that.
2012-09-02 16:15:49 +02:00
2014-01-29 20:47:27 +01:00
* oneshot
A simple connection example.
* verification
Retrieve the certificate verification errors from the handshake.
* verify
Ignore handshake errors and proceed.
2012-09-02 16:15:49 +02:00
* wantread
Test timeout in handshake() and receive().
* wantwrite
Test timeout in send().
* want
2014-01-29 20:47:27 +01:00
Test want() method.