mirror of
https://github.com/brunoos/luasec.git
synced 2024-11-09 23:18:26 +01:00
50 lines
914 B
Plaintext
50 lines
914 B
Plaintext
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.
|