Gio.TlsConnection.prototype.get_database

function get_database(): Gio.TlsDatabase {
    // Gjs wrapper for g_tls_connection_get_database()
}
  

Gets the certificate database that conn uses to verify peer certificates. See Gio.TlsConnection.prototype.set_database.

Since 2.30

Returns

the certificate database that conn uses or null