Index: doc/tls.html ================================================================== --- doc/tls.html +++ doc/tls.html @@ -33,11 +33,11 @@
 
tls::ciphers ?protocol? ?verbose? ?supported?
tls::protocols
tls::version
 
-
tls::digest type ?-bin|-hex? [-file filename | -chan channel | ?-data? data]
+
tls::digest type ?-bin|-hex? ?-key hmac_key? [-file filename | -chan channel | ?-data? data]
tls::digests
tls::md4 data
tls::md5 data
tls::sha1 data
tls::sha256 data
@@ -73,11 +73,11 @@
tls::ciphers ?protocol? ?verbose? ?supported?
tls::protocols
tls::version

-tls::digest type ?-bin|-hex? [-file filename | -chan channel | ?-data? data]
+tls::digest type ?-bin|-hex? ?-key hmac_key? [-file filename | -chan channel | ?-data? data]
tls::digests
tls::md4 data
tls::md5 data
tls::sha1 data
tls::sha256 data
@@ -448,20 +448,21 @@
tls::version
Returns the OpenSSL version string.

tls::digest type ?-bin|-hex? - [-file filename | -chan channel | ?-data? data]
+ ?-key hmac_key? [-file filename | -chan channel | ?-data? data]
Calculate the message digest for data or file filename using type hash algorithm. Returns value as a hex string (default) or as a binary value with -bin option. Using -chan option, a stacked channel is created and data read from the channel is used to calculate a message digest with the result - returned with the last read operation before EOF. Type can be - any OpenSSL supported hash algorithm including: md4, md5, - sha1, sha256, sha512, sha3-256, etc. - See tls::digests command for a full list.
+ returned with the last read operation before EOF. Use -key to + specify the key and return a Hashed Message Authentication Code (HMAC). + Type can be any OpenSSL supported hash algorithm including: md4, + md5, sha1, sha256, sha512, sha3-256, + etc. See tls::digests command for a full list.
tls::digests
Returns a list of the hash algorithms for tls::digest command.
tls::md4 data