a
This commit is contained in:
+174
@@ -0,0 +1,174 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls
|
||||
{
|
||||
// Token: 0x02001AFB RID: 6907
|
||||
[Token(Token = "0x2001AFB")]
|
||||
public abstract class AlertDescription
|
||||
{
|
||||
// Token: 0x0600ABD6 RID: 43990 RVA: 0x002565B0 File Offset: 0x002547B0
|
||||
[Token(Token = "0x600ABD6")]
|
||||
[Address(RVA = "0x18A6CC0", Offset = "0x18A5AC0", VA = "0x1818A6CC0")]
|
||||
public static string GetName(byte alertDescription)
|
||||
{
|
||||
return "user_canceled";
|
||||
}
|
||||
|
||||
// Token: 0x0600ABD7 RID: 43991 RVA: 0x0025667C File Offset: 0x0025487C
|
||||
[Token(Token = "0x600ABD7")]
|
||||
[Address(RVA = "0x18A6FA0", Offset = "0x18A5DA0", VA = "0x1818A6FA0")]
|
||||
public static string GetText(byte alertDescription)
|
||||
{
|
||||
object[] array = new object[4];
|
||||
if ("bad_record_mac" != 0)
|
||||
{
|
||||
}
|
||||
array[0] = "bad_record_mac";
|
||||
if ("(" != 0)
|
||||
{
|
||||
}
|
||||
array[1] = "(";
|
||||
if ("(" != 0)
|
||||
{
|
||||
}
|
||||
array[2] = "(";
|
||||
if (")" != 0)
|
||||
{
|
||||
}
|
||||
array[3] = ")";
|
||||
return string.Concat(array);
|
||||
}
|
||||
|
||||
// Token: 0x0600ABD8 RID: 43992 RVA: 0x002566EC File Offset: 0x002548EC
|
||||
[Token(Token = "0x600ABD8")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
protected AlertDescription()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04006CD5 RID: 27861
|
||||
[Token(Token = "0x4006CD5")]
|
||||
public const byte close_notify = 0;
|
||||
|
||||
// Token: 0x04006CD6 RID: 27862
|
||||
[Token(Token = "0x4006CD6")]
|
||||
public const byte unexpected_message = 10;
|
||||
|
||||
// Token: 0x04006CD7 RID: 27863
|
||||
[Token(Token = "0x4006CD7")]
|
||||
public const byte bad_record_mac = 20;
|
||||
|
||||
// Token: 0x04006CD8 RID: 27864
|
||||
[Token(Token = "0x4006CD8")]
|
||||
public const byte decryption_failed = 21;
|
||||
|
||||
// Token: 0x04006CD9 RID: 27865
|
||||
[Token(Token = "0x4006CD9")]
|
||||
public const byte record_overflow = 22;
|
||||
|
||||
// Token: 0x04006CDA RID: 27866
|
||||
[Token(Token = "0x4006CDA")]
|
||||
public const byte decompression_failure = 30;
|
||||
|
||||
// Token: 0x04006CDB RID: 27867
|
||||
[Token(Token = "0x4006CDB")]
|
||||
public const byte handshake_failure = 40;
|
||||
|
||||
// Token: 0x04006CDC RID: 27868
|
||||
[Token(Token = "0x4006CDC")]
|
||||
public const byte no_certificate = 41;
|
||||
|
||||
// Token: 0x04006CDD RID: 27869
|
||||
[Token(Token = "0x4006CDD")]
|
||||
public const byte bad_certificate = 42;
|
||||
|
||||
// Token: 0x04006CDE RID: 27870
|
||||
[Token(Token = "0x4006CDE")]
|
||||
public const byte unsupported_certificate = 43;
|
||||
|
||||
// Token: 0x04006CDF RID: 27871
|
||||
[Token(Token = "0x4006CDF")]
|
||||
public const byte certificate_revoked = 44;
|
||||
|
||||
// Token: 0x04006CE0 RID: 27872
|
||||
[Token(Token = "0x4006CE0")]
|
||||
public const byte certificate_expired = 45;
|
||||
|
||||
// Token: 0x04006CE1 RID: 27873
|
||||
[Token(Token = "0x4006CE1")]
|
||||
public const byte certificate_unknown = 46;
|
||||
|
||||
// Token: 0x04006CE2 RID: 27874
|
||||
[Token(Token = "0x4006CE2")]
|
||||
public const byte illegal_parameter = 47;
|
||||
|
||||
// Token: 0x04006CE3 RID: 27875
|
||||
[Token(Token = "0x4006CE3")]
|
||||
public const byte unknown_ca = 48;
|
||||
|
||||
// Token: 0x04006CE4 RID: 27876
|
||||
[Token(Token = "0x4006CE4")]
|
||||
public const byte access_denied = 49;
|
||||
|
||||
// Token: 0x04006CE5 RID: 27877
|
||||
[Token(Token = "0x4006CE5")]
|
||||
public const byte decode_error = 50;
|
||||
|
||||
// Token: 0x04006CE6 RID: 27878
|
||||
[Token(Token = "0x4006CE6")]
|
||||
public const byte decrypt_error = 51;
|
||||
|
||||
// Token: 0x04006CE7 RID: 27879
|
||||
[Token(Token = "0x4006CE7")]
|
||||
public const byte export_restriction = 60;
|
||||
|
||||
// Token: 0x04006CE8 RID: 27880
|
||||
[Token(Token = "0x4006CE8")]
|
||||
public const byte protocol_version = 70;
|
||||
|
||||
// Token: 0x04006CE9 RID: 27881
|
||||
[Token(Token = "0x4006CE9")]
|
||||
public const byte insufficient_security = 71;
|
||||
|
||||
// Token: 0x04006CEA RID: 27882
|
||||
[Token(Token = "0x4006CEA")]
|
||||
public const byte internal_error = 80;
|
||||
|
||||
// Token: 0x04006CEB RID: 27883
|
||||
[Token(Token = "0x4006CEB")]
|
||||
public const byte user_canceled = 90;
|
||||
|
||||
// Token: 0x04006CEC RID: 27884
|
||||
[Token(Token = "0x4006CEC")]
|
||||
public const byte no_renegotiation = 100;
|
||||
|
||||
// Token: 0x04006CED RID: 27885
|
||||
[Token(Token = "0x4006CED")]
|
||||
public const byte unsupported_extension = 110;
|
||||
|
||||
// Token: 0x04006CEE RID: 27886
|
||||
[Token(Token = "0x4006CEE")]
|
||||
public const byte certificate_unobtainable = 111;
|
||||
|
||||
// Token: 0x04006CEF RID: 27887
|
||||
[Token(Token = "0x4006CEF")]
|
||||
public const byte unrecognized_name = 112;
|
||||
|
||||
// Token: 0x04006CF0 RID: 27888
|
||||
[Token(Token = "0x4006CF0")]
|
||||
public const byte bad_certificate_status_response = 113;
|
||||
|
||||
// Token: 0x04006CF1 RID: 27889
|
||||
[Token(Token = "0x4006CF1")]
|
||||
public const byte bad_certificate_hash_value = 114;
|
||||
|
||||
// Token: 0x04006CF2 RID: 27890
|
||||
[Token(Token = "0x4006CF2")]
|
||||
public const byte unknown_psk_identity = 115;
|
||||
|
||||
// Token: 0x04006CF3 RID: 27891
|
||||
[Token(Token = "0x4006CF3")]
|
||||
public const byte inappropriate_fallback = 86;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user