Method

GioTlsConnectionset_use_system_certdb

deprecated: 2.30 

Declaration [src]

void
g_tls_connection_set_use_system_certdb (
  GTlsConnection* conn,
  gboolean use_system_certdb
)

Description [src]

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 GTlsConnection::accept-certificate will always be emitted on client-side connections, unless that bit is not set in GTlsClientConnection:validation-flags).

Deprecated since: 2.30

Use g_tls_connection_set_database() instead.

Parameters

use_system_certdb

Type: gboolean

Whether to use the system certificate database.