3 namespace Mono.Security.Interface
6 // Keep in sync with SchProtocols / native SChannel.h
7 // Unfortunately, the definition in System.dll is not public, so we need to duplicate it here.
8 public enum TlsProtocols {
10 Tls10Client = 0x00000080,
11 Tls10Server = 0x00000040,
12 Tls10 = (Tls10Client | Tls10Server),
13 Tls11Client = 0x00000200,
14 Tls11Server = 0x00000100,
15 Tls11 = (Tls11Client | Tls11Server),
16 Tls12Client = 0x00000800,
17 Tls12Server = 0x00000400,
18 Tls12 = (Tls12Client | Tls12Server),
19 ClientMask = (Tls10Client | Tls11Client | Tls12Client),
20 ServerMask = (Tls10Server | Tls11Server | Tls12Server)