terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
RSAPKCS1SignatureFormatter.cs
Go to the documentation of this file.
1using System;
3
5{
6 // Token: 0x02000317 RID: 791
7 [ComVisible(true)]
9 {
10 // Token: 0x06001ADB RID: 6875 RVA: 0x00039FA8 File Offset: 0x000381A8
12 {
13 }
14
15 // Token: 0x06001ADC RID: 6876 RVA: 0x00039FBC File Offset: 0x000381BC
19
20 // Token: 0x06001ADD RID: 6877 RVA: 0x00039FD0 File Offset: 0x000381D0
21 public override byte[] CreateSignature(byte[] rgbHash)
22 {
23 /*
24An exception occurred when decompiling this method (06001ADD)
25
26ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Byte[] System.Security.Cryptography.RSAPKCS1SignatureFormatter::CreateSignature(System.Byte[])
27
28 ---> System.Exception: Basic block has to end with unconditional control flow.
29{
30 IL_0026:
31 stloc:string(var_2_30, call:string(Locale::GetText, ldstr:string("Missing hash algorithm.")))
32}
33
34 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
35 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
36 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
37 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
38 --- End of inner exception stack trace ---
39 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
40 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 1683
41*/;
42 }
43
44 // Token: 0x06001ADE RID: 6878 RVA: 0x0003A010 File Offset: 0x00038210
45 public override void SetHashAlgorithm(string strName)
46 {
47 while (strName == null)
48 {
49 }
51 }
52
53 // Token: 0x06001ADF RID: 6879 RVA: 0x0003A028 File Offset: 0x00038228
54 public override void SetKey(AsymmetricAlgorithm key)
55 {
56 while (key == null)
57 {
58 }
59 this.rsa = key;
60 }
61
62 // Token: 0x04000DAC RID: 3500
63 private RSA rsa;
64
65 // Token: 0x04000DAD RID: 3501
66 private string hash;
67 }
68}
class f__AnonymousType0<< Count > j__TPar