Method

GioTlsClientConnectionset_validation_flags

Declaration

void
g_tls_client_connection_set_validation_flags (
  GTlsClientConnection* conn,
  GTlsCertificateFlags flags
)

Description

Sets conns validation flags, to override the default set of checks performed when validating a server certificate. By default, G_TLS_CERTIFICATE_VALIDATE_ALL is used.

Available since:2.28

Parameters

flags GTlsCertificateFlags
 

The GTlsCertificateFlags to use.