tls_database


Description:

[ NoAccessorMethod ]
[ Version ( since = "2.38" ) ]
public TlsDatabase tls_database { owned get; set; }

Sets the TlsDatabase to use for validating SSL/TLS certificates.

Note that setting the ssl_ca_file or ssl_use_system_ca_file property will cause this property to be set to a TlsDatabase corresponding to the indicated file or system default.

See ssl_strict for more information on how https certificate validation is handled.

If you are using a plain Session then ssl_use_system_ca_file will be true by default, and so this property will be a copy of the system CA database. If you are using SessionAsync or SessionSync, on libsoup older than 2.74.0, this property will be null by default.