This commit is contained in:
niko
2026-04-12 16:51:38 +02:00
parent 1b6f6d81d0
commit c12fbe3fc6
17828 changed files with 2994770 additions and 0 deletions
@@ -0,0 +1,41 @@
using System;
using System.Runtime.Serialization;
using Cpp2IlInjected;
namespace System.Security.Authentication
{
/// <summary>The exception that is thrown when authentication fails for an authentication stream.</summary>
// Token: 0x020001C8 RID: 456
[Token(Token = "0x20001C8")]
[Serializable]
public class AuthenticationException : SystemException
{
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Authentication.AuthenticationException" /> class with no message.</summary>
// Token: 0x06000C28 RID: 3112 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000C28")]
[Address(RVA = "0x7679B0", Offset = "0x7669B0", VA = "0x1807679B0")]
public AuthenticationException()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Authentication.AuthenticationException" /> class with the specified message and inner exception.</summary>
/// <param name="message">A <see cref="T:System.String" /> that describes the authentication failure.</param>
/// <param name="innerException">The <see cref="T:System.Exception" /> that is the cause of the current exception.</param>
// Token: 0x06000C29 RID: 3113 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000C29")]
[Address(RVA = "0x767A00", Offset = "0x766A00", VA = "0x180767A00")]
public AuthenticationException(string message, Exception innerException)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Authentication.AuthenticationException" /> class from the specified instances of the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> and <see cref="T:System.Runtime.Serialization.StreamingContext" /> classes.</summary>
/// <param name="serializationInfo">A <see cref="T:System.Runtime.Serialization.SerializationInfo" /> instance that contains the information required to deserialize the new <see cref="T:System.Security.Authentication.AuthenticationException" /> instance.</param>
/// <param name="streamingContext">A <see cref="T:System.Runtime.Serialization.StreamingContext" /> instance.</param>
// Token: 0x06000C2A RID: 3114 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000C2A")]
[Address(RVA = "0x7241B0", Offset = "0x7231B0", VA = "0x1807241B0")]
protected AuthenticationException(SerializationInfo serializationInfo, StreamingContext streamingContext)
{
}
}
}
@@ -0,0 +1,43 @@
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
}
}