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
RSAOAEPKeyExchangeDeformatter.cs
Go to the documentation of this file.
1using System;
3
5{
6 // Token: 0x020002F5 RID: 757
7 [ComVisible(true)]
9 {
10 // Token: 0x060019A6 RID: 6566 RVA: 0x00037308 File Offset: 0x00035508
14
15 // Token: 0x060019A7 RID: 6567 RVA: 0x0003731C File Offset: 0x0003551C
17 {
18 do
19 {
20 base..ctor();
21 }
22 while (key == null);
24 }
25
26 // Token: 0x170002C2 RID: 706
27 // (get) Token: 0x060019A8 RID: 6568 RVA: 0x00037340 File Offset: 0x00035540
28 // (set) Token: 0x060019A9 RID: 6569 RVA: 0x00037350 File Offset: 0x00035550
29 public override string Parameters
30 {
31 get
32 {
33 }
34 set
35 {
36 }
37 }
38
39 // Token: 0x060019AA RID: 6570 RVA: 0x00037360 File Offset: 0x00035560
40 public override byte[] DecryptKeyExchange(byte[] rgbData)
41 {
42 /*
43An exception occurred when decompiling this method (060019AA)
44
45ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Byte[] System.Security.Cryptography.RSAOAEPKeyExchangeDeformatter::DecryptKeyExchange(System.Byte[])
46
47 ---> System.Exception: Basic block has to end with unconditional control flow.
48{
49 IL_0027:
50 stloc:string(var_5_31, call:string(Environment::GetResourceString, ldstr:string("No asymmetric key object has been associated with this formatter object.")))
51}
52
53 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
54 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
55 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
56 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
57 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
58 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
59 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
60 --- End of inner exception stack trace ---
61 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
62 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
63*/;
64 }
65
66 // Token: 0x060019AB RID: 6571 RVA: 0x000373A0 File Offset: 0x000355A0
67 public override void SetKey(AsymmetricAlgorithm key)
68 {
69 while (key == null)
70 {
71 }
73 }
74
75 // Token: 0x170002C3 RID: 707
76 // (get) Token: 0x060019AC RID: 6572 RVA: 0x000373C0 File Offset: 0x000355C0
77 private bool OverridesDecrypt
78 {
79 get
80 {
81 if (this._rsaOverridesDecrypt == null)
82 {
83 RSA rsaKey = this._rsaKey;
84 Type type;
85 Type type2;
86 if ((type != null && type == null) || type2 == null || type2 != null)
87 {
88 }
89 }
91 }
92 }
93
94 // Token: 0x04000D07 RID: 3335
95 private RSA _rsaKey;
96
97 // Token: 0x04000D08 RID: 3336
98 private bool? _rsaOverridesDecrypt;
99 }
100}
class f__AnonymousType0<< Count > j__TPar