TlsRehandshakeMode#

Added in version 2.28.

Deprecated since version 2.60.: Changing the rehandshake mode is no longer required for compatibility. Also, rehandshaking has been removed from the TLS protocol in TLS 1.3.

class TlsRehandshakeMode#

When to allow rehandshaking. See set_rehandshake_mode().

Fields#

class TlsRehandshakeMode
NEVER#

Never allow rehandshaking

SAFELY#

Allow safe rehandshaking only

UNSAFELY#

Allow unsafe rehandshaking