Sets this's validation flags, to override the default set of checks performed when validating a server certificate.
By default, g_tls_certificate_validate_all is used.
the TlsClientConnection
the TlsCertificateFlags to use