set_tls_validation_flags


Description:

[ Version ( deprecated = true , deprecated_since = "2.72" , since = "2.28" ) ]
public void set_tls_validation_flags (TlsCertificateFlags flags)

Warning: set_tls_validation_flags is deprecated since 2.72.

Sets the TLS validation flags used when creating TLS connections via this.

Note:

Do not attempt to ignore validation errors.

The default value is g_tls_certificate_validate_all.

This function does not work as originally designed and is impossible to use correctly. See tls_validation_flags for more information.

Parameters:

this

a SocketClient.

flags

the validation flags




2022 vala-language.org