DtlsClientConnectionIfaceProxy

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

class DtlsClientConnectionIfaceProxy : IfaceProxy , DtlsClientConnection {}

Mixed In Members

From mixin DtlsClientConnectionT!()

serverIdentity
gio.socket_connectable.SocketConnectable serverIdentity [@property getter]

Get serverIdentity property.

serverIdentity
gio.socket_connectable.SocketConnectable serverIdentity [@property setter]

Set serverIdentity property.

validationFlags
gio.types.TlsCertificateFlags validationFlags [@property getter]

Get validationFlags property.

validationFlags
gio.types.TlsCertificateFlags validationFlags [@property setter]

Set validationFlags property.

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

getGType
GType getGType()
serverIdentity
gio.socket_connectable.SocketConnectable serverIdentity [@property getter]

Get serverIdentity property.

serverIdentity
gio.socket_connectable.SocketConnectable serverIdentity [@property setter]

Set serverIdentity property.

validationFlags
gio.types.TlsCertificateFlags validationFlags [@property getter]

Get validationFlags property.

validationFlags
gio.types.TlsCertificateFlags validationFlags [@property setter]

Set validationFlags property.

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.