TlsBackend.setDefaultDatabase

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.

interface TlsBackend
void
setDefaultDatabase

Parameters

database gio.tls_database.TlsDatabase

the #GTlsDatabase