SSL:cipher()
Returns the cipher in the handshake.
Syntax
SSL:cipher();
Arguments
N/A
Events
Applicable in the following events:
-
CLIENTSSL_HANDSHAKE
-
SERVERSSL_HANDSHAKE
Example
when CLIENTSSL_HANDSHAKE{
debug("client_handshake\n")
ci=SSL:cipher();
debug("Cipher: %s \n",ci);
}
Result: (if client send https request with cipher ECDHE-RSA-DES-CBC3-SHA)
Cipher: ECDHE-RSA-DES-CBC3-SHA
Supported Version
FortiADC version 5.0.x and later.