Gio.DtlsServerConnection¶
interface
GDtlsServerConnection is the server-side subclass of
DtlsConnection, representing a server-side DTLS connection.
Static functions¶
new¶
@staticmethod
def new(base_socket: DatagramBased, certificate: TlsCertificate | None = ...) -> DtlsServerConnection
Creates a new DtlsServerConnection wrapping base_socket.
Parameters:
base_socket— theDatagramBasedto wrapcertificate— the default server certificate, orNone
Properties¶
authentication_mode¶
The TlsAuthenticationMode for the server. This can be changed
before calling DtlsConnection.handshake if you want to
rehandshake with a different mode from the initial handshake.