DtlsServerConnection.authenticationMode

gio.types.TlsAuthenticationMode authenticationMode() @property

Get authenticationMode property.

Returns

The #GTlsAuthenticationMode for the server. This can be changed

before calling [gio.dtls_connection.DtlsConnection.handshake] if you want to rehandshake with a different mode from the initial handshake.

void authenticationMode(gio.types.TlsAuthenticationMode propval) @property

Set authenticationMode property.

Parameters

propvalThe #GTlsAuthenticationMode for the server. This can be changed before calling [gio.dtls_connection.DtlsConnection.handshake] if you want to rehandshake with a different mode from the initial handshake.