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.GInterface- Structure: - Gio.DtlsServerConnectionInterface- Gio.DtlsServerConnectionis the server-side subclass of- Gio.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, or- Noneon error- Return 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-mode- Type: - Gio.TlsAuthenticationMode- Default Value: - Gio.TlsAuthenticationMode.NONE- Flags: - READABLE,- WRITABLE- The - Gio.TlsAuthenticationModefor 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.