using System; using System.Collections; using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities; using Cpp2IlInjected; namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Cms { // Token: 0x02001E4D RID: 7757 [Token(Token = "0x2001E4D")] public class SignerInformationStore { // Token: 0x0600C298 RID: 49816 RVA: 0x002C02A0 File Offset: 0x002BE4A0 [Token(Token = "0x600C298")] [Address(RVA = "0x2936070", Offset = "0x2935070", VA = "0x182936070")] public SignerInformationStore(SignerInformation signerInfo) { IDictionary dictionary = Platform.CreateHashtable(); this.table = dictionary; base..ctor(); IList list = Platform.CreateArrayList(1); this.all = list; IDictionary dictionary2 = this.table; IList list2 = this.all; } // Token: 0x0600C299 RID: 49817 RVA: 0x002C02E8 File Offset: 0x002BE4E8 [Token(Token = "0x600C299")] [Address(RVA = "0x2935DB0", Offset = "0x2934DB0", VA = "0x182935DB0")] public SignerInformationStore(ICollection signerInfos) { int num2; do { IDictionary dictionary = Platform.CreateHashtable(); this.table = dictionary; base..ctor(); IList list; if (dictionary != 0) { int num = 0; if (dictionary == 0) { goto IL_6F; } IDictionary dictionary2 = this.table; if (num != 0 && num == 0) { goto IL_5D; } IDictionary dictionary3 = this.table; list = Platform.CreateArrayList(1); num2 = 0; } if (list != 0) { } } while (num2 != 0); IList list2; this.all = list2; return; IL_5D: throw new NullReferenceException(); IL_6F: throw new NullReferenceException(); } // Token: 0x0600C29A RID: 49818 RVA: 0x002C0370 File Offset: 0x002BE570 [Token(Token = "0x600C29A")] [Address(RVA = "0x2935B70", Offset = "0x2934B70", VA = "0x182935B70")] public SignerInformation GetFirstSigner(SignerID selector) { IDictionary dictionary; do { dictionary = this.table; } while (dictionary == 0); throw new NullReferenceException(); } // Token: 0x17001E30 RID: 7728 // (get) Token: 0x0600C29B RID: 49819 RVA: 0x002C0394 File Offset: 0x002BE594 [Token(Token = "0x17001E30")] public int Count { [Token(Token = "0x600C29B")] [Address(RVA = "0x2936140", Offset = "0x2935140", VA = "0x182936140")] get { IList list = this.all; throw new NullReferenceException(); } } // Token: 0x0600C29C RID: 49820 RVA: 0x002C03B0 File Offset: 0x002BE5B0 [Token(Token = "0x600C29C")] [Address(RVA = "0x2935C60", Offset = "0x2934C60", VA = "0x182935C60")] public ICollection GetSigners() { /* An exception occurred when decompiling this method (0600C29C) ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.ICollection BestHTTP.SecureProtocol.Org.BouncyCastle.Cms.SignerInformationStore::GetSigners() ---> System.Exception: Basic block has to end with unconditional control flow. { Block_0: stloc:IList(var_0_0B, call:IList(Platform::CreateArrayList, ldfld:IList[exp:ICollection](SignerInformationStore::all, ldloc:SignerInformationStore(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: 0x0600C29D RID: 49821 RVA: 0x002C03C8 File Offset: 0x002BE5C8 [Token(Token = "0x600C29D")] [Address(RVA = "0x2935CC0", Offset = "0x2934CC0", VA = "0x182935CC0")] public ICollection GetSigners(SignerID selector) { IDictionary dictionary = this.table; IList list = Platform.CreateArrayList(); throw new NullReferenceException(); } // Token: 0x04007B09 RID: 31497 [FieldOffset(Offset = "0x10")] [Token(Token = "0x4007B09")] private readonly IList all; // Token: 0x04007B0A RID: 31498 [FieldOffset(Offset = "0x18")] [Token(Token = "0x4007B0A")] private readonly IDictionary table; } }