Session.setTlsDatabase

void setTlsDatabase(gio.tls_database.TlsDatabase tlsDatabase = null)

Set a classGIo.TlsDatabase to be used by session on new connections.

If tls_database is null then certificate validation will always fail. See propertySession:tls-database for more information.

Parameters

tlsDatabasea #GTlsDatabase