scripts
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace System.Security.Authentication
|
||||
{
|
||||
/// <summary>The exception that is thrown when authentication fails for an authentication stream.</summary>
|
||||
// Token: 0x02000279 RID: 633
|
||||
[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: 0x06001769 RID: 5993 RVA: 0x0004E110 File Offset: 0x0004C310
|
||||
public AuthenticationException()
|
||||
: base(global::Locale.GetText("Authentication exception."))
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Authentication.AuthenticationException" /> class with the specified message.</summary>
|
||||
/// <param name="message">A <see cref="T:System.String" /> that describes the authentication failure.</param>
|
||||
// Token: 0x0600176A RID: 5994 RVA: 0x0004E124 File Offset: 0x0004C324
|
||||
public AuthenticationException(string message)
|
||||
: base(message)
|
||||
{
|
||||
}
|
||||
|
||||
/// <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: 0x0600176B RID: 5995 RVA: 0x0004E130 File Offset: 0x0004C330
|
||||
public AuthenticationException(string message, Exception innerException)
|
||||
: base(message, 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: 0x0600176C RID: 5996 RVA: 0x0004E13C File Offset: 0x0004C33C
|
||||
protected AuthenticationException(SerializationInfo serializationInfo, StreamingContext streamingContext)
|
||||
: base(serializationInfo, streamingContext)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
using System;
|
||||
|
||||
namespace System.Security.Authentication
|
||||
{
|
||||
/// <summary>Defines the possible cipher algorithms for the <see cref="T:System.Net.Security.SslStream" /> class.</summary>
|
||||
// Token: 0x0200027A RID: 634
|
||||
public enum CipherAlgorithmType
|
||||
{
|
||||
/// <summary>No encryption algorithm is used.</summary>
|
||||
// Token: 0x040012A8 RID: 4776
|
||||
None,
|
||||
/// <summary>The Advanced Encryption Standard (AES) algorithm.</summary>
|
||||
// Token: 0x040012A9 RID: 4777
|
||||
Aes = 26129,
|
||||
/// <summary>The Advanced Encryption Standard (AES) algorithm with a 128 bit key.</summary>
|
||||
// Token: 0x040012AA RID: 4778
|
||||
Aes128 = 26126,
|
||||
/// <summary>The Advanced Encryption Standard (AES) algorithm with a 192 bit key.</summary>
|
||||
// Token: 0x040012AB RID: 4779
|
||||
Aes192,
|
||||
/// <summary>The Advanced Encryption Standard (AES) algorithm with a 256 bit key.</summary>
|
||||
// Token: 0x040012AC RID: 4780
|
||||
Aes256,
|
||||
/// <summary>The Data Encryption Standard (DES) algorithm.</summary>
|
||||
// Token: 0x040012AD RID: 4781
|
||||
Des = 26113,
|
||||
/// <summary>Rivest's Code 2 (RC2) algorithm.</summary>
|
||||
// Token: 0x040012AE RID: 4782
|
||||
Rc2,
|
||||
/// <summary>Rivest's Code 4 (RC4) algorithm.</summary>
|
||||
// Token: 0x040012AF RID: 4783
|
||||
Rc4 = 26625,
|
||||
/// <summary>The Triple Data Encryption Standard (3DES) algorithm.</summary>
|
||||
// Token: 0x040012B0 RID: 4784
|
||||
TripleDes = 26115
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
|
||||
namespace System.Security.Authentication
|
||||
{
|
||||
/// <summary>Specifies the algorithm used to create keys shared by the client and server.</summary>
|
||||
// Token: 0x0200027B RID: 635
|
||||
public enum ExchangeAlgorithmType
|
||||
{
|
||||
/// <summary>No key exchange algorithm is used.</summary>
|
||||
// Token: 0x040012B2 RID: 4786
|
||||
None,
|
||||
/// <summary>The Diffie Hellman ephemeral key exchange algorithm.</summary>
|
||||
// Token: 0x040012B3 RID: 4787
|
||||
DiffieHellman = 43522,
|
||||
/// <summary>The RSA public-key exchange algorithm.</summary>
|
||||
// Token: 0x040012B4 RID: 4788
|
||||
RsaKeyX = 41984,
|
||||
/// <summary>The RSA public-key signature algorithm.</summary>
|
||||
// Token: 0x040012B5 RID: 4789
|
||||
RsaSign = 9216
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
|
||||
namespace System.Security.Authentication
|
||||
{
|
||||
/// <summary>Specifies the algorithm used for generating message authentication codes (MACs).</summary>
|
||||
// Token: 0x0200027C RID: 636
|
||||
public enum HashAlgorithmType
|
||||
{
|
||||
/// <summary>No hashing algorithm is used.</summary>
|
||||
// Token: 0x040012B7 RID: 4791
|
||||
None,
|
||||
/// <summary>The Message Digest 5 (MD5) hashing algorithm.</summary>
|
||||
// Token: 0x040012B8 RID: 4792
|
||||
Md5 = 32771,
|
||||
/// <summary>The Secure Hashing Algorithm (SHA1).</summary>
|
||||
// Token: 0x040012B9 RID: 4793
|
||||
Sha1
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace System.Security.Authentication
|
||||
{
|
||||
/// <summary>The exception that is thrown when authentication fails for an authentication stream and cannot be retried.</summary>
|
||||
// Token: 0x0200027D RID: 637
|
||||
[Serializable]
|
||||
public class InvalidCredentialException : AuthenticationException
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Authentication.InvalidCredentialException" /> class with no message. </summary>
|
||||
// Token: 0x0600176D RID: 5997 RVA: 0x0004E148 File Offset: 0x0004C348
|
||||
public InvalidCredentialException()
|
||||
: base(global::Locale.GetText("Invalid credentials exception."))
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Authentication.InvalidCredentialException" /> class with the specified message.</summary>
|
||||
/// <param name="message">A <see cref="T:System.String" /> that describes the authentication failure.</param>
|
||||
// Token: 0x0600176E RID: 5998 RVA: 0x0004E15C File Offset: 0x0004C35C
|
||||
public InvalidCredentialException(string message)
|
||||
: base(message)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Authentication.InvalidCredentialException" /> 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: 0x0600176F RID: 5999 RVA: 0x0004E168 File Offset: 0x0004C368
|
||||
public InvalidCredentialException(string message, Exception innerException)
|
||||
: base(message, innerException)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Authentication.InvalidCredentialException" /> 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.InvalidCredentialException" /> instance. </param>
|
||||
/// <param name="streamingContext">A <see cref="T:System.Runtime.Serialization.StreamingContext" /> instance. </param>
|
||||
// Token: 0x06001770 RID: 6000 RVA: 0x0004E174 File Offset: 0x0004C374
|
||||
protected InvalidCredentialException(SerializationInfo serializationInfo, StreamingContext streamingContext)
|
||||
: base(serializationInfo, streamingContext)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
|
||||
namespace System.Security.Authentication
|
||||
{
|
||||
/// <summary>Defines the possible versions of <see cref="T:System.Security.Authentication.SslProtocols" />.</summary>
|
||||
// Token: 0x0200027E RID: 638
|
||||
[Flags]
|
||||
public enum SslProtocols
|
||||
{
|
||||
/// <summary>No SSL protocol is specified.</summary>
|
||||
// Token: 0x040012BB RID: 4795
|
||||
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: 0x040012BC RID: 4796
|
||||
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: 0x040012BD RID: 4797
|
||||
Ssl3 = 48,
|
||||
/// <summary>Specifies the TLS 1.0 security protocol. The TLS protocol is defined in IETF RFC 2246.</summary>
|
||||
// Token: 0x040012BE RID: 4798
|
||||
Tls = 192,
|
||||
/// <summary>Specifies that either Secure Sockets Layer (SSL) 3.0 or Transport Layer Security (TLS) 1.0 are acceptable for secure communications</summary>
|
||||
// Token: 0x040012BF RID: 4799
|
||||
Default = 240
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user