using System; using System.Text; using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities; using Cpp2IlInjected; namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509 { // Token: 0x02001DF7 RID: 7671 [Token(Token = "0x2001DF7")] public class CrlDistPoint : Asn1Encodable { // Token: 0x0600C215 RID: 49685 RVA: 0x002C2A50 File Offset: 0x002C0C50 [Token(Token = "0x600C215")] [Address(RVA = "0x27253D0", Offset = "0x27241D0", VA = "0x1827253D0")] public static CrlDistPoint GetInstance(Asn1TaggedObject obj, bool explicitly) { return CrlDistPoint.GetInstance(Asn1Sequence.GetInstance(obj, explicitly)); } // Token: 0x0600C216 RID: 49686 RVA: 0x002C2A6C File Offset: 0x002C0C6C [Token(Token = "0x600C216")] [Address(RVA = "0x27251D0", Offset = "0x2723FD0", VA = "0x1827251D0")] public static CrlDistPoint GetInstance(object obj) { /* An exception occurred when decompiling this method (0600C216) ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.CrlDistPoint BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.CrlDistPoint::GetInstance(System.Object) ---> System.Exception: Basic block has to end with unconditional control flow. { IL_30: stloc:string(var_7_36, call:string(Platform::GetTypeName, ldloc:object(obj))) stloc:ArgumentException(var_8_4E, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("unknown object in factory: "), ldloc:string(var_7_36)), ldstr:string("obj"))) } 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 1660 */; } // Token: 0x0600C217 RID: 49687 RVA: 0x002C2AC8 File Offset: 0x002C0CC8 [Token(Token = "0x600C217")] [Address(RVA = "0x462000", Offset = "0x460E00", VA = "0x180462000")] private CrlDistPoint(Asn1Sequence seq) { this.seq = seq; } // Token: 0x0600C218 RID: 49688 RVA: 0x002C2AE4 File Offset: 0x002C0CE4 [Token(Token = "0x600C218")] [Address(RVA = "0x2725640", Offset = "0x2724440", VA = "0x182725640")] public CrlDistPoint(DistributionPoint[] points) { DerSequence derSequence = new DerSequence(points); this.seq = derSequence; } // Token: 0x0600C219 RID: 49689 RVA: 0x002C2B08 File Offset: 0x002C0D08 [Token(Token = "0x600C219")] [Address(RVA = "0x27250A0", Offset = "0x2723EA0", VA = "0x1827250A0")] public DistributionPoint[] GetDistributionPoints() { Asn1Sequence asn1Sequence = this.seq; Asn1Encodable asn1Encodable; DistributionPoint[] array = new DistributionPoint[asn1Encodable]; int num = 0; Asn1Sequence asn1Sequence2 = this.seq; Asn1Encodable asn1Encodable2; if (num != asn1Encodable2) { Asn1SequenceParser parser = this.seq.Parser; DistributionPoint distributionPoint; if (distributionPoint != 0) { } num++; array[0] = distributionPoint; Asn1Sequence asn1Sequence3 = this.seq; } return array; } // Token: 0x0600C21A RID: 49690 RVA: 0x002C2B60 File Offset: 0x002C0D60 [Token(Token = "0x600C21A")] [Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20", Slot = "5")] public override Asn1Object ToAsn1Object() { /* An exception occurred when decompiling this method (0600C21A) ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Object BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.CrlDistPoint::ToAsn1Object() ---> System.Exception: Basic block has to end with unconditional control flow. { Block_0: stloc:Asn1Sequence(var_0_06, ldfld:Asn1Sequence(CrlDistPoint::seq, ldloc:CrlDistPoint(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 1660 */; } // Token: 0x0600C21B RID: 49691 RVA: 0x002C2B74 File Offset: 0x002C0D74 [Token(Token = "0x600C21B")] [Address(RVA = "0x27253F0", Offset = "0x27241F0", VA = "0x1827253F0", Slot = "3")] public override string ToString() { StringBuilder stringBuilder = new StringBuilder(); string newLine = Platform.NewLine; StringBuilder stringBuilder2 = stringBuilder.Append("CRLDistPoint:"); StringBuilder stringBuilder3 = stringBuilder.Append(newLine); Asn1Sequence asn1Sequence = this.seq; Asn1Encodable asn1Encodable; DistributionPoint[] array = new DistributionPoint[asn1Encodable]; int num = 0; Asn1Sequence asn1Sequence2 = this.seq; Asn1Encodable asn1Encodable2; if (num != asn1Encodable2) { Asn1SequenceParser parser = this.seq.Parser; DistributionPoint distributionPoint; if (distributionPoint != 0) { } num++; array[0] = distributionPoint; Asn1Sequence asn1Sequence3 = this.seq; } if (num != array.Length) { StringBuilder stringBuilder4 = stringBuilder.Append(" "); DistributionPoint distributionPoint2 = array[num]; StringBuilder stringBuilder5 = stringBuilder.Append(distributionPoint2); StringBuilder stringBuilder6 = stringBuilder.Append(newLine); num++; } throw new NullReferenceException(); } // Token: 0x04007A70 RID: 31344 [FieldOffset(Offset = "0x10")] [Token(Token = "0x4007A70")] internal readonly Asn1Sequence seq; } }