125 lines
4.0 KiB
C#
125 lines
4.0 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms
|
|
{
|
|
// Token: 0x0200195A RID: 6490
|
|
[Token(Token = "0x200195A")]
|
|
[StructLayout(3)]
|
|
public class OtherRevocationInfoFormat : Asn1Encodable
|
|
{
|
|
// Token: 0x0600AE33 RID: 44595 RVA: 0x0028C1A0 File Offset: 0x0028A3A0
|
|
[Token(Token = "0x600AE33")]
|
|
[Address(RVA = "0x937E20", Offset = "0x936820", VA = "0x180937E20")]
|
|
public OtherRevocationInfoFormat(DerObjectIdentifier otherRevInfoFormat, Asn1Encodable otherRevInfo)
|
|
{
|
|
this.otherRevInfoFormat = otherRevInfoFormat;
|
|
this.otherRevInfo = otherRevInfo;
|
|
}
|
|
|
|
// Token: 0x0600AE34 RID: 44596 RVA: 0x0028C1C4 File Offset: 0x0028A3C4
|
|
[Token(Token = "0x600AE34")]
|
|
[Address(RVA = "0x28F5820", Offset = "0x28F4220", VA = "0x1828F5820")]
|
|
private OtherRevocationInfoFormat(Asn1Sequence seq)
|
|
{
|
|
Asn1SequenceParser parser = seq.Parser;
|
|
DerObjectIdentifier derObjectIdentifier;
|
|
this.otherRevInfoFormat = derObjectIdentifier;
|
|
Asn1SequenceParser parser2 = seq.Parser;
|
|
this.otherRevInfo = parser2;
|
|
}
|
|
|
|
// Token: 0x0600AE35 RID: 44597 RVA: 0x0028C1FC File Offset: 0x0028A3FC
|
|
[Token(Token = "0x600AE35")]
|
|
[Address(RVA = "0x28F5560", Offset = "0x28F3F60", VA = "0x1828F5560")]
|
|
public static OtherRevocationInfoFormat GetInstance(Asn1TaggedObject obj, bool isExplicit)
|
|
{
|
|
return OtherRevocationInfoFormat.GetInstance(Asn1Sequence.GetInstance(obj, isExplicit));
|
|
}
|
|
|
|
// Token: 0x0600AE36 RID: 44598 RVA: 0x0028C218 File Offset: 0x0028A418
|
|
[Token(Token = "0x600AE36")]
|
|
[Address(RVA = "0x28F5580", Offset = "0x28F3F80", VA = "0x1828F5580")]
|
|
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: 0x17001BE8 RID: 7144
|
|
// (get) Token: 0x0600AE37 RID: 44599 RVA: 0x0028C268 File Offset: 0x0028A468
|
|
[Token(Token = "0x17001BE8")]
|
|
public virtual DerObjectIdentifier InfoFormat
|
|
{
|
|
[Token(Token = "0x600AE37")]
|
|
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0", Slot = "6")]
|
|
get
|
|
{
|
|
return this.otherRevInfoFormat;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17001BE9 RID: 7145
|
|
// (get) Token: 0x0600AE38 RID: 44600 RVA: 0x0028C27C File Offset: 0x0028A47C
|
|
[Token(Token = "0x17001BE9")]
|
|
public virtual Asn1Encodable Info
|
|
{
|
|
[Token(Token = "0x600AE38")]
|
|
[Address(RVA = "0x3C1240", Offset = "0x3BFC40", VA = "0x1803C1240", Slot = "7")]
|
|
get
|
|
{
|
|
return this.otherRevInfo;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600AE39 RID: 44601 RVA: 0x0028C290 File Offset: 0x0028A490
|
|
[Token(Token = "0x600AE39")]
|
|
[Address(RVA = "0x28F5710", Offset = "0x28F4110", VA = "0x1828F5710", 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: 0x04007277 RID: 29303
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4007277")]
|
|
private readonly DerObjectIdentifier otherRevInfoFormat;
|
|
|
|
// Token: 0x04007278 RID: 29304
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4007278")]
|
|
private readonly Asn1Encodable otherRevInfo;
|
|
}
|
|
}
|