before calling [gio.tls_connection.TlsConnection.handshake] if you want to rehandshake with a different mode from the initial handshake.
TlsServerConnection.authenticationMode
gio.types.TlsAuthenticationMode authenticationMode() @propertyGet authenticationMode property.
Returns
The #GTlsAuthenticationMode for the server. This can be changed
void authenticationMode(gio.types.TlsAuthenticationMode propval) @propertySet authenticationMode property.
Parameters
propval | The #GTlsAuthenticationMode for the server. This can be changed before calling [gio.tls_connection.TlsConnection.handshake] if you want to rehandshake with a different mode from the initial handshake. |