Gio.DtlsServerConnection¶
- Implementations:
None
Methods¶
class |
|
Virtual Methods¶
None
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w |
Signals¶
None
Fields¶
None
Class Details¶
- class Gio.DtlsServerConnection¶
- Bases:
- Structure:
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:
base_socket (
Gio.DatagramBased
) – theGio.DatagramBased
to wrapcertificate (
Gio.TlsCertificate
orNone
) – the default server certificate, orNone
- Raises:
- Returns:
the new
Gio.DtlsServerConnection
, orNone
on error- Return type:
Creates a new
Gio.DtlsServerConnection
wrapping base_socket.New in version 2.48.
Property Details¶
- Gio.DtlsServerConnection.props.authentication_mode¶
- Name:
authentication-mode
- Type:
- Default Value:
- Flags:
The
Gio.TlsAuthenticationMode
for 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.