DtlsServerConnection#
Added in version 2.48.
- class DtlsServerConnection(*args, **kwargs)#
GDtlsServerConnection is the server-side subclass of
DtlsConnection, representing a server-side DTLS connection.
Methods#
- class DtlsServerConnection
- classmethod new(base_socket: DatagramBased, certificate: TlsCertificate | None = None) DtlsServerConnection#
Creates a new
GDtlsServerConnectionwrappingbase_socket.Added in version 2.48.
- Parameters:
base_socket – the
DatagramBasedto wrapcertificate – the default server certificate, or
None
Properties#
- class DtlsServerConnection
- props.authentication_mode: TlsAuthenticationMode#
The
TlsAuthenticationModefor the server. This can be changed before callinghandshake()if you want to rehandshake with a different mode from the initial handshake.Added in version 2.48.