@@ -26,11 +26,11 @@
tls::init ?options?
tls::socket ?options? host port
tls::socket ?-server command?
?options? port
tls::handshake channel
- tls::status channel
+ tls::status ?-local? channel
tls::import channel ?options?
tls::ciphers protocol ?verbose?
COMMANDS
@@ -54,11 +54,11 @@
tls::init ?options?
tls::socket ?options? host
port
tls::socket ?-server command? ?options? port
-tls::status channel
+tls::status ?-local? channel
tls::handshake channel
tls::import channel ?options?
tls::ciphers
protocol ?verbose?
@@ -108,15 +108,18 @@
Forces handshake to take place, and returns 0 if
handshake is still in progress (non-blocking), or 1 if
the handshake was successful. If the handshake failed
this routine will throw an error.
- tls::status channel
+ tls::status
+ ?-local? channel
Returns the current security status of a SSL channel. The
result is a list of key value pairs describing the
connected peer. If the result is an empty list then the
- SSL handshake has not yet completed.
+ SSL handshake has not yet completed.
+ If -local is given, then the certificate information
+ is the one used locally.
- issuer dn
@@ -132,10 +135,12 @@
- serial n
- The serial number of the certificate.
- cipher cipher
- The current cipher in use between the client and
server channels.
+ - sbits n
+ - The number of bits used for the session key.
- tls::import channel