@@ -28,11 +28,11 @@
tls::status ?-local? channel
tls::connection channel
tls::import channel ?options?
tls::unimport channel
 
-
tls::ciphers protocol ?verbose?
+
tls::ciphers protocol ?verbose? ?supported?
tls::protocols
tls::version
COMMANDS
@@ -61,11 +61,11 @@ tls::connection channel
tls::handshake channel
tls::import channel ?options?
tls::unimport channel

-tls::ciphers protocol ?verbose?
+tls::ciphers protocol ?verbose? ?supported?
tls::protocols tls::version

DESCRIPTION

@@ -135,12 +135,19 @@ the SSL_CERT_FILE environment variable.
-cert filename
Specify the contents of a certificate to use, as a DER encoded binary value (X.509 DER).
-cipher string
-
List of ciphers to use. See OpenSSL documentation for the full - list of valid values.
+
List of ciphers to use. String is a colon (":") separated list + of ciphers or cipher suites. Cipher suites can be combined + using the + character. Prefixes can be used to permanently + remove ("!"), delete ("-"), or move a cypher to the end of + the list ("+"). Keywords @STRENGTH (sort by algorithm + key length), @SECLEVEL=n (set security level to + n), and DEFAULT (use default cipher list, at start only) + can also be specified. See OpenSSL documentation for the full + list of valid values. (TLS 1.2 and earlier only)
-command callback
Callback to invoke at several points during the handshake. This is used to pass errors and tracing information, and it can allow Tcl scripts to perform their own certificate validation in place of the default validation provided by @@ -283,16 +290,18 @@
Whether the session has been reused or not.
tls::ciphers - protocol ?verbose?
+ protocol ?verbose? ?supported?
Returns a list of supported ciphers available for protocol, where protocol must be one of ssl2, ssl3, tls1, tls1.1, tls1.2, or tls1.3. If verbose is specified as true then a verbose, human readable list is returned with - additional information on the cipher.
+ additional information on the cipher. If supported + is specified as true, then only the ciphers supported for protocol + will be listed.
tls::protocols
Returns a list of supported protocols. Valid values are: ssl2, ssl3, tls1, tls1.1, tls1.2, and tls1.3.