Gio.DtlsConnection.get_certificate

### Method

# Gio DtlsConnectionget_certificate

since: 2.48

#### Declaration

    GTlsCertificate*
    g_dtls_connection_get_certificate (
      GDtlsConnection* conn
    )

#### Description

Gets `conn`‘s certificate, as set by g_dtls_connection_set_certificate().

Available since: 2.48

Gets property | `Gio.DtlsConnection:certificate`

#### Return value

Type: `GTlsCertificate`

`conn`‘s certificate, or `NULL`.

The data is owned by the instance.
The return value can be `NULL`.