Gio.TlsConnection.get_database

### Method

# Gio TlsConnectionget_database

since: 2.30

#### Declaration

    GTlsDatabase*
    g_tls_connection_get_database (
      GTlsConnection* conn
    )

#### Description

Gets the certificate database that `conn` uses to verify peer certificates. See g_tls_connection_set_database().

Available since: 2.30

Gets property | `Gio.TlsConnection:database`

#### Return value

Type: `GTlsDatabase`

The certificate database that `conn` uses or `NULL`.

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