scripts
This commit is contained in:
+140
@@ -0,0 +1,140 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Runtime.InteropServices;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.X509;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.X509.Store;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Cms
|
||||
{
|
||||
// Token: 0x02001782 RID: 6018
|
||||
[Token(Token = "0x2001782")]
|
||||
[StructLayout(3)]
|
||||
public class OriginatorInformation
|
||||
{
|
||||
// Token: 0x0600A296 RID: 41622 RVA: 0x0025E020 File Offset: 0x0025C220
|
||||
[Token(Token = "0x600A296")]
|
||||
[Address(RVA = "0x3C3A30", Offset = "0x3C2430", VA = "0x1803C3A30")]
|
||||
internal OriginatorInformation(OriginatorInfo originatorInfo)
|
||||
{
|
||||
this.originatorInfo = originatorInfo;
|
||||
}
|
||||
|
||||
// Token: 0x0600A297 RID: 41623 RVA: 0x0025E03C File Offset: 0x0025C23C
|
||||
[Token(Token = "0x600A297")]
|
||||
[Address(RVA = "0x6613F0", Offset = "0x65FDF0", VA = "0x1806613F0", Slot = "4")]
|
||||
public virtual IX509Store GetCertificates()
|
||||
{
|
||||
for (;;)
|
||||
{
|
||||
int num = 0;
|
||||
Asn1Set certs = this.originatorInfo.certs;
|
||||
if (certs == 0)
|
||||
{
|
||||
break;
|
||||
}
|
||||
IEnumerator enumerator = certs.GetEnumerator();
|
||||
if (enumerator != 0)
|
||||
{
|
||||
if (num < enumerator)
|
||||
{
|
||||
num += num;
|
||||
num++;
|
||||
}
|
||||
ulong num2;
|
||||
enumerator += num2;
|
||||
if (enumerator == 0 || enumerator == 0)
|
||||
{
|
||||
goto IL_86;
|
||||
}
|
||||
X509CertificateStructure x509CertificateStructure;
|
||||
if (new X509Certificate(x509CertificateStructure) != 0)
|
||||
{
|
||||
}
|
||||
if (num != -1)
|
||||
{
|
||||
}
|
||||
if (num == 0)
|
||||
{
|
||||
goto Block_5;
|
||||
}
|
||||
}
|
||||
}
|
||||
X509CollectionStoreParameters x509CollectionStoreParameters = new X509CollectionStoreParameters(Platform.CreateArrayList());
|
||||
return X509StoreFactory.Create("Certificate/Collection", x509CollectionStoreParameters);
|
||||
Block_5:
|
||||
IList list;
|
||||
X509CollectionStoreParameters x509CollectionStoreParameters2 = new X509CollectionStoreParameters(list);
|
||||
throw new NullReferenceException();
|
||||
IL_86:
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600A298 RID: 41624 RVA: 0x0025E0DC File Offset: 0x0025C2DC
|
||||
[Token(Token = "0x600A298")]
|
||||
[Address(RVA = "0x6617A0", Offset = "0x6601A0", VA = "0x1806617A0", Slot = "5")]
|
||||
public virtual IX509Store GetCrls()
|
||||
{
|
||||
for (;;)
|
||||
{
|
||||
int num = 0;
|
||||
Asn1Set certs = this.originatorInfo.certs;
|
||||
if (certs == 0)
|
||||
{
|
||||
break;
|
||||
}
|
||||
IEnumerator enumerator = certs.GetEnumerator();
|
||||
if (enumerator != 0)
|
||||
{
|
||||
if (num < enumerator)
|
||||
{
|
||||
num += num;
|
||||
num++;
|
||||
}
|
||||
ulong num2;
|
||||
enumerator += num2;
|
||||
if (enumerator == 0 || enumerator == 0)
|
||||
{
|
||||
goto IL_86;
|
||||
}
|
||||
CertificateList certificateList;
|
||||
if (new X509Crl(certificateList) != 0)
|
||||
{
|
||||
}
|
||||
if (num != -1)
|
||||
{
|
||||
}
|
||||
if (num == 0)
|
||||
{
|
||||
goto Block_5;
|
||||
}
|
||||
}
|
||||
}
|
||||
X509CollectionStoreParameters x509CollectionStoreParameters = new X509CollectionStoreParameters(Platform.CreateArrayList());
|
||||
return X509StoreFactory.Create("CRL/Collection", x509CollectionStoreParameters);
|
||||
Block_5:
|
||||
IList list;
|
||||
X509CollectionStoreParameters x509CollectionStoreParameters2 = new X509CollectionStoreParameters(list);
|
||||
throw new NullReferenceException();
|
||||
IL_86:
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600A299 RID: 41625 RVA: 0x0025E17C File Offset: 0x0025C37C
|
||||
[Token(Token = "0x600A299")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0", Slot = "6")]
|
||||
public virtual OriginatorInfo ToAsn1Structure()
|
||||
{
|
||||
return this.originatorInfo;
|
||||
}
|
||||
|
||||
// Token: 0x04006AE8 RID: 27368
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006AE8")]
|
||||
private readonly OriginatorInfo originatorInfo;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user