| Value | Meaning |
|---|---|
| Never0 | Never allow rehandshaking |
| Safely1 | Allow safe rehandshaking only |
| Unsafely2 | Allow unsafe rehandshaking |
Deprecated: Changing the rehandshake mode is no longer required for compatibility. Also, rehandshaking has been removed from the TLS protocol in TLS 1.3.
When to allow rehandshaking. See gio.tls_connection.TlsConnection.setRehandshakeMode.