|Function||avi.ssl.cipher( [true] )|
|Description||Returns the name of the ciphersuite negotiated for the SSL/TLS connection between the client and the virtual service, and may optionally include the version, key exchange method (Kx), authentication method (Au), encryption method (Enc), and MAC selected (Mac). The returned ciphersuite information is in OpenSSL format. See www.openssl.org/docs/manmaster/apps/ciphers.html for examples of OpenSSL formatted ciphersuites.|
|Parameter||Optional boolean true. When this parameter is not specified, only the ciphersuite name is returned. When the true flag is set, this function returns ciphersuite, version, authentication method, encryption method, and MAC selected. These values are presented as a space separated string.|
|Returns||A string value containing the cipher information for the SSL/TLS connection. When the true flag is set, values are returned as a space separated string.|
|Example 1||Gracefully deny clients connecting with unsupported ciphers.
|Example 2||Insert a header to the server indicating the key exchange method negotiated with the client.
Updated: 2018-01-19 07:12:37 +0000