### Method

# Gio TlsConnection get_database

since: 2.30

#### Declaration [src]

    GTlsDatabase*
    g_tls_connection_get_database (
      GTlsConnection* conn
    )

#### Description [src]

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