This commit is contained in:
niko
2026-04-10 22:50:51 +02:00
parent 6d1607d5a2
commit f18d448581
17033 changed files with 2863270 additions and 0 deletions
@@ -0,0 +1,142 @@
using System;
using System.Collections;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities;
using Cpp2IlInjected;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Cms
{
// Token: 0x02001D6D RID: 7533
[Token(Token = "0x2001D6D")]
public class SignerInformationStore
{
// Token: 0x0600BECA RID: 48842 RVA: 0x002B79A8 File Offset: 0x002B5BA8
[Token(Token = "0x600BECA")]
[Address(RVA = "0x2015570", Offset = "0x2014370", VA = "0x182015570")]
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: 0x0600BECB RID: 48843 RVA: 0x002B79F0 File Offset: 0x002B5BF0
[Token(Token = "0x600BECB")]
[Address(RVA = "0x20152B0", Offset = "0x20140B0", VA = "0x1820152B0")]
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: 0x0600BECC RID: 48844 RVA: 0x002B7A78 File Offset: 0x002B5C78
[Token(Token = "0x600BECC")]
[Address(RVA = "0x2015070", Offset = "0x2013E70", VA = "0x182015070")]
public SignerInformation GetFirstSigner(SignerID selector)
{
IDictionary dictionary;
do
{
dictionary = this.table;
}
while (dictionary == 0);
throw new NullReferenceException();
}
// Token: 0x17001D93 RID: 7571
// (get) Token: 0x0600BECD RID: 48845 RVA: 0x002B7A9C File Offset: 0x002B5C9C
[Token(Token = "0x17001D93")]
public int Count
{
[Token(Token = "0x600BECD")]
[Address(RVA = "0x2015640", Offset = "0x2014440", VA = "0x182015640")]
get
{
IList list = this.all;
throw new NullReferenceException();
}
}
// Token: 0x0600BECE RID: 48846 RVA: 0x002B7AB8 File Offset: 0x002B5CB8
[Token(Token = "0x600BECE")]
[Address(RVA = "0x2015160", Offset = "0x2013F60", VA = "0x182015160")]
public ICollection GetSigners()
{
/*
An exception occurred when decompiling this method (0600BECE)
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: 0x0600BECF RID: 48847 RVA: 0x002B7AD0 File Offset: 0x002B5CD0
[Token(Token = "0x600BECF")]
[Address(RVA = "0x20151C0", Offset = "0x2013FC0", VA = "0x1820151C0")]
public ICollection GetSigners(SignerID selector)
{
IDictionary dictionary = this.table;
IList list = Platform.CreateArrayList();
throw new NullReferenceException();
}
// Token: 0x04007950 RID: 31056
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4007950")]
private readonly IList all;
// Token: 0x04007951 RID: 31057
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4007951")]
private readonly IDictionary table;
}
}