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
X509CertificateBuilder.cs
Go to the documentation of this file.
1using System;
3
4namespace Mono.Security.X509
5{
6 // Token: 0x02000016 RID: 22
8 {
9 // Token: 0x060000EB RID: 235 RVA: 0x00005CF0 File Offset: 0x00003EF0
11 {
12 }
13
14 // Token: 0x060000EC RID: 236 RVA: 0x00005D00 File Offset: 0x00003F00
16 {
18 }
19
20 // Token: 0x17000049 RID: 73
21 // (get) Token: 0x060000ED RID: 237 RVA: 0x00005D1C File Offset: 0x00003F1C
22 // (set) Token: 0x060000EE RID: 238 RVA: 0x00005D30 File Offset: 0x00003F30
23 public byte Version
24 {
25 get
26 {
27 return this.version;
28 }
29 set
30 {
32 }
33 }
34
35 // Token: 0x1700004A RID: 74
36 // (get) Token: 0x060000EF RID: 239 RVA: 0x00005D44 File Offset: 0x00003F44
37 // (set) Token: 0x060000F0 RID: 240 RVA: 0x00005D58 File Offset: 0x00003F58
38 public byte[] SerialNumber
39 {
40 get
41 {
42 return this.sn;
43 }
44 set
45 {
46 this.sn = value;
47 }
48 }
49
50 // Token: 0x1700004B RID: 75
51 // (get) Token: 0x060000F1 RID: 241 RVA: 0x00005D6C File Offset: 0x00003F6C
52 // (set) Token: 0x060000F2 RID: 242 RVA: 0x00005D80 File Offset: 0x00003F80
53 public string IssuerName
54 {
55 get
56 {
57 return this.issuer;
58 }
59 set
60 {
62 }
63 }
64
65 // Token: 0x1700004C RID: 76
66 // (get) Token: 0x060000F3 RID: 243 RVA: 0x00005D94 File Offset: 0x00003F94
67 // (set) Token: 0x060000F4 RID: 244 RVA: 0x00005DAC File Offset: 0x00003FAC
69 {
70 get
71 {
72 DateTime dateTime = this.notBefore;
74 return dateTime2;
75 }
76 set
77 {
79 }
80 }
81
82 // Token: 0x1700004D RID: 77
83 // (get) Token: 0x060000F5 RID: 245 RVA: 0x00005DC0 File Offset: 0x00003FC0
84 // (set) Token: 0x060000F6 RID: 246 RVA: 0x00005DD8 File Offset: 0x00003FD8
86 {
87 get
88 {
89 DateTime dateTime = this.notAfter;
91 return dateTime2;
92 }
93 set
94 {
96 }
97 }
98
99 // Token: 0x1700004E RID: 78
100 // (get) Token: 0x060000F7 RID: 247 RVA: 0x00005DEC File Offset: 0x00003FEC
101 // (set) Token: 0x060000F8 RID: 248 RVA: 0x00005E00 File Offset: 0x00004000
102 public string SubjectName
103 {
104 get
105 {
106 return this.subject;
107 }
108 set
109 {
111 }
112 }
113
114 // Token: 0x1700004F RID: 79
115 // (get) Token: 0x060000F9 RID: 249 RVA: 0x00005E14 File Offset: 0x00004014
116 // (set) Token: 0x060000FA RID: 250 RVA: 0x00005E28 File Offset: 0x00004028
118 {
119 get
120 {
121 return this.aa;
122 }
123 set
124 {
125 this.aa = value;
126 }
127 }
128
129 // Token: 0x17000050 RID: 80
130 // (get) Token: 0x060000FB RID: 251 RVA: 0x00005E3C File Offset: 0x0000403C
131 // (set) Token: 0x060000FC RID: 252 RVA: 0x00005E50 File Offset: 0x00004050
132 public byte[] IssuerUniqueId
133 {
134 get
135 {
136 return this.issuerUniqueID;
137 }
138 set
139 {
141 }
142 }
143
144 // Token: 0x17000051 RID: 81
145 // (get) Token: 0x060000FD RID: 253 RVA: 0x00005E64 File Offset: 0x00004064
146 // (set) Token: 0x060000FE RID: 254 RVA: 0x00005E78 File Offset: 0x00004078
147 public byte[] SubjectUniqueId
148 {
149 get
150 {
151 return this.subjectUniqueID;
152 }
153 set
154 {
156 }
157 }
158
159 // Token: 0x17000052 RID: 82
160 // (get) Token: 0x060000FF RID: 255 RVA: 0x00005E8C File Offset: 0x0000408C
162 {
163 get
164 {
165 return this.extensions;
166 }
167 }
168
169 // Token: 0x06000100 RID: 256 RVA: 0x00005EA0 File Offset: 0x000040A0
171 {
172 /*
173An exception occurred when decompiling this method (06000100)
174
175ICSharpCode.Decompiler.DecompilerException: Error decompiling Mono.Security.ASN1 Mono.Security.X509.X509CertificateBuilder::SubjectPublicKeyInfo()
176
177 ---> System.Exception: Basic block has to end with unconditional control flow.
178{
179 Block_0:
180 stloc:ASN1(var_13_1A, call:ASN1(ASN1::Add, ldloc:ASN1(var_11), ldloc:ASN1(var_12)))
181 stloc:ASN1(var_14_26, call:ASN1(PKCS7::AlgorithmIdentifier, ldstr:string("1.2.840.113549.1.1.1")))
182 stloc:AsymmetricAlgorithm(var_16_2E, ldfld:AsymmetricAlgorithm(X509CertificateBuilder::aa, ldloc:X509CertificateBuilder(this)))
183}
184
185 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
186 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
187 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
188 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
189 --- End of inner exception stack trace ---
190 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
191 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
192*/;
193 }
194
195 // Token: 0x06000101 RID: 257 RVA: 0x00005EE0 File Offset: 0x000040E0
196 private byte[] UniqueIdentifier(byte[] id)
197 {
198 }
199
200 // Token: 0x06000102 RID: 258 RVA: 0x00005EF0 File Offset: 0x000040F0
201 protected override ASN1 ToBeSigned(string oid)
202 {
203 /*
204An exception occurred when decompiling this method (06000102)
205
206ICSharpCode.Decompiler.DecompilerException: Error decompiling Mono.Security.ASN1 Mono.Security.X509.X509CertificateBuilder::ToBeSigned(System.String)
207
208 ---> System.Exception: Basic block has to end with unconditional control flow.
209{
210 IL_00A9:
211 stloc:uint8(var_31_AF, ldfld:uint8(X509CertificateBuilder::version, ldloc:X509CertificateBuilder(this)))
212 stloc:int32(var_32_BC, callgetter:int32(CollectionBase::get_Count, ldfld:X509ExtensionCollection[exp:CollectionBase](X509CertificateBuilder::extensions, ldloc:X509CertificateBuilder(this))))
213 stloc:uint8[](var_33_C9, call:uint8[](X509ExtensionCollection::GetBytes, ldfld:X509ExtensionCollection(X509CertificateBuilder::extensions, ldloc:X509CertificateBuilder(this))))
214}
215
216 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
217 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
218 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
219 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
220 --- End of inner exception stack trace ---
221 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
222 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
223*/;
224 }
225
226 // Token: 0x04000083 RID: 131
227 private byte version;
228
229 // Token: 0x04000084 RID: 132
230 private byte[] sn;
231
232 // Token: 0x04000085 RID: 133
233 private string issuer;
234
235 // Token: 0x04000086 RID: 134
237
238 // Token: 0x04000087 RID: 135
240
241 // Token: 0x04000088 RID: 136
242 private string subject;
243
244 // Token: 0x04000089 RID: 137
246
247 // Token: 0x0400008A RID: 138
248 private byte[] issuerUniqueID;
249
250 // Token: 0x0400008B RID: 139
251 private byte[] subjectUniqueID;
252
253 // Token: 0x0400008C RID: 140
255 }
256}
class f__AnonymousType0<< Count > j__TPar