oh dear
This commit is contained in:
@@ -0,0 +1,138 @@
|
||||
using System;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509
|
||||
{
|
||||
// Token: 0x02001DF9 RID: 7673
|
||||
[Token(Token = "0x2001DF9")]
|
||||
public class CrlReason : DerEnumerated
|
||||
{
|
||||
// Token: 0x0600C21F RID: 49695 RVA: 0x002C2C78 File Offset: 0x002C0E78
|
||||
[Token(Token = "0x600C21F")]
|
||||
[Address(RVA = "0x2725E90", Offset = "0x2724C90", VA = "0x182725E90")]
|
||||
public CrlReason(int reason)
|
||||
: base(reason)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C220 RID: 49696 RVA: 0x002C2C8C File Offset: 0x002C0E8C
|
||||
[Token(Token = "0x600C220")]
|
||||
[Address(RVA = "0x2725E00", Offset = "0x2724C00", VA = "0x182725E00")]
|
||||
public CrlReason(DerEnumerated reason)
|
||||
{
|
||||
int intValue = reason.Value.IntValue;
|
||||
base..ctor(intValue);
|
||||
}
|
||||
|
||||
// Token: 0x0600C221 RID: 49697 RVA: 0x002C2CB4 File Offset: 0x002C0EB4
|
||||
[Token(Token = "0x600C221")]
|
||||
[Address(RVA = "0x2725910", Offset = "0x2724710", VA = "0x182725910", Slot = "3")]
|
||||
public override string ToString()
|
||||
{
|
||||
BigInteger value = base.Value;
|
||||
int num = 0;
|
||||
if (value.IntValue > 10)
|
||||
{
|
||||
}
|
||||
return "CrlReason: " + num;
|
||||
}
|
||||
|
||||
// Token: 0x0600C222 RID: 49698 RVA: 0x002C2CE8 File Offset: 0x002C0EE8
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600C222")]
|
||||
[Address(RVA = "0x27259D0", Offset = "0x27247D0", VA = "0x1827259D0")]
|
||||
static CrlReason()
|
||||
{
|
||||
string[] array = new string[11];
|
||||
if ("Unspecified" != 0)
|
||||
{
|
||||
}
|
||||
array[0] = "Unspecified";
|
||||
if ("KeyCompromise" != 0)
|
||||
{
|
||||
}
|
||||
array[1] = "KeyCompromise";
|
||||
if ("CACompromise" != 0)
|
||||
{
|
||||
}
|
||||
array[2] = "CACompromise";
|
||||
if ("AffiliationChanged" != 0)
|
||||
{
|
||||
}
|
||||
array[3] = "AffiliationChanged";
|
||||
if ("Superseded" != 0)
|
||||
{
|
||||
}
|
||||
array[4] = "Superseded";
|
||||
if ("CessationOfOperation" != 0)
|
||||
{
|
||||
}
|
||||
array[5] = "CessationOfOperation";
|
||||
if ("CertificateHold" != 0)
|
||||
{
|
||||
}
|
||||
array[6] = "CertificateHold";
|
||||
if ("Unknown" != 0)
|
||||
{
|
||||
}
|
||||
array[7] = "Unknown";
|
||||
if ("RemoveFromCrl" != 0)
|
||||
{
|
||||
}
|
||||
array[8] = "RemoveFromCrl";
|
||||
if ("PrivilegeWithdrawn" != 0)
|
||||
{
|
||||
}
|
||||
array[9] = "PrivilegeWithdrawn";
|
||||
if ("AACompromise" != 0)
|
||||
{
|
||||
}
|
||||
array[10] = "AACompromise";
|
||||
}
|
||||
|
||||
// Token: 0x04007A71 RID: 31345
|
||||
[Token(Token = "0x4007A71")]
|
||||
public const int Unspecified = 0;
|
||||
|
||||
// Token: 0x04007A72 RID: 31346
|
||||
[Token(Token = "0x4007A72")]
|
||||
public const int KeyCompromise = 1;
|
||||
|
||||
// Token: 0x04007A73 RID: 31347
|
||||
[Token(Token = "0x4007A73")]
|
||||
public const int CACompromise = 2;
|
||||
|
||||
// Token: 0x04007A74 RID: 31348
|
||||
[Token(Token = "0x4007A74")]
|
||||
public const int AffiliationChanged = 3;
|
||||
|
||||
// Token: 0x04007A75 RID: 31349
|
||||
[Token(Token = "0x4007A75")]
|
||||
public const int Superseded = 4;
|
||||
|
||||
// Token: 0x04007A76 RID: 31350
|
||||
[Token(Token = "0x4007A76")]
|
||||
public const int CessationOfOperation = 5;
|
||||
|
||||
// Token: 0x04007A77 RID: 31351
|
||||
[Token(Token = "0x4007A77")]
|
||||
public const int CertificateHold = 6;
|
||||
|
||||
// Token: 0x04007A78 RID: 31352
|
||||
[Token(Token = "0x4007A78")]
|
||||
public const int RemoveFromCrl = 8;
|
||||
|
||||
// Token: 0x04007A79 RID: 31353
|
||||
[Token(Token = "0x4007A79")]
|
||||
public const int PrivilegeWithdrawn = 9;
|
||||
|
||||
// Token: 0x04007A7A RID: 31354
|
||||
[Token(Token = "0x4007A7A")]
|
||||
public const int AACompromise = 10;
|
||||
|
||||
// Token: 0x04007A7B RID: 31355
|
||||
[Token(Token = "0x4007A7B")]
|
||||
private static readonly string[] ReasonString;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user