TlsConnection.setUseSystemCertdb

Warning g_tls_connection_set_use_system_certdb has been deprecated since version 2.30 and should not be used in newly-written code. Use g_tls_connection_set_database() instead Sets whether conn uses the system certificate database to verify peer certificates. This is TRUE by default. If set to FALSE, then peer certificate validation will always set the G_TLS_CERTIFICATE_UNKNOWN_CA error (meaning "accept-certificate" will always be emitted on client-side connections, unless that bit is not set in "validation-flags").

class TlsConnection
void
setUseSystemCertdb

Parameters

useSystemCertdb int

whether to use the system certificate database

Meta