Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

44 lines
2.1 KiB
C#

using System;
using Cpp2IlInjected;
namespace System.Security.Authentication
{
/// <summary>Defines the possible versions of <see cref="T:System.Security.Authentication.SslProtocols" />.</summary>
// Token: 0x020001C9 RID: 457
[Token(Token = "0x20001C9")]
[Flags]
public enum SslProtocols
{
/// <summary>Allows the operating system to choose the best protocol to use, and to block protocols that are not secure. Unless your app has a specific reason not to, you should use this field.</summary>
// Token: 0x04000657 RID: 1623
[Token(Token = "0x4000657")]
None = 0,
/// <summary>Specifies the SSL 2.0 protocol. SSL 2.0 has been superseded by the TLS protocol and is provided for backward compatibility only.</summary>
// Token: 0x04000658 RID: 1624
[Token(Token = "0x4000658")]
Ssl2 = 12,
/// <summary>Specifies the SSL 3.0 protocol. SSL 3.0 has been superseded by the TLS protocol and is provided for backward compatibility only.</summary>
// Token: 0x04000659 RID: 1625
[Token(Token = "0x4000659")]
Ssl3 = 48,
/// <summary>Specifies the TLS 1.0 security protocol. The TLS protocol is defined in IETF RFC 2246.</summary>
// Token: 0x0400065A RID: 1626
[Token(Token = "0x400065A")]
Tls = 192,
/// <summary>Specifies the TLS 1.1 security protocol. The TLS protocol is defined in IETF RFC 4346.</summary>
// Token: 0x0400065B RID: 1627
[Token(Token = "0x400065B")]
[MonoTODO]
Tls11 = 768,
/// <summary>Specifies the TLS 1.2 security protocol. The TLS protocol is defined in IETF RFC 5246.</summary>
// Token: 0x0400065C RID: 1628
[Token(Token = "0x400065C")]
[MonoTODO]
Tls12 = 3072,
/// <summary>Use None instead of Default. Default permits only the Secure Sockets Layer (SSL) 3.0 or Transport Layer Security (TLS) 1.0 protocols to be negotiated, and those options are now considered obsolete. Consequently, Default is not allowed in many organizations. Despite the name of this field, <see cref="T:System.Net.Security.SslStream" /> does not use it as a default except under special circumstances.</summary>
// Token: 0x0400065D RID: 1629
[Token(Token = "0x400065D")]
Default = 240
}
}