This commit is contained in:
niko
2026-04-10 22:50:51 +02:00
parent 6d1607d5a2
commit f18d448581
17033 changed files with 2863270 additions and 0 deletions
@@ -0,0 +1,142 @@
using System;
using System.Collections;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
using Cpp2IlInjected;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Icao
{
// Token: 0x02001ECC RID: 7884
[Token(Token = "0x2001ECC")]
public class CscaMasterList : Asn1Encodable
{
// Token: 0x0600C736 RID: 50998 RVA: 0x002D8ED8 File Offset: 0x002D70D8
[Token(Token = "0x600C736")]
[Address(RVA = "0x2836490", Offset = "0x2835290", VA = "0x182836490")]
public static CscaMasterList GetInstance(object obj)
{
while (obj != 0)
{
Asn1Sequence instance;
if (obj == 0)
{
instance = Asn1Sequence.GetInstance(obj);
return new CscaMasterList(instance);
}
if (instance != 0)
{
return;
}
}
}
// Token: 0x0600C737 RID: 50999 RVA: 0x002D8F0C File Offset: 0x002D710C
[Token(Token = "0x600C737")]
[Address(RVA = "0x28366D0", Offset = "0x28354D0", VA = "0x1828366D0")]
private CscaMasterList(Asn1Sequence seq)
{
Asn1Encodable asn1Encodable;
do
{
int num;
DerInteger derInteger = new DerInteger(num);
num = 0;
this.version = derInteger;
base..ctor();
}
while (seq == 0 || asn1Encodable == 0);
Asn1SequenceParser parser = seq.Parser;
DerInteger derInteger2;
this.version = derInteger2;
Asn1SequenceParser parser2 = seq.Parser;
Asn1Encodable asn1Encodable2;
X509CertificateStructure[] array = new X509CertificateStructure[asn1Encodable2];
int num2 = 0;
this.certList = array;
if (num2 < array.Length)
{
Asn1Set asn1Set;
IEnumerator enumerator = asn1Set.GetEnumerator();
X509CertificateStructure x509CertificateStructure;
if (x509CertificateStructure != 0)
{
}
num2++;
array[0] = x509CertificateStructure;
X509CertificateStructure[] array2 = this.certList;
}
}
// Token: 0x0600C738 RID: 51000 RVA: 0x002D8F9C File Offset: 0x002D719C
[Token(Token = "0x600C738")]
[Address(RVA = "0x2836930", Offset = "0x2835730", VA = "0x182836930")]
public CscaMasterList(X509CertificateStructure[] certStructs)
{
int num;
DerInteger derInteger = new DerInteger(num);
num = 0;
this.version = derInteger;
base..ctor();
X509CertificateStructure[] array = CscaMasterList.CopyCertList(certStructs);
this.certList = array;
}
// Token: 0x17001F26 RID: 7974
// (get) Token: 0x0600C739 RID: 51001 RVA: 0x002D8FD0 File Offset: 0x002D71D0
[Token(Token = "0x17001F26")]
public virtual int Version
{
[Token(Token = "0x600C739")]
[Address(RVA = "0x28346E0", Offset = "0x28334E0", VA = "0x1828346E0", Slot = "6")]
get
{
return this.version.Value.IntValue;
}
}
// Token: 0x0600C73A RID: 51002 RVA: 0x002D8FF4 File Offset: 0x002D71F4
[Token(Token = "0x600C73A")]
[Address(RVA = "0x2836480", Offset = "0x2835280", VA = "0x182836480")]
public X509CertificateStructure[] GetCertStructs()
{
return CscaMasterList.CopyCertList(this.certList);
}
// Token: 0x0600C73B RID: 51003 RVA: 0x002D900C File Offset: 0x002D720C
[Token(Token = "0x600C73B")]
[Address(RVA = "0x2836400", Offset = "0x2835200", VA = "0x182836400")]
private static X509CertificateStructure[] CopyCertList(X509CertificateStructure[] orig)
{
throw new NullReferenceException();
}
// Token: 0x0600C73C RID: 51004 RVA: 0x002D9020 File Offset: 0x002D7220
[Token(Token = "0x600C73C")]
[Address(RVA = "0x2836590", Offset = "0x2835390", VA = "0x182836590", Slot = "5")]
public override Asn1Object ToAsn1Object()
{
Asn1Encodable[] array = new Asn1Encodable[2];
DerInteger derInteger = this.version;
if (derInteger != 0)
{
}
array[0] = derInteger;
DerSet derSet = new DerSet(this.certList);
if (derSet != 0)
{
}
array[1] = derSet;
DerSequence derSequence = new DerSequence(array);
throw new NullReferenceException();
}
// Token: 0x04007EE4 RID: 32484
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4007EE4")]
private DerInteger version;
// Token: 0x04007EE5 RID: 32485
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4007EE5")]
private X509CertificateStructure[] certList;
}
}
@@ -0,0 +1,140 @@
using System;
using Cpp2IlInjected;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Icao
{
// Token: 0x02001ECD RID: 7885
[Token(Token = "0x2001ECD")]
public class DataGroupHash : Asn1Encodable
{
// Token: 0x0600C73D RID: 51005 RVA: 0x002D906C File Offset: 0x002D726C
[Token(Token = "0x600C73D")]
[Address(RVA = "0x28369B0", Offset = "0x28357B0", VA = "0x1828369B0")]
public static DataGroupHash GetInstance(object obj)
{
/*
An exception occurred when decompiling this method (0600C73D)
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Icao.DataGroupHash BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Icao.DataGroupHash::GetInstance(System.Object)
---> System.Exception: Basic block has to end with unconditional control flow.
{
IL_43:
stloc:ArgumentException(var_10_52, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("Wrong number of elements in sequence"), ldstr:string("seq")))
}
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
--- End of inner exception stack trace ---
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
*/;
}
// Token: 0x0600C73E RID: 51006 RVA: 0x002D90CC File Offset: 0x002D72CC
[Token(Token = "0x600C73E")]
[Address(RVA = "0x2836C80", Offset = "0x2835A80", VA = "0x182836C80")]
private DataGroupHash(Asn1Sequence seq)
{
/*
An exception occurred when decompiling this method (0600C73E)
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Icao.DataGroupHash::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Sequence)
---> System.Exception: Basic block has to end with unconditional control flow.
{
IL_30:
stloc:ArgumentException(var_5_3F, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("Wrong number of elements in sequence"), ldstr:string("seq")))
}
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
--- End of inner exception stack trace ---
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
*/;
}
// Token: 0x0600C73F RID: 51007 RVA: 0x002D911C File Offset: 0x002D731C
[Token(Token = "0x600C73F")]
[Address(RVA = "0x2836D70", Offset = "0x2835B70", VA = "0x182836D70")]
public DataGroupHash(int dataGroupNumber, Asn1OctetString dataGroupHashValue)
{
DerInteger derInteger = new DerInteger(dataGroupNumber);
this.dataGroupNumber = derInteger;
this.dataGroupHashValue = dataGroupHashValue;
}
// Token: 0x17001F27 RID: 7975
// (get) Token: 0x0600C740 RID: 51008 RVA: 0x002D9144 File Offset: 0x002D7344
[Token(Token = "0x17001F27")]
public int DataGroupNumber
{
[Token(Token = "0x600C740")]
[Address(RVA = "0x28346E0", Offset = "0x28334E0", VA = "0x1828346E0")]
get
{
return this.dataGroupNumber.Value.IntValue;
}
}
// Token: 0x17001F28 RID: 7976
// (get) Token: 0x0600C741 RID: 51009 RVA: 0x002D9168 File Offset: 0x002D7368
[Token(Token = "0x17001F28")]
public Asn1OctetString DataGroupHashValue
{
[Token(Token = "0x600C741")]
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40")]
get
{
return this.dataGroupHashValue;
}
}
// Token: 0x0600C742 RID: 51010 RVA: 0x002D917C File Offset: 0x002D737C
[Token(Token = "0x600C742")]
[Address(RVA = "0x2836B70", Offset = "0x2835970", VA = "0x182836B70", Slot = "5")]
public override Asn1Object ToAsn1Object()
{
Asn1Encodable[] array = new Asn1Encodable[2];
DerInteger derInteger = this.dataGroupNumber;
if (derInteger != 0)
{
}
array[0] = derInteger;
Asn1OctetString asn1OctetString = this.dataGroupHashValue;
if (asn1OctetString != 0)
{
}
array[1] = asn1OctetString;
DerSequence derSequence = new DerSequence(array);
throw new NullReferenceException();
}
// Token: 0x04007EE6 RID: 32486
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4007EE6")]
private readonly DerInteger dataGroupNumber;
// Token: 0x04007EE7 RID: 32487
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4007EE7")]
private readonly Asn1OctetString dataGroupHashValue;
}
}
@@ -0,0 +1,57 @@
using System;
using Cpp2IlInjected;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Icao
{
// Token: 0x02001ECE RID: 7886
[Token(Token = "0x2001ECE")]
public abstract class IcaoObjectIdentifiers
{
// Token: 0x0600C743 RID: 51011 RVA: 0x002D91C4 File Offset: 0x002D73C4
[Token(Token = "0x600C743")]
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
protected IcaoObjectIdentifiers()
{
}
// Token: 0x04007EE8 RID: 32488
[Token(Token = "0x4007EE8")]
public static readonly DerObjectIdentifier IdIcao = new DerObjectIdentifier("2.23.136");
// Token: 0x04007EE9 RID: 32489
[Token(Token = "0x4007EE9")]
public static readonly DerObjectIdentifier IdIcaoMrtd = IcaoObjectIdentifiers.IdIcao.Asn1GetHashCode();
// Token: 0x04007EEA RID: 32490
[Token(Token = "0x4007EEA")]
public static readonly DerObjectIdentifier IdIcaoMrtdSecurity = IcaoObjectIdentifiers.IdIcaoMrtd.Asn1GetHashCode();
// Token: 0x04007EEB RID: 32491
[Token(Token = "0x4007EEB")]
public static readonly DerObjectIdentifier IdIcaoLdsSecurityObject = IcaoObjectIdentifiers.IdIcaoMrtdSecurity.Asn1GetHashCode();
// Token: 0x04007EEC RID: 32492
[Token(Token = "0x4007EEC")]
public static readonly DerObjectIdentifier IdIcaoCscaMasterList = IcaoObjectIdentifiers.IdIcaoMrtdSecurity.Asn1GetHashCode();
// Token: 0x04007EED RID: 32493
[Token(Token = "0x4007EED")]
public static readonly DerObjectIdentifier IdIcaoCscaMasterListSigningKey = IcaoObjectIdentifiers.IdIcaoMrtdSecurity.Asn1GetHashCode();
// Token: 0x04007EEE RID: 32494
[Token(Token = "0x4007EEE")]
public static readonly DerObjectIdentifier IdIcaoDocumentTypeList = IcaoObjectIdentifiers.IdIcaoMrtdSecurity.Asn1GetHashCode();
// Token: 0x04007EEF RID: 32495
[Token(Token = "0x4007EEF")]
public static readonly DerObjectIdentifier IdIcaoAAProtocolObject = IcaoObjectIdentifiers.IdIcaoMrtdSecurity.Asn1GetHashCode();
// Token: 0x04007EF0 RID: 32496
[Token(Token = "0x4007EF0")]
public static readonly DerObjectIdentifier IdIcaoExtensions = IcaoObjectIdentifiers.IdIcaoMrtdSecurity.Asn1GetHashCode();
// Token: 0x04007EF1 RID: 32497
[Token(Token = "0x4007EF1")]
public static readonly DerObjectIdentifier IdIcaoExtensionsNamechangekeyrollover = IcaoObjectIdentifiers.IdIcaoExtensions.Asn1GetHashCode();
}
}
@@ -0,0 +1,214 @@
using System;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
using Cpp2IlInjected;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Icao
{
// Token: 0x02001ECF RID: 7887
[Token(Token = "0x2001ECF")]
public class LdsSecurityObject : Asn1Encodable
{
// Token: 0x0600C745 RID: 51013 RVA: 0x002D9284 File Offset: 0x002D7484
[Token(Token = "0x600C745")]
[Address(RVA = "0x283C200", Offset = "0x283B000", VA = "0x18283C200")]
public static LdsSecurityObject GetInstance(object obj)
{
while (obj != 0)
{
Asn1Sequence instance;
if (obj == 0)
{
instance = Asn1Sequence.GetInstance(obj);
return new LdsSecurityObject(instance);
}
if (instance != 0)
{
return;
}
}
}
// Token: 0x0600C746 RID: 51014 RVA: 0x002D92B8 File Offset: 0x002D74B8
[Token(Token = "0x600C746")]
[Address(RVA = "0x283C6D0", Offset = "0x283B4D0", VA = "0x18283C6D0")]
private LdsSecurityObject(Asn1Sequence seq)
{
/*
An exception occurred when decompiling this method (0600C746)
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Icao.LdsSecurityObject::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Sequence)
---> System.Exception: Basic block has to end with unconditional control flow.
{
IL_A9:
stloc:ArgumentException(var_17_B3, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("null or empty sequence passed.")))
}
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
--- End of inner exception stack trace ---
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
*/;
}
// Token: 0x0600C747 RID: 51015 RVA: 0x002D937C File Offset: 0x002D757C
[Token(Token = "0x600C747")]
[Address(RVA = "0x283C610", Offset = "0x283B410", VA = "0x18283C610")]
public LdsSecurityObject(AlgorithmIdentifier digestAlgorithmIdentifier, DataGroupHash[] datagroupHash)
{
int num;
DerInteger derInteger = new DerInteger(num);
num = 0;
this.version = derInteger;
base..ctor();
int num2;
DerInteger derInteger2 = new DerInteger(num2);
num2 = 0;
this.version = derInteger2;
this.digestAlgorithmIdentifier = digestAlgorithmIdentifier;
this.datagroupHash = datagroupHash;
int length = datagroupHash.Length;
this.CheckDatagroupHashSeqSize(length);
}
// Token: 0x0600C748 RID: 51016 RVA: 0x002D93D4 File Offset: 0x002D75D4
[Token(Token = "0x600C748")]
[Address(RVA = "0x283C540", Offset = "0x283B340", VA = "0x18283C540")]
public LdsSecurityObject(AlgorithmIdentifier digestAlgorithmIdentifier, DataGroupHash[] datagroupHash, LdsVersionInfo versionInfo)
{
int num;
DerInteger derInteger = new DerInteger(num);
num = 0;
this.version = derInteger;
base..ctor();
DerInteger derInteger2 = new DerInteger(1);
this.version = derInteger2;
this.digestAlgorithmIdentifier = digestAlgorithmIdentifier;
this.datagroupHash = datagroupHash;
this.versionInfo = versionInfo;
int length = datagroupHash.Length;
this.CheckDatagroupHashSeqSize(length);
}
// Token: 0x0600C749 RID: 51017 RVA: 0x002D9430 File Offset: 0x002D7630
[Token(Token = "0x600C749")]
[Address(RVA = "0x283C160", Offset = "0x283AF60", VA = "0x18283C160")]
private void CheckDatagroupHashSeqSize(int size)
{
}
// Token: 0x17001F29 RID: 7977
// (get) Token: 0x0600C74A RID: 51018 RVA: 0x002D9454 File Offset: 0x002D7654
[Token(Token = "0x17001F29")]
public BigInteger Version
{
[Token(Token = "0x600C74A")]
[Address(RVA = "0x283C9E0", Offset = "0x283B7E0", VA = "0x18283C9E0")]
get
{
return this.version.Value;
}
}
// Token: 0x17001F2A RID: 7978
// (get) Token: 0x0600C74B RID: 51019 RVA: 0x002D9474 File Offset: 0x002D7674
[Token(Token = "0x17001F2A")]
public AlgorithmIdentifier DigestAlgorithmIdentifier
{
[Token(Token = "0x600C74B")]
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40")]
get
{
return this.digestAlgorithmIdentifier;
}
}
// Token: 0x0600C74C RID: 51020 RVA: 0x002D9488 File Offset: 0x002D7688
[Token(Token = "0x600C74C")]
[Address(RVA = "0x3F6400", Offset = "0x3F5200", VA = "0x1803F6400")]
public DataGroupHash[] GetDatagroupHash()
{
return this.datagroupHash;
}
// Token: 0x17001F2B RID: 7979
// (get) Token: 0x0600C74D RID: 51021 RVA: 0x002D949C File Offset: 0x002D769C
[Token(Token = "0x17001F2B")]
public LdsVersionInfo VersionInfo
{
[Token(Token = "0x600C74D")]
[Address(RVA = "0x3F63E0", Offset = "0x3F51E0", VA = "0x1803F63E0")]
get
{
return this.versionInfo;
}
}
// Token: 0x0600C74E RID: 51022 RVA: 0x002D94B0 File Offset: 0x002D76B0
[Token(Token = "0x600C74E")]
[Address(RVA = "0x283C300", Offset = "0x283B100", VA = "0x18283C300", Slot = "5")]
public override Asn1Object ToAsn1Object()
{
DerSequence derSequence = new DerSequence(this.datagroupHash);
Asn1Encodable[] array = new Asn1Encodable[3];
DerInteger derInteger = this.version;
if (derInteger != 0)
{
}
array[0] = derInteger;
AlgorithmIdentifier algorithmIdentifier = this.digestAlgorithmIdentifier;
if (algorithmIdentifier != 0)
{
}
array[1] = algorithmIdentifier;
if (derSequence != 0)
{
}
array[2] = derSequence;
Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(array);
if (this.versionInfo != (ulong)0L)
{
Asn1Encodable[] array2 = new Asn1Encodable[1];
LdsVersionInfo ldsVersionInfo = this.versionInfo;
if (ldsVersionInfo != 0)
{
}
array2[0] = ldsVersionInfo;
asn1EncodableVector.Add(array2);
}
DerSequence derSequence2 = new DerSequence(asn1EncodableVector);
throw new NullReferenceException();
}
// Token: 0x04007EF2 RID: 32498
[Token(Token = "0x4007EF2")]
public const int UBDataGroups = 16;
// Token: 0x04007EF3 RID: 32499
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4007EF3")]
private DerInteger version;
// Token: 0x04007EF4 RID: 32500
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4007EF4")]
private AlgorithmIdentifier digestAlgorithmIdentifier;
// Token: 0x04007EF5 RID: 32501
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x4007EF5")]
private DataGroupHash[] datagroupHash;
// Token: 0x04007EF6 RID: 32502
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x4007EF6")]
private LdsVersionInfo versionInfo;
}
}
@@ -0,0 +1,133 @@
using System;
using Cpp2IlInjected;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Icao
{
// Token: 0x02001ED0 RID: 7888
[Token(Token = "0x2001ED0")]
public class LdsVersionInfo : Asn1Encodable
{
// Token: 0x0600C74F RID: 51023 RVA: 0x002D954C File Offset: 0x002D774C
[Token(Token = "0x600C74F")]
[Address(RVA = "0x283CDC0", Offset = "0x283BBC0", VA = "0x18283CDC0")]
public LdsVersionInfo(string ldsVersion, string unicodeVersion)
{
DerPrintableString derPrintableString = new DerPrintableString(ldsVersion);
this.ldsVersion = derPrintableString;
DerPrintableString derPrintableString2 = new DerPrintableString(unicodeVersion);
this.unicodeVersion = derPrintableString2;
}
// Token: 0x0600C750 RID: 51024 RVA: 0x002D957C File Offset: 0x002D777C
[Token(Token = "0x600C750")]
[Address(RVA = "0x283CCD0", Offset = "0x283BAD0", VA = "0x18283CCD0")]
private LdsVersionInfo(Asn1Sequence seq)
{
/*
An exception occurred when decompiling this method (0600C750)
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Icao.LdsVersionInfo::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Sequence)
---> System.Exception: Basic block has to end with unconditional control flow.
{
IL_30:
stloc:ArgumentException(var_5_3F, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("sequence wrong size for LDSVersionInfo"), ldstr:string("seq")))
}
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
--- End of inner exception stack trace ---
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
*/;
}
// Token: 0x0600C751 RID: 51025 RVA: 0x002D95CC File Offset: 0x002D77CC
[Token(Token = "0x600C751")]
[Address(RVA = "0x283CA00", Offset = "0x283B800", VA = "0x18283CA00")]
public static LdsVersionInfo GetInstance(object obj)
{
/*
An exception occurred when decompiling this method (0600C751)
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Icao.LdsVersionInfo BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Icao.LdsVersionInfo::GetInstance(System.Object)
---> System.Exception: Basic block has to end with unconditional control flow.
{
IL_43:
stloc:ArgumentException(var_10_52, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("sequence wrong size for LDSVersionInfo"), ldstr:string("seq")))
}
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
--- End of inner exception stack trace ---
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
*/;
}
// Token: 0x0600C752 RID: 51026 RVA: 0x002D962C File Offset: 0x002D782C
[Token(Token = "0x600C752")]
[Address(RVA = "0x5F5F00", Offset = "0x5F4D00", VA = "0x1805F5F00", Slot = "6")]
public virtual string GetLdsVersion()
{
Asn1Object asn1Object = this.ldsVersion.ToAsn1Object();
throw new NullReferenceException();
}
// Token: 0x0600C753 RID: 51027 RVA: 0x002D964C File Offset: 0x002D784C
[Token(Token = "0x600C753")]
[Address(RVA = "0x260E100", Offset = "0x260CF00", VA = "0x18260E100", Slot = "7")]
public virtual string GetUnicodeVersion()
{
Asn1Object asn1Object = this.unicodeVersion.ToAsn1Object();
throw new NullReferenceException();
}
// Token: 0x0600C754 RID: 51028 RVA: 0x002D966C File Offset: 0x002D786C
[Token(Token = "0x600C754")]
[Address(RVA = "0x283CBC0", Offset = "0x283B9C0", VA = "0x18283CBC0", Slot = "5")]
public override Asn1Object ToAsn1Object()
{
Asn1Encodable[] array = new Asn1Encodable[2];
DerPrintableString derPrintableString = this.ldsVersion;
if (derPrintableString != 0)
{
}
array[0] = derPrintableString;
DerPrintableString derPrintableString2 = this.unicodeVersion;
if (derPrintableString2 != 0)
{
}
array[1] = derPrintableString2;
DerSequence derSequence = new DerSequence(array);
throw new NullReferenceException();
}
// Token: 0x04007EF7 RID: 32503
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4007EF7")]
private DerPrintableString ldsVersion;
// Token: 0x04007EF8 RID: 32504
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4007EF8")]
private DerPrintableString unicodeVersion;
}
}