TlsBackend.setDefaultDatabase

void setDefaultDatabase(gio.tls_database.TlsDatabase database = null)

Set the default #GTlsDatabase used to verify TLS connections

Any subsequent call to [gio.tls_backend.TlsBackend.getDefaultDatabase] will return the database set in this call. Existing databases and connections are not modified.

Setting a null default database will reset to using the system default database as if [gio.tls_backend.TlsBackend.setDefaultDatabase] had never been called.

Parameters

databasethe #GTlsDatabase