Gio.DtlsServerConnection

g GObject.GInterface GObject.GInterface Gio.DtlsServerConnection Gio.DtlsServerConnection GObject.GInterface->Gio.DtlsServerConnection

Implementations:

None

Methods

class

new (base_socket, certificate)

Virtual Methods

None

Properties

Name

Type

Flags

Short Description

authentication-mode

Gio.TlsAuthenticationMode

r/w

Signals

None

Fields

None

Class Details

class Gio.DtlsServerConnection
Bases:

GObject.GInterface

Structure:

Gio.DtlsServerConnectionInterface

GDtlsServerConnection is the server-side subclass of [iface`Gio`.DtlsConnection], representing a server-side DTLS connection.

New in version 2.48.

classmethod new(base_socket, certificate)[source]
Parameters:
Raises:

GLib.Error

Returns:

the new Gio.DtlsServerConnection, or None on error

Return type:

Gio.DtlsServerConnection

Creates a new Gio.DtlsServerConnection wrapping base_socket.

New in version 2.48.

Property Details

Gio.DtlsServerConnection.props.authentication_mode
Name:

authentication-mode

Type:

Gio.TlsAuthenticationMode

Default Value:

Gio.TlsAuthenticationMode.NONE

Flags:

READABLE, WRITABLE

The Gio.TlsAuthenticationMode for the server. This can be changed before calling Gio.DtlsConnection.handshake() if you want to rehandshake with a different mode from the initial handshake.

New in version 2.48.