Files
27Aug2021-Cpp2IL-Dump/Assembly-CSharp/BestHTTP/SecureProtocol/Org/BouncyCastle/Asn1/Cms/OtherRevocationInfoFormat.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

123 lines
3.9 KiB
C#

using System;
using Cpp2IlInjected;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms
{
// Token: 0x02002017 RID: 8215
[Token(Token = "0x2002017")]
public class OtherRevocationInfoFormat : Asn1Encodable
{
// Token: 0x0600CDDB RID: 52699 RVA: 0x002ECE40 File Offset: 0x002EB040
[Token(Token = "0x600CDDB")]
[Address(RVA = "0x4714F0", Offset = "0x4704F0", VA = "0x1804714F0")]
public OtherRevocationInfoFormat(DerObjectIdentifier otherRevInfoFormat, Asn1Encodable otherRevInfo)
{
this.otherRevInfoFormat = otherRevInfoFormat;
this.otherRevInfo = otherRevInfo;
}
// Token: 0x0600CDDC RID: 52700 RVA: 0x002ECE64 File Offset: 0x002EB064
[Token(Token = "0x600CDDC")]
[Address(RVA = "0x2FEA7F0", Offset = "0x2FE97F0", VA = "0x182FEA7F0")]
private OtherRevocationInfoFormat(Asn1Sequence seq)
{
Asn1SequenceParser parser = seq.Parser;
DerObjectIdentifier derObjectIdentifier;
this.otherRevInfoFormat = derObjectIdentifier;
Asn1SequenceParser parser2 = seq.Parser;
this.otherRevInfo = parser2;
}
// Token: 0x0600CDDD RID: 52701 RVA: 0x002ECE9C File Offset: 0x002EB09C
[Token(Token = "0x600CDDD")]
[Address(RVA = "0x2FEA530", Offset = "0x2FE9530", VA = "0x182FEA530")]
public static OtherRevocationInfoFormat GetInstance(Asn1TaggedObject obj, bool isExplicit)
{
return OtherRevocationInfoFormat.GetInstance(Asn1Sequence.GetInstance(obj, isExplicit));
}
// Token: 0x0600CDDE RID: 52702 RVA: 0x002ECEB8 File Offset: 0x002EB0B8
[Token(Token = "0x600CDDE")]
[Address(RVA = "0x2FEA550", Offset = "0x2FE9550", VA = "0x182FEA550")]
public static OtherRevocationInfoFormat GetInstance(object obj)
{
while (obj != 0)
{
Asn1Sequence instance;
if (obj == 0)
{
instance = Asn1Sequence.GetInstance(obj);
Asn1SequenceParser parser = instance.Parser;
OtherRevocationInfoFormat otherRevocationInfoFormat;
DerObjectIdentifier derObjectIdentifier;
otherRevocationInfoFormat.otherRevInfoFormat = derObjectIdentifier;
Asn1SequenceParser parser2 = instance.Parser;
otherRevocationInfoFormat.otherRevInfo = parser2;
return otherRevocationInfoFormat;
}
if (instance != 0)
{
break;
}
}
throw new NullReferenceException();
}
// Token: 0x17002086 RID: 8326
// (get) Token: 0x0600CDDF RID: 52703 RVA: 0x002ECF08 File Offset: 0x002EB108
[Token(Token = "0x17002086")]
public virtual DerObjectIdentifier InfoFormat
{
[Token(Token = "0x600CDDF")]
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530", Slot = "6")]
get
{
return this.otherRevInfoFormat;
}
}
// Token: 0x17002087 RID: 8327
// (get) Token: 0x0600CDE0 RID: 52704 RVA: 0x002ECF1C File Offset: 0x002EB11C
[Token(Token = "0x17002087")]
public virtual Asn1Encodable Info
{
[Token(Token = "0x600CDE0")]
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0", Slot = "7")]
get
{
return this.otherRevInfo;
}
}
// Token: 0x0600CDE1 RID: 52705 RVA: 0x002ECF30 File Offset: 0x002EB130
[Token(Token = "0x600CDE1")]
[Address(RVA = "0x2FEA6E0", Offset = "0x2FE96E0", VA = "0x182FEA6E0", Slot = "5")]
public override Asn1Object ToAsn1Object()
{
Asn1Encodable[] array = new Asn1Encodable[2];
DerObjectIdentifier derObjectIdentifier = this.otherRevInfoFormat;
if (derObjectIdentifier != 0)
{
}
array[0] = derObjectIdentifier;
Asn1Encodable asn1Encodable = this.otherRevInfo;
if (asn1Encodable != 0)
{
}
array[1] = asn1Encodable;
DerSequence derSequence = new DerSequence(array);
throw new NullReferenceException();
}
// Token: 0x04008273 RID: 33395
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4008273")]
private readonly DerObjectIdentifier otherRevInfoFormat;
// Token: 0x04008274 RID: 33396
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4008274")]
private readonly Asn1Encodable otherRevInfo;
}
}