Gio.DtlsServerConnection¶
| Implementations: | |
|---|---|
| None | |
Virtual Methods¶
None
Properties¶
| Name | Type | Flags | Short Description |
|---|---|---|---|
authentication-mode |
Gio.TlsAuthenticationMode |
r/w | The client authentication mode |
Signals¶
None
Fields¶
None
Class Details¶
-
class
Gio.DtlsServerConnection¶ Bases: GObject.GInterfaceStructure: Gio.DtlsServerConnectionInterfaceGio.DtlsServerConnectionis the server-side subclass ofGio.DtlsConnection, representing a server-side DTLS connection.New in version 2.48.
-
classmethod
new(base_socket, certificate)[source]¶ Parameters: - base_socket (
Gio.DatagramBased) – theGio.DatagramBasedto wrap - certificate (
Gio.TlsCertificateorNone) – the default server certificate, orNone
Raises: Returns: the new
Gio.DtlsServerConnection, orNoneon errorReturn type: Creates a new
Gio.DtlsServerConnectionwrapping base_socket.New in version 2.48.
- base_socket (
-
classmethod
Property Details¶
-
Gio.DtlsServerConnection.props.authentication_mode¶ Name: authentication-modeType: Gio.TlsAuthenticationModeDefault Value: Gio.TlsAuthenticationMode.NONEFlags: READABLE,WRITABLEThe
Gio.TlsAuthenticationModefor the server. This can be changed before callingGio.DtlsConnection.handshake() if you want to rehandshake with a different mode from the initial handshake.New in version 2.48.