using System; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs { // Token: 0x020018A9 RID: 6313 [Token(Token = "0x20018A9")] [StructLayout(3)] public class CertBag : Asn1Encodable { // Token: 0x0600A996 RID: 43414 RVA: 0x00278D54 File Offset: 0x00276F54 [Token(Token = "0x600A996")] [Address(RVA = "0x27CA3B0", Offset = "0x27C8DB0", VA = "0x1827CA3B0")] public CertBag(Asn1Sequence seq) { /* An exception occurred when decompiling this method (0600A996) ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs.CertBag::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Sequence) ---> System.Exception: Basic block has to end with unconditional control flow. { IL_39: stloc:ArgumentException(var_6_48, 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: 0x0600A997 RID: 43415 RVA: 0x00278DAC File Offset: 0x00276FAC [Token(Token = "0x600A997")] [Address(RVA = "0x937E20", Offset = "0x936820", VA = "0x180937E20")] public CertBag(DerObjectIdentifier certID, Asn1Object certValue) { this.certID = certID; this.certValue = certValue; } // Token: 0x17001A97 RID: 6807 // (get) Token: 0x0600A998 RID: 43416 RVA: 0x00278DD0 File Offset: 0x00276FD0 [Token(Token = "0x17001A97")] public DerObjectIdentifier CertID { [Token(Token = "0x600A998")] [Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0")] get { return this.certID; } } // Token: 0x17001A98 RID: 6808 // (get) Token: 0x0600A999 RID: 43417 RVA: 0x00278DE4 File Offset: 0x00276FE4 [Token(Token = "0x17001A98")] public Asn1Object CertValue { [Token(Token = "0x600A999")] [Address(RVA = "0x3C1240", Offset = "0x3BFC40", VA = "0x1803C1240")] get { return this.certValue; } } // Token: 0x0600A99A RID: 43418 RVA: 0x00278DF8 File Offset: 0x00276FF8 [Token(Token = "0x600A99A")] [Address(RVA = "0x27CA270", Offset = "0x27C8C70", VA = "0x1827CA270", Slot = "5")] public override Asn1Object ToAsn1Object() { Asn1Encodable[] array = new Asn1Encodable[2]; DerObjectIdentifier derObjectIdentifier = this.certID; if (derObjectIdentifier != 0) { } array[0] = derObjectIdentifier; Asn1Object asn1Object = this.certValue; int num; DerTaggedObject derTaggedObject = new DerTaggedObject(num, asn1Object); num = 0; if (derTaggedObject != 0) { } array[1] = derTaggedObject; DerSequence derSequence = new DerSequence(array); throw new NullReferenceException(); } // Token: 0x04006EB8 RID: 28344 [global::Cpp2IlInjected.FieldOffset(Offset = "0x10")] [Token(Token = "0x4006EB8")] private readonly DerObjectIdentifier certID; // Token: 0x04006EB9 RID: 28345 [global::Cpp2IlInjected.FieldOffset(Offset = "0x18")] [Token(Token = "0x4006EB9")] private readonly Asn1Object certValue; } }