DtlsClientConnectionIfaceProxy

Proxy object for Gio.DtlsClientConnection interface when a GObject has no applicable D binding

class DtlsClientConnectionIfaceProxy : IfaceProxy , DtlsClientConnection {}

Mixed In Members

From mixin DtlsClientConnectionT!()

getServerIdentity
gio.socket_connectable.SocketConnectable getServerIdentity()

Gets conn's expected server identity

getValidationFlags
gio.types.TlsCertificateFlags getValidationFlags()

Gets conn's validation flags

setServerIdentity
void setServerIdentity(gio.socket_connectable.SocketConnectable identity)

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.

setValidationFlags
void setValidationFlags(gio.types.TlsCertificateFlags flags)

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.

Inherited Members

From DtlsClientConnection

new_
gio.dtls_client_connection.DtlsClientConnection new_(gio.datagram_based.DatagramBased baseSocket, gio.socket_connectable.SocketConnectable serverIdentity)

Creates a new #GDtlsClientConnection wrapping base_socket which is assumed to communicate with the server identified by server_identity.

getServerIdentity
gio.socket_connectable.SocketConnectable getServerIdentity()

Gets conn's expected server identity

getValidationFlags
gio.types.TlsCertificateFlags getValidationFlags()

Gets conn's validation flags

setServerIdentity
void setServerIdentity(gio.socket_connectable.SocketConnectable identity)

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.

setValidationFlags
void setValidationFlags(gio.types.TlsCertificateFlags flags)

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.