set_use_system_certdb


Description:

[ Version ( deprecated = true , deprecated_since = "2.30" ) ]
public void set_use_system_certdb (bool use_system_certdb)

Warning: set_use_system_certdb is deprecated since 2.30.

Sets whether this uses the system certificate database to verify peer certificates.

Note:

Use set_database instead

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).

Parameters:

this

a TlsConnection

use_system_certdb

whether to use the system certificate database




2022 vala-language.org