Specifies secure connection options.

Namespace:  Rebex.Net
Assembly:  Rebex.Networking (in Rebex.Networking.dll)

Syntax

Visual Basic
<FlagsAttribute> _
Public Enumeration TlsOptions
C#
[FlagsAttribute]
public enum TlsOptions

Members

Member nameDescription
None
No options.
DoNotCacheSessions
Do not cache any sessions.
StayConnected
This option is no longer supported.
DoNotInsertEmptyFragment
Do not send empty record after successful handshake with CBC ciphers.
SkipRollbackDetection
Ignore the client version in premaster secret. This only affects server sockets.
SilentUnprotect
Forces the Unprotect()()()() method to do immediate unprotect without exchange of CloseNotify alert messages. This is in violation of the RFC, but some broken servers need it, unfortunately.
Reserved
This option is currently unused.
AllowCloseWhileNegotiating
Causes an exception not to be thrown when a socket is closed by the server during negotiation. Instead, the negotiation will appear as successful, followed by an immediate socket closure.
SilentClose
Forces the Close()()()() method to do immediate close without exchange of CloseNotify alert messages. This is in violation of the RFC, but some broken servers (IIS with TLS 1.1) need it, unfortunately.
DisableRenegotiationExtension
Disables Renegotiation Indication Extension (RFC 5746).
DisableServerNameIndication
Disables Server Name Indication Extension (RFC 6066).

Version Information

.NET Framework

Supported in: 4.8, 4.7.x, 4.6.x, 4.5.x, 4.0, 3.5 SP1

.NET Standard 2.0

Supported in: .NET Core 3.1, 3.0, 2.1; Xamarin.Android 9.1 (or higher); Xamarin.iOS 10.3 (or higher)

See Also