SocketClient.setTlsValidationFlags

void setTlsValidationFlags(gio.types.TlsCertificateFlags flags)

Sets the TLS validation flags used when creating TLS connections via client. The default value is [gio.types.TlsCertificateFlags.ValidateAll].

This function does not work as originally designed and is impossible to use correctly. See #GSocketClient:tls-validation-flags for more information.

Parameters

flagsthe validation flags

Deprecated

Do not attempt to ignore validation errors.