set_validation_flags


Description:

[ Version ( deprecated = true , deprecated_since = "2.74" , since = "2.48" ) ]
public void set_validation_flags (TlsCertificateFlags flags)

Warning: set_validation_flags is deprecated since 2.74.

Sets this's validation flags, to override the default set of checks performed when validating a server certificate.

Note:

Do not attempt to ignore validation errors.

By default, g_tls_certificate_validate_all is used.

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

Parameters:

this

the DtlsClientConnection

flags

the TlsCertificateFlags to use