m
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: 0x02001ED9 RID: 7897
|
||||
[Token(Token = "0x2001ED9")]
|
||||
public class CrlReason : DerEnumerated
|
||||
{
|
||||
// Token: 0x0600C5ED RID: 50669 RVA: 0x002CB4D4 File Offset: 0x002C96D4
|
||||
[Token(Token = "0x600C5ED")]
|
||||
[Address(RVA = "0x2D8A0F0", Offset = "0x2D890F0", VA = "0x182D8A0F0")]
|
||||
public CrlReason(int reason)
|
||||
: base(reason)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C5EE RID: 50670 RVA: 0x002CB4E8 File Offset: 0x002C96E8
|
||||
[Token(Token = "0x600C5EE")]
|
||||
[Address(RVA = "0x2D8A060", Offset = "0x2D89060", VA = "0x182D8A060")]
|
||||
public CrlReason(DerEnumerated reason)
|
||||
{
|
||||
int intValue = reason.Value.IntValue;
|
||||
base..ctor(intValue);
|
||||
}
|
||||
|
||||
// Token: 0x0600C5EF RID: 50671 RVA: 0x002CB510 File Offset: 0x002C9710
|
||||
[Token(Token = "0x600C5EF")]
|
||||
[Address(RVA = "0x2D89B70", Offset = "0x2D88B70", VA = "0x182D89B70", Slot = "3")]
|
||||
public override string ToString()
|
||||
{
|
||||
BigInteger value = base.Value;
|
||||
int num = 0;
|
||||
if (value.IntValue > 10)
|
||||
{
|
||||
}
|
||||
return "CrlReason: " + num;
|
||||
}
|
||||
|
||||
// Token: 0x0600C5F0 RID: 50672 RVA: 0x002CB544 File Offset: 0x002C9744
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600C5F0")]
|
||||
[Address(RVA = "0x2D89C30", Offset = "0x2D88C30", VA = "0x182D89C30")]
|
||||
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: 0x04007C2A RID: 31786
|
||||
[Token(Token = "0x4007C2A")]
|
||||
public const int Unspecified = 0;
|
||||
|
||||
// Token: 0x04007C2B RID: 31787
|
||||
[Token(Token = "0x4007C2B")]
|
||||
public const int KeyCompromise = 1;
|
||||
|
||||
// Token: 0x04007C2C RID: 31788
|
||||
[Token(Token = "0x4007C2C")]
|
||||
public const int CACompromise = 2;
|
||||
|
||||
// Token: 0x04007C2D RID: 31789
|
||||
[Token(Token = "0x4007C2D")]
|
||||
public const int AffiliationChanged = 3;
|
||||
|
||||
// Token: 0x04007C2E RID: 31790
|
||||
[Token(Token = "0x4007C2E")]
|
||||
public const int Superseded = 4;
|
||||
|
||||
// Token: 0x04007C2F RID: 31791
|
||||
[Token(Token = "0x4007C2F")]
|
||||
public const int CessationOfOperation = 5;
|
||||
|
||||
// Token: 0x04007C30 RID: 31792
|
||||
[Token(Token = "0x4007C30")]
|
||||
public const int CertificateHold = 6;
|
||||
|
||||
// Token: 0x04007C31 RID: 31793
|
||||
[Token(Token = "0x4007C31")]
|
||||
public const int RemoveFromCrl = 8;
|
||||
|
||||
// Token: 0x04007C32 RID: 31794
|
||||
[Token(Token = "0x4007C32")]
|
||||
public const int PrivilegeWithdrawn = 9;
|
||||
|
||||
// Token: 0x04007C33 RID: 31795
|
||||
[Token(Token = "0x4007C33")]
|
||||
public const int AACompromise = 10;
|
||||
|
||||
// Token: 0x04007C34 RID: 31796
|
||||
[Token(Token = "0x4007C34")]
|
||||
private static readonly string[] ReasonString;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user