60 lines
1.4 KiB
C#
60 lines
1.4 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls
|
|
{
|
|
// Token: 0x02001AFC RID: 6908
|
|
[Token(Token = "0x2001AFC")]
|
|
public abstract class AlertLevel
|
|
{
|
|
// Token: 0x0600ABD9 RID: 43993 RVA: 0x00256700 File Offset: 0x00254900
|
|
[Token(Token = "0x600ABD9")]
|
|
[Address(RVA = "0x18A7410", Offset = "0x18A6210", VA = "0x1818A7410")]
|
|
public static string GetName(byte alertDescription)
|
|
{
|
|
return "warning";
|
|
}
|
|
|
|
// Token: 0x0600ABDA RID: 43994 RVA: 0x00256714 File Offset: 0x00254914
|
|
[Token(Token = "0x600ABDA")]
|
|
[Address(RVA = "0x18A7460", Offset = "0x18A6260", VA = "0x1818A7460")]
|
|
public static string GetText(byte alertDescription)
|
|
{
|
|
object[] array = new object[4];
|
|
string text;
|
|
if (text != 0)
|
|
{
|
|
}
|
|
array[0] = text;
|
|
if ("(" != 0)
|
|
{
|
|
}
|
|
array[1] = "(";
|
|
if ("(" != 0)
|
|
{
|
|
}
|
|
array[2] = "(";
|
|
if (")" != 0)
|
|
{
|
|
}
|
|
array[3] = ")";
|
|
return string.Concat(array);
|
|
}
|
|
|
|
// Token: 0x0600ABDB RID: 43995 RVA: 0x0025677C File Offset: 0x0025497C
|
|
[Token(Token = "0x600ABDB")]
|
|
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
|
protected AlertLevel()
|
|
{
|
|
}
|
|
|
|
// Token: 0x04006CF4 RID: 27892
|
|
[Token(Token = "0x4006CF4")]
|
|
public const byte warning = 1;
|
|
|
|
// Token: 0x04006CF5 RID: 27893
|
|
[Token(Token = "0x4006CF5")]
|
|
public const byte fatal = 2;
|
|
}
|
|
}
|