Gets conn's expected server identity
Gets conn's validation flags
Sets conn's expected server identity, which is used both to tell servers on virtual hosts which certificate to present, and also to let conn know what name to look for in the certificate when performing gio.types.TlsCertificateFlags.BadIdentity validation, if enabled.
Sets conn's validation flags, to override the default set of checks performed when validating a server certificate. By default, gio.types.TlsCertificateFlags.ValidateAll is used.
Creates a new #GDtlsClientConnection wrapping base_socket which is assumed to communicate with the server identified by server_identity.
gio.dtls_client_connection.DtlsClientConnection is the client-side subclass of gio.dtls_connection.DtlsConnection, representing a client-side DTLS connection.