using System; using System.Text; using Cpp2IlInjected; namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509 { // Token: 0x02001EDD RID: 7901 [Token(Token = "0x2001EDD")] public class CertificatePolicies : Asn1Encodable { // Token: 0x0600C606 RID: 50694 RVA: 0x002CBA9C File Offset: 0x002C9C9C [Token(Token = "0x600C606")] [Address(RVA = "0x2D88CC0", Offset = "0x2D87CC0", VA = "0x182D88CC0")] public static CertificatePolicies GetInstance(object obj) { /* An exception occurred when decompiling this method (0600C606) ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.CertificatePolicies BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.CertificatePolicies::GetInstance(System.Object) ---> System.Exception: Basic block has to end with unconditional control flow. { Block_3: brtrue(IL_00, ceq:bool(ldloc:object(obj), ldc.i4:int32[exp:object](0))) } 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.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: 0x0600C607 RID: 50695 RVA: 0x002CBB04 File Offset: 0x002C9D04 [Token(Token = "0x600C607")] [Address(RVA = "0x2D88ED0", Offset = "0x2D87ED0", VA = "0x182D88ED0")] public static CertificatePolicies GetInstance(Asn1TaggedObject obj, bool isExplicit) { return CertificatePolicies.GetInstance(Asn1Sequence.GetInstance(obj, isExplicit)); } // Token: 0x0600C608 RID: 50696 RVA: 0x002CBB20 File Offset: 0x002C9D20 [Token(Token = "0x600C608")] [Address(RVA = "0x2D89120", Offset = "0x2D88120", VA = "0x182D89120")] public CertificatePolicies(PolicyInformation name) { PolicyInformation[] array = new PolicyInformation[1]; if (name != 0) { } array[0] = name; this.policyInformation = array; } // Token: 0x0600C609 RID: 50697 RVA: 0x002CBB54 File Offset: 0x002C9D54 [Token(Token = "0x600C609")] [Address(RVA = "0x681CA0", Offset = "0x680CA0", VA = "0x180681CA0")] public CertificatePolicies(PolicyInformation[] policyInformation) { this.policyInformation = policyInformation; } // Token: 0x0600C60A RID: 50698 RVA: 0x002CBB70 File Offset: 0x002C9D70 [Token(Token = "0x600C60A")] [Address(RVA = "0x2D891D0", Offset = "0x2D881D0", VA = "0x182D891D0")] private CertificatePolicies(Asn1Sequence seq) { Asn1Encodable asn1Encodable; PolicyInformation[] array = new PolicyInformation[asn1Encodable]; this.policyInformation = array; int num = 0; Asn1Encodable asn1Encodable2; if (num < asn1Encodable2) { PolicyInformation[] array2 = this.policyInformation; Asn1SequenceParser parser = seq.Parser; PolicyInformation policyInformation; if (policyInformation != 0) { } num++; array2[0] = policyInformation; } } // Token: 0x0600C60B RID: 50699 RVA: 0x002CBBC0 File Offset: 0x002C9DC0 [Token(Token = "0x600C60B")] [Address(RVA = "0x2D88EF0", Offset = "0x2D87EF0", VA = "0x182D88EF0", Slot = "6")] public virtual PolicyInformation[] GetPolicyInformation() { PolicyInformation[] array = this.policyInformation; throw new NullReferenceException(); } // Token: 0x0600C60C RID: 50700 RVA: 0x002CBBDC File Offset: 0x002C9DDC [Token(Token = "0x600C60C")] [Address(RVA = "0x2D88F70", Offset = "0x2D87F70", VA = "0x182D88F70", Slot = "5")] public override Asn1Object ToAsn1Object() { /* An exception occurred when decompiling this method (0600C60C) ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Object BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.CertificatePolicies::ToAsn1Object() ---> System.Exception: Basic block has to end with unconditional control flow. { Block_0: stloc:DerSequence(var_0_0B, newobj:DerSequence(DerSequence::.ctor, ldfld:class BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.PolicyInformation[][exp:class BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Encodable[]](CertificatePolicies::policyInformation, ldloc:CertificatePolicies(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: 0x0600C60D RID: 50701 RVA: 0x002CBBF4 File Offset: 0x002C9DF4 [Token(Token = "0x600C60D")] [Address(RVA = "0x2D88FD0", Offset = "0x2D87FD0", VA = "0x182D88FD0", Slot = "3")] public override string ToString() { StringBuilder stringBuilder = new StringBuilder("CertificatePolicies:"); PolicyInformation[] array = this.policyInformation; if (array != 0 && array.Length != 0) { PolicyInformation policyInformation = this.policyInformation[0]; StringBuilder stringBuilder2 = stringBuilder.Append(policyInformation); PolicyInformation[] array2 = this.policyInformation; if ((uint)1 < (uint)array2.Length) { StringBuilder stringBuilder3 = stringBuilder.Append(", "); PolicyInformation[] array3 = this.policyInformation; PolicyInformation policyInformation2; StringBuilder stringBuilder4 = stringBuilder.Append(policyInformation2); PolicyInformation[] array4 = this.policyInformation; } } throw new IndexOutOfRangeException(); } // Token: 0x04007C3A RID: 31802 [FieldOffset(Offset = "0x10")] [Token(Token = "0x4007C3A")] private readonly PolicyInformation[] policyInformation; } }