get_ciphersuite_name


Description:

[ Version ( since = "2.70" ) ]
public string? get_ciphersuite_name ()

Returns the name of the current TLS ciphersuite, or null if the connection has not handshaked or has been closed.

Beware that the TLS backend may use any of multiple different naming conventions, because OpenSSL and GnuTLS have their own ciphersuite naming conventions that are different from each other and different from the standard, IANA- registered ciphersuite names. The ciphersuite name is intended to be displayed to the user for informative purposes only, and parsing it is not recommended.

Parameters:

this

a TlsConnection

Returns:

The name of the current TLS ciphersuite, or null