using System; using System.Collections; using System.Runtime.InteropServices; using System.Text; using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities; using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections; using Cpp2IlInjected; namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Pkix { // Token: 0x020013A7 RID: 5031 [Token(Token = "0x20013A7")] [StructLayout(3)] public class PkixPolicyNode { // Token: 0x170014E6 RID: 5350 // (get) Token: 0x06007FE3 RID: 32739 RVA: 0x001AE4FC File Offset: 0x001AC6FC [Token(Token = "0x170014E6")] public virtual int Depth { [Token(Token = "0x6007FE3")] [Address(RVA = "0x3EE8D0", Offset = "0x3ED2D0", VA = "0x1803EE8D0", Slot = "4")] get { return this.mDepth; } } // Token: 0x170014E7 RID: 5351 // (get) Token: 0x06007FE4 RID: 32740 RVA: 0x001AE510 File Offset: 0x001AC710 [Token(Token = "0x170014E7")] public virtual IEnumerable Children { [Token(Token = "0x6007FE4")] [Address(RVA = "0xCEE4E0", Offset = "0xCECEE0", VA = "0x180CEE4E0", Slot = "5")] get { /* An exception occurred when decompiling this method (06007FE4) ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.IEnumerable BestHTTP.SecureProtocol.Org.BouncyCastle.Pkix.PkixPolicyNode::get_Children() ---> System.Exception: Basic block has to end with unconditional control flow. { Block_0: stloc:EnumerableProxy(var_0_0B, newobj:EnumerableProxy(EnumerableProxy::.ctor, ldfld:IList[exp:IEnumerable](PkixPolicyNode::mChildren, ldloc:PkixPolicyNode(this)))) } 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.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: 0x170014E8 RID: 5352 // (get) Token: 0x06007FE5 RID: 32741 RVA: 0x001AE528 File Offset: 0x001AC728 // (set) Token: 0x06007FE6 RID: 32742 RVA: 0x001AE53C File Offset: 0x001AC73C [Token(Token = "0x170014E8")] public virtual bool IsCritical { [Token(Token = "0x6007FE5")] [Address(RVA = "0x421DE0", Offset = "0x4207E0", VA = "0x180421DE0", Slot = "6")] get { return this.mCritical; } [Token(Token = "0x6007FE6")] [Address(RVA = "0x421DF0", Offset = "0x4207F0", VA = "0x180421DF0", Slot = "7")] set { this.mCritical = value; } } // Token: 0x170014E9 RID: 5353 // (get) Token: 0x06007FE7 RID: 32743 RVA: 0x001AE550 File Offset: 0x001AC750 [Token(Token = "0x170014E9")] public virtual ISet PolicyQualifiers { [Token(Token = "0x6007FE7")] [Address(RVA = "0xCEE5F0", Offset = "0xCECFF0", VA = "0x180CEE5F0", Slot = "8")] get { /* An exception occurred when decompiling this method (06007FE7) ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections.ISet BestHTTP.SecureProtocol.Org.BouncyCastle.Pkix.PkixPolicyNode::get_PolicyQualifiers() ---> System.Exception: Basic block has to end with unconditional control flow. { Block_0: stloc:HashSet(var_0_0B, newobj:HashSet(HashSet::.ctor, ldfld:ISet[exp:IEnumerable](PkixPolicyNode::mPolicyQualifiers, ldloc:PkixPolicyNode(this)))) } 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.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: 0x170014EA RID: 5354 // (get) Token: 0x06007FE8 RID: 32744 RVA: 0x001AE568 File Offset: 0x001AC768 [Token(Token = "0x170014EA")] public virtual string ValidPolicy { [Token(Token = "0x6007FE8")] [Address(RVA = "0x3EE8E0", Offset = "0x3ED2E0", VA = "0x1803EE8E0", Slot = "9")] get { return this.mValidPolicy; } } // Token: 0x170014EB RID: 5355 // (get) Token: 0x06007FE9 RID: 32745 RVA: 0x001AE57C File Offset: 0x001AC77C [Token(Token = "0x170014EB")] public virtual bool HasChildren { [Token(Token = "0x6007FE9")] [Address(RVA = "0xCEE5A0", Offset = "0xCECFA0", VA = "0x180CEE5A0", Slot = "10")] get { IList list = this.mChildren; bool flag; return flag; } } // Token: 0x170014EC RID: 5356 // (get) Token: 0x06007FEA RID: 32746 RVA: 0x001AE598 File Offset: 0x001AC798 // (set) Token: 0x06007FEB RID: 32747 RVA: 0x001AE5B0 File Offset: 0x001AC7B0 [Token(Token = "0x170014EC")] public virtual ISet ExpectedPolicies { [Token(Token = "0x6007FEA")] [Address(RVA = "0xCEE540", Offset = "0xCECF40", VA = "0x180CEE540", Slot = "11")] get { /* An exception occurred when decompiling this method (06007FEA) ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections.ISet BestHTTP.SecureProtocol.Org.BouncyCastle.Pkix.PkixPolicyNode::get_ExpectedPolicies() ---> System.Exception: Basic block has to end with unconditional control flow. { Block_0: stloc:HashSet(var_0_0B, newobj:HashSet(HashSet::.ctor, ldfld:ISet[exp:IEnumerable](PkixPolicyNode::mExpectedPolicies, ldloc:PkixPolicyNode(this)))) } 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.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(Token = "0x6007FEB")] [Address(RVA = "0xCEE650", Offset = "0xCED050", VA = "0x180CEE650", Slot = "12")] set { HashSet hashSet = new HashSet(value); this.mExpectedPolicies = hashSet; } } // Token: 0x170014ED RID: 5357 // (get) Token: 0x06007FEC RID: 32748 RVA: 0x001AE5CC File Offset: 0x001AC7CC // (set) Token: 0x06007FED RID: 32749 RVA: 0x001AE5E0 File Offset: 0x001AC7E0 [Token(Token = "0x170014ED")] public virtual PkixPolicyNode Parent { [Token(Token = "0x6007FEC")] [Address(RVA = "0x3C1230", Offset = "0x3BFC30", VA = "0x1803C1230", Slot = "13")] get { return this.mParent; } [Token(Token = "0x6007FED")] [Address(RVA = "0x3C1270", Offset = "0x3BFC70", VA = "0x1803C1270", Slot = "14")] set { this.mParent = value; } } // Token: 0x06007FEE RID: 32750 RVA: 0x001AE5F4 File Offset: 0x001AC7F4 [Token(Token = "0x6007FEE")] [Address(RVA = "0xCEE400", Offset = "0xCECE00", VA = "0x180CEE400")] public PkixPolicyNode(IList children, int depth, ISet expectedPolicies, PkixPolicyNode parent, ISet policyQualifiers, string validPolicy, bool critical) { if (children != 0) { IList list = Platform.CreateArrayList(children); } IList list2 = Platform.CreateArrayList(); this.mChildren = list2; this.mParent = 0; this.mPolicyQualifiers = 0; this.mValidPolicy = 0; this.mDepth = depth; this.mExpectedPolicies = expectedPolicies; this.mCritical = false; } // Token: 0x06007FEF RID: 32751 RVA: 0x001AE64C File Offset: 0x001AC84C [Token(Token = "0x6007FEF")] [Address(RVA = "0xCEDBE0", Offset = "0xCEC5E0", VA = "0x180CEDBE0", Slot = "15")] public virtual void AddChild(PkixPolicyNode child) { PkixPolicyNode parent = child.Parent; IList list = this.mChildren; throw new NullReferenceException(); } // Token: 0x06007FF0 RID: 32752 RVA: 0x001AE66C File Offset: 0x001AC86C [Token(Token = "0x6007FF0")] [Address(RVA = "0xCEDFD0", Offset = "0xCEC9D0", VA = "0x180CEDFD0", Slot = "16")] public virtual void RemoveChild(PkixPolicyNode child) { IList list = this.mChildren; throw new NullReferenceException(); } // Token: 0x06007FF1 RID: 32753 RVA: 0x0000220F File Offset: 0x0000040F [Token(Token = "0x6007FF1")] [Address(RVA = "0xCEE3B0", Offset = "0xCECDB0", VA = "0x180CEE3B0", Slot = "3")] public override string ToString() { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x06007FF2 RID: 32754 RVA: 0x001AE688 File Offset: 0x001AC888 [Token(Token = "0x6007FF2")] [Address(RVA = "0xCEE030", Offset = "0xCECA30", VA = "0x180CEE030", Slot = "17")] public virtual string ToString(string indent) { StringBuilder stringBuilder; for (;;) { int num = 0; stringBuilder = new StringBuilder(); StringBuilder stringBuilder2 = stringBuilder.Append(indent); string text = this.mValidPolicy; StringBuilder stringBuilder3 = stringBuilder.Append(text); StringBuilder stringBuilder4 = stringBuilder.Append(" {"); string newLine = Platform.NewLine; StringBuilder stringBuilder5 = stringBuilder.Append(newLine); IList list = this.mChildren; if (stringBuilder5 != 0) { if (num < stringBuilder5) { num += num; num++; } if (stringBuilder5 == 0) { } if (stringBuilder5 == 0) { goto IL_C3; } string text2 = indent + " "; if (stringBuilder.Append(text2) != 0) { } if (num != -1) { } if (num == 0) { break; } } } StringBuilder stringBuilder6 = stringBuilder.Append(indent); StringBuilder stringBuilder7 = stringBuilder.Append("}"); string newLine2 = Platform.NewLine; StringBuilder stringBuilder8 = stringBuilder.Append(newLine2); int hashCode = stringBuilder.GetHashCode(); throw new NullReferenceException(); IL_C3: throw new NullReferenceException(); } // Token: 0x06007FF3 RID: 32755 RVA: 0x0000220F File Offset: 0x0000040F [Token(Token = "0x6007FF3")] [Address(RVA = "0x82C560", Offset = "0x82AF60", VA = "0x18082C560", Slot = "18")] public virtual object Clone() { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x06007FF4 RID: 32756 RVA: 0x001AE760 File Offset: 0x001AC960 [Token(Token = "0x6007FF4")] [Address(RVA = "0xCEDC60", Offset = "0xCEC660", VA = "0x180CEDC60", Slot = "19")] public virtual PkixPolicyNode Copy() { int num; PkixPolicyNode pkixPolicyNode; do { num = 0; IList list = Platform.CreateArrayList(); HashSet hashSet = new HashSet(this.mExpectedPolicies); HashSet hashSet2 = new HashSet(this.mPolicyQualifiers); string text = this.mValidPolicy; IList list2 = pkixPolicyNode.mChildren; if (pkixPolicyNode != 0) { if (num < pkixPolicyNode) { num += num; num++; } num++; num += 19; ulong num2; num = (int)((ulong)num + num2); if (num == 0 || num == 0) { goto IL_7F; } } if (num != -1) { } } while (num != 0); return pkixPolicyNode; IL_7F: throw new NullReferenceException(); } // Token: 0x04005AC7 RID: 23239 [global::Cpp2IlInjected.FieldOffset(Offset = "0x10")] [Token(Token = "0x4005AC7")] protected IList mChildren; // Token: 0x04005AC8 RID: 23240 [global::Cpp2IlInjected.FieldOffset(Offset = "0x18")] [Token(Token = "0x4005AC8")] protected int mDepth; // Token: 0x04005AC9 RID: 23241 [global::Cpp2IlInjected.FieldOffset(Offset = "0x20")] [Token(Token = "0x4005AC9")] protected ISet mExpectedPolicies; // Token: 0x04005ACA RID: 23242 [global::Cpp2IlInjected.FieldOffset(Offset = "0x28")] [Token(Token = "0x4005ACA")] protected PkixPolicyNode mParent; // Token: 0x04005ACB RID: 23243 [global::Cpp2IlInjected.FieldOffset(Offset = "0x30")] [Token(Token = "0x4005ACB")] protected ISet mPolicyQualifiers; // Token: 0x04005ACC RID: 23244 [global::Cpp2IlInjected.FieldOffset(Offset = "0x38")] [Token(Token = "0x4005ACC")] protected string mValidPolicy; // Token: 0x04005ACD RID: 23245 [global::Cpp2IlInjected.FieldOffset(Offset = "0x40")] [Token(Token = "0x4005ACD")] protected bool mCritical; } }