Gio.DtlsConnection.get_certificate

### Method

# Gio DtlsConnectionget_certificate

since: 2.48

#### Declaration [src]

    GTlsCertificate*
    g_dtls_connection_get_certificate (
      GDtlsConnection* conn
    )

#### Description [src]

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 returned data is owned by the instance.
The return value can be `NULL`.