Gio.DtlsConnection.get_ciphersuite_name

### Method

# Gio DtlsConnectionget_ciphersuite_name

since: 2.70

#### Declaration [src]

    gchar*
    g_dtls_connection_get_ciphersuite_name (
      GDtlsConnection* conn
    )

#### Description [src]

Returns the name of the current DTLS 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.

Available since: 2.70

Gets property | `Gio.DtlsConnection:ciphersuite-name`

#### Return value

Type: `gchar*`

The name of the current DTLS ciphersuite, or `NULL`.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The return value can be `NULL`.
The value is a NUL terminated UTF-8 string.