oh dear
This commit is contained in:
@@ -0,0 +1,126 @@
|
||||
using System;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms
|
||||
{
|
||||
// Token: 0x02001F43 RID: 8003
|
||||
[Token(Token = "0x2001F43")]
|
||||
public class TimeStampAndCrl : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600CA78 RID: 51832 RVA: 0x002E6084 File Offset: 0x002E4284
|
||||
[Token(Token = "0x600CA78")]
|
||||
[Address(RVA = "0x462000", Offset = "0x460E00", VA = "0x180462000")]
|
||||
public TimeStampAndCrl(ContentInfo timeStamp)
|
||||
{
|
||||
this.timeStamp = timeStamp;
|
||||
}
|
||||
|
||||
// Token: 0x0600CA79 RID: 51833 RVA: 0x002E60A0 File Offset: 0x002E42A0
|
||||
[Token(Token = "0x600CA79")]
|
||||
[Address(RVA = "0x2AE8C80", Offset = "0x2AE7A80", VA = "0x182AE8C80")]
|
||||
private TimeStampAndCrl(Asn1Sequence seq)
|
||||
{
|
||||
Asn1SequenceParser parser = seq.Parser;
|
||||
ContentInfo contentInfo;
|
||||
this.timeStamp = contentInfo;
|
||||
Asn1Encodable asn1Encodable;
|
||||
if (asn1Encodable == (ulong)2L)
|
||||
{
|
||||
Asn1SequenceParser parser2 = seq.Parser;
|
||||
CertificateList certificateList;
|
||||
this.crl = certificateList;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600CA7A RID: 51834 RVA: 0x002E60DC File Offset: 0x002E42DC
|
||||
[Token(Token = "0x600CA7A")]
|
||||
[Address(RVA = "0x2AE89A0", Offset = "0x2AE77A0", VA = "0x182AE89A0")]
|
||||
public static TimeStampAndCrl GetInstance(object obj)
|
||||
{
|
||||
while (obj != 0)
|
||||
{
|
||||
TimeStampAndCrl timeStampAndCrl;
|
||||
if (obj == 0)
|
||||
{
|
||||
Asn1Sequence instance = Asn1Sequence.GetInstance(obj);
|
||||
Asn1SequenceParser parser = instance.Parser;
|
||||
ContentInfo contentInfo;
|
||||
timeStampAndCrl.timeStamp = contentInfo;
|
||||
Asn1Encodable asn1Encodable;
|
||||
if (asn1Encodable == (ulong)2L)
|
||||
{
|
||||
Asn1SequenceParser parser2 = instance.Parser;
|
||||
CertificateList certificateList;
|
||||
timeStampAndCrl.crl = certificateList;
|
||||
}
|
||||
return timeStampAndCrl;
|
||||
}
|
||||
if (timeStampAndCrl != 0)
|
||||
{
|
||||
return timeStampAndCrl;
|
||||
}
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x1700200D RID: 8205
|
||||
// (get) Token: 0x0600CA7B RID: 51835 RVA: 0x002E6134 File Offset: 0x002E4334
|
||||
[Token(Token = "0x1700200D")]
|
||||
public virtual ContentInfo TimeStampToken
|
||||
{
|
||||
[Token(Token = "0x600CA7B")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return this.timeStamp;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700200E RID: 8206
|
||||
// (get) Token: 0x0600CA7C RID: 51836 RVA: 0x002E6148 File Offset: 0x002E4348
|
||||
[Token(Token = "0x1700200E")]
|
||||
public virtual CertificateList Crl
|
||||
{
|
||||
[Token(Token = "0x600CA7C")]
|
||||
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return this.crl;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600CA7D RID: 51837 RVA: 0x002E615C File Offset: 0x002E435C
|
||||
[Token(Token = "0x600CA7D")]
|
||||
[Address(RVA = "0x2AE8B10", Offset = "0x2AE7910", VA = "0x182AE8B10", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[1];
|
||||
ContentInfo contentInfo = this.timeStamp;
|
||||
if (contentInfo != 0)
|
||||
{
|
||||
}
|
||||
array[0] = contentInfo;
|
||||
Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(array);
|
||||
Asn1Encodable[] array2 = new Asn1Encodable[1];
|
||||
CertificateList certificateList = this.crl;
|
||||
if (certificateList != 0)
|
||||
{
|
||||
}
|
||||
array2[0] = certificateList;
|
||||
asn1EncodableVector.AddOptional(array2);
|
||||
DerSequence derSequence = new DerSequence(asn1EncodableVector);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x040080E3 RID: 32995
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40080E3")]
|
||||
private ContentInfo timeStamp;
|
||||
|
||||
// Token: 0x040080E4 RID: 32996
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40080E4")]
|
||||
private CertificateList crl;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user