terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
X509Chain.cs
Go to the documentation of this file.
1using System;
7
8namespace Mono.Security.X509
9{
10 [global::Cpp2ILInjected.Token(Token = "0x2000019")]
11 public class X509Chain
12 {
13 [global::Cpp2ILInjected.Token(Token = "0x600011B")]
14 [global::Cpp2ILInjected.Address(RVA = "0x1A910C0", Offset = "0x1A910C0", Length = "0x64")]
15 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(X509Chain), Member = ".ctor", MemberParameters = new object[] { typeof(X509CertificateCollection) }, ReturnType = typeof(void))]
16 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AuthenticodeDeformatter), Member = ".ctor", ReturnType = typeof(void))]
17 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
18 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
19 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CollectionBase), Member = ".ctor", ReturnType = typeof(void))]
20 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
21 public X509Chain()
22 {
23 throw null;
24 }
25
26 [global::Cpp2ILInjected.Token(Token = "0x600011C")]
27 [global::Cpp2ILInjected.Address(RVA = "0x1A91124", Offset = "0x1A91124", Length = "0x74")]
28 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
29 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(X509Chain), Member = ".ctor", ReturnType = typeof(void))]
30 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CollectionBase), Member = ".ctor", ReturnType = typeof(void))]
31 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(X509CertificateCollection), Member = "AddRange", MemberParameters = new object[] { typeof(X509CertificateCollection) }, ReturnType = typeof(void))]
32 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
34 {
35 throw null;
36 }
37
38 [global::Cpp2ILInjected.Token(Token = "0x17000056")]
40 {
41 [global::Cpp2ILInjected.Token(Token = "0x600011D")]
42 [global::Cpp2ILInjected.Address(RVA = "0x1A91198", Offset = "0x1A91198", Length = "0x8")]
43 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
44 get
45 {
46 throw null;
47 }
48 }
49
50 [global::Cpp2ILInjected.Token(Token = "0x17000057")]
52 {
53 [global::Cpp2ILInjected.Token(Token = "0x600011E")]
54 [global::Cpp2ILInjected.Address(RVA = "0x1A911A0", Offset = "0x1A911A0", Length = "0x8")]
55 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
56 get
57 {
58 throw null;
59 }
60 }
61
62 [global::Cpp2ILInjected.Token(Token = "0x17000058")]
64 {
65 [global::Cpp2ILInjected.Token(Token = "0x600011F")]
66 [global::Cpp2ILInjected.Address(RVA = "0x1A911A8", Offset = "0x1A911A8", Length = "0x8")]
67 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
68 get
69 {
70 throw null;
71 }
72 }
73
74 [global::Cpp2ILInjected.Token(Token = "0x17000059")]
76 {
77 [global::Cpp2ILInjected.Token(Token = "0x6000120")]
78 [global::Cpp2ILInjected.Address(RVA = "0x1A911B0", Offset = "0x1A911B0", Length = "0x74")]
79 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(X509Chain), Member = "FindCertificateRoot", MemberParameters = new object[] { typeof(X509Certificate) }, ReturnType = typeof(X509Certificate))]
80 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(X509Chain), Member = "IsTrusted", MemberParameters = new object[] { typeof(X509Certificate) }, ReturnType = typeof(bool))]
81 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(X509Chain), Member = "IsParent", MemberParameters = new object[]
82 {
85 }, ReturnType = typeof(bool))]
86 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
87 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CollectionBase), Member = ".ctor", ReturnType = typeof(void))]
88 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(X509StoreManager), Member = "get_TrustedRootCertificates", ReturnType = typeof(X509CertificateCollection))]
89 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(X509CertificateCollection), Member = "AddRange", MemberParameters = new object[] { typeof(X509CertificateCollection) }, ReturnType = typeof(void))]
90 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
91 get
92 {
93 throw null;
94 }
95 [global::Cpp2ILInjected.Token(Token = "0x6000121")]
96 [global::Cpp2ILInjected.Address(RVA = "0x1A912D0", Offset = "0x1A912D0", Length = "0x8")]
97 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
98 set
99 {
100 throw null;
101 }
102 }
103
104 [global::Cpp2ILInjected.Token(Token = "0x6000122")]
105 [global::Cpp2ILInjected.Address(RVA = "0x1A912D8", Offset = "0x1A912D8", Length = "0x8")]
106 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
107 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(X509CertificateCollection), Member = "Add", MemberParameters = new object[] { typeof(X509Certificate) }, ReturnType = typeof(int))]
109 {
110 throw null;
111 }
112
113 [global::Cpp2ILInjected.Token(Token = "0x6000123")]
114 [global::Cpp2ILInjected.Address(RVA = "0x1A912E0", Offset = "0x1A912E0", Length = "0x8")]
115 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AuthenticodeDeformatter), Member = "VerifySignature", MemberParameters = new object[]
116 {
118 typeof(byte[]),
120 }, ReturnType = typeof(bool))]
121 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AuthenticodeDeformatter), Member = "VerifyCounterSignature", MemberParameters = new object[]
122 {
124 typeof(byte[])
125 }, ReturnType = typeof(bool))]
126 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
127 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(X509CertificateCollection), Member = "AddRange", MemberParameters = new object[] { typeof(X509CertificateCollection) }, ReturnType = typeof(void))]
129 {
130 throw null;
131 }
132
133 [global::Cpp2ILInjected.Token(Token = "0x6000124")]
134 [global::Cpp2ILInjected.Address(RVA = "0x1A912E8", Offset = "0x1A912E8", Length = "0x1E8")]
135 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
136 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
137 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(X509CertificateCollection), Member = "GetEnumerator", ReturnType = typeof(X509CertificateCollection.X509CertificateEnumerator))]
138 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(X509CertificateCollection.X509CertificateEnumerator), Member = "MoveNext", ReturnType = typeof(bool))]
139 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(X509CertificateCollection.X509CertificateEnumerator), Member = "get_Current", ReturnType = typeof(X509Certificate))]
140 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "op_Equality", MemberParameters = new object[]
141 {
142 typeof(string),
143 typeof(string)
144 }, ReturnType = typeof(bool))]
145 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
147 {
148 throw null;
149 }
150
151 [global::Cpp2ILInjected.Token(Token = "0x6000125")]
152 [global::Cpp2ILInjected.Address(RVA = "0x1A914D0", Offset = "0x1A914D0", Length = "0x388")]
153 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
154 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AuthenticodeDeformatter), Member = "VerifySignature", MemberParameters = new object[]
155 {
157 typeof(byte[]),
159 }, ReturnType = typeof(bool))]
160 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AuthenticodeDeformatter), Member = "VerifyCounterSignature", MemberParameters = new object[]
161 {
163 typeof(byte[])
164 }, ReturnType = typeof(bool))]
165 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
166 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CollectionBase), Member = "get_Count", ReturnType = typeof(int))]
167 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(X509CertificateCollection), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(X509Certificate))]
168 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(X509Chain), Member = "IsParent", MemberParameters = new object[]
169 {
170 typeof(X509Certificate),
171 typeof(X509Certificate)
172 }, ReturnType = typeof(bool))]
173 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CollectionBase), Member = ".ctor", ReturnType = typeof(void))]
174 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(X509Certificate), Member = "get_IsSelfSigned", ReturnType = typeof(bool))]
175 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(X509CertificateCollection), Member = "Add", MemberParameters = new object[] { typeof(X509Certificate) }, ReturnType = typeof(int))]
176 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(X509Chain), Member = "FindCertificateParent", MemberParameters = new object[] { typeof(X509Certificate) }, ReturnType = typeof(X509Certificate))]
177 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(X509Chain), Member = "FindCertificateRoot", MemberParameters = new object[] { typeof(X509Certificate) }, ReturnType = typeof(X509Certificate))]
178 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(X509CertificateCollection), Member = "GetEnumerator", ReturnType = typeof(X509CertificateCollection.X509CertificateEnumerator))]
179 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(X509CertificateCollection.X509CertificateEnumerator), Member = "MoveNext", ReturnType = typeof(bool))]
180 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(X509CertificateCollection.X509CertificateEnumerator), Member = "get_Current", ReturnType = typeof(X509Certificate))]
181 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(X509Chain), Member = "IsValid", MemberParameters = new object[] { typeof(X509Certificate) }, ReturnType = typeof(bool))]
182 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 13)]
184 {
185 throw null;
186 }
187
188 [global::Cpp2ILInjected.Token(Token = "0x6000126")]
189 [global::Cpp2ILInjected.Address(RVA = "0x1A91E54", Offset = "0x1A91E54", Length = "0x38")]
190 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AuthenticodeDeformatter), Member = "Reset", ReturnType = typeof(void))]
191 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
192 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CollectionBase), Member = "Clear", ReturnType = typeof(void))]
193 public void Reset()
194 {
195 throw null;
196 }
197
198 [global::Cpp2ILInjected.Token(Token = "0x6000127")]
199 [global::Cpp2ILInjected.Address(RVA = "0x1A91DAC", Offset = "0x1A91DAC", Length = "0xA8")]
200 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(X509Chain), Member = "Build", MemberParameters = new object[] { typeof(X509Certificate) }, ReturnType = typeof(bool))]
201 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
202 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(X509Certificate), Member = "get_IsCurrent", ReturnType = typeof(bool))]
203 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
204 private bool IsValid(X509Certificate cert)
205 {
206 throw null;
207 }
208
209 [global::Cpp2ILInjected.Token(Token = "0x6000128")]
210 [global::Cpp2ILInjected.Address(RVA = "0x1A91858", Offset = "0x1A91858", Length = "0x1DC")]
211 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
212 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(X509Chain), Member = "Build", MemberParameters = new object[] { typeof(X509Certificate) }, ReturnType = typeof(bool))]
213 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
214 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(X509CertificateCollection), Member = "GetEnumerator", ReturnType = typeof(X509CertificateCollection.X509CertificateEnumerator))]
215 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(X509CertificateCollection.X509CertificateEnumerator), Member = "MoveNext", ReturnType = typeof(bool))]
216 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(X509CertificateCollection.X509CertificateEnumerator), Member = "get_Current", ReturnType = typeof(X509Certificate))]
217 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(X509Chain), Member = "IsParent", MemberParameters = new object[]
218 {
219 typeof(X509Certificate),
220 typeof(X509Certificate)
221 }, ReturnType = typeof(bool))]
222 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
224 {
225 throw null;
226 }
227
228 [global::Cpp2ILInjected.Token(Token = "0x6000129")]
229 [global::Cpp2ILInjected.Address(RVA = "0x1A91A34", Offset = "0x1A91A34", Length = "0x23C")]
230 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
231 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(X509Chain), Member = "Build", MemberParameters = new object[] { typeof(X509Certificate) }, ReturnType = typeof(bool))]
232 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
233 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(X509Chain), Member = "get_TrustAnchors", ReturnType = typeof(X509CertificateCollection))]
234 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(X509CertificateCollection), Member = "IndexOf", MemberParameters = new object[] { typeof(X509Certificate) }, ReturnType = typeof(int))]
235 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(X509CertificateCollection), Member = "GetEnumerator", ReturnType = typeof(X509CertificateCollection.X509CertificateEnumerator))]
236 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(X509CertificateCollection.X509CertificateEnumerator), Member = "MoveNext", ReturnType = typeof(bool))]
237 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(X509CertificateCollection.X509CertificateEnumerator), Member = "get_Current", ReturnType = typeof(X509Certificate))]
238 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(X509Chain), Member = "IsParent", MemberParameters = new object[]
239 {
240 typeof(X509Certificate),
241 typeof(X509Certificate)
242 }, ReturnType = typeof(bool))]
243 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(X509Certificate), Member = "get_IsSelfSigned", ReturnType = typeof(bool))]
244 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
249
250 [global::Cpp2ILInjected.Token(Token = "0x600012A")]
251 [global::Cpp2ILInjected.Address(RVA = "0x1A91E8C", Offset = "0x1A91E8C", Length = "0x24")]
252 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
253 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
254 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(X509Chain), Member = "get_TrustAnchors", ReturnType = typeof(X509CertificateCollection))]
255 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(X509CertificateCollection), Member = "IndexOf", MemberParameters = new object[] { typeof(X509Certificate) }, ReturnType = typeof(int))]
257 {
258 throw null;
259 }
260
261 [global::Cpp2ILInjected.Token(Token = "0x600012B")]
262 [global::Cpp2ILInjected.Address(RVA = "0x1A91C70", Offset = "0x1A91C70", Length = "0x13C")]
263 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
264 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(X509Chain), Member = "Build", MemberParameters = new object[] { typeof(X509Certificate) }, ReturnType = typeof(bool))]
265 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(X509Chain), Member = "FindCertificateParent", MemberParameters = new object[] { typeof(X509Certificate) }, ReturnType = typeof(X509Certificate))]
266 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(X509Chain), Member = "FindCertificateRoot", MemberParameters = new object[] { typeof(X509Certificate) }, ReturnType = typeof(X509Certificate))]
267 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
268 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "op_Inequality", MemberParameters = new object[]
269 {
270 typeof(string),
271 typeof(string)
272 }, ReturnType = typeof(bool))]
273 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(X509Chain), Member = "get_TrustAnchors", ReturnType = typeof(X509CertificateCollection))]
274 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(X509CertificateCollection), Member = "IndexOf", MemberParameters = new object[] { typeof(X509Certificate) }, ReturnType = typeof(int))]
275 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(X509ExtensionCollection), Member = "get_Item", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(X509Extension))]
276 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(X509Extension), Member = ".ctor", MemberParameters = new object[] { typeof(X509Extension) }, ReturnType = typeof(void))]
277 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(X509Certificate), Member = "VerifySignature", MemberParameters = new object[] { typeof(RSA) }, ReturnType = typeof(bool))]
278 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
279 private bool IsParent(X509Certificate child, X509Certificate parent)
280 {
281 throw null;
282 }
283
284 [global::Cpp2ILInjected.Token(Token = "0x400008E")]
285 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
287
288 [global::Cpp2ILInjected.Token(Token = "0x400008F")]
289 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
291
292 [global::Cpp2ILInjected.Token(Token = "0x4000090")]
293 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
295
296 [global::Cpp2ILInjected.Token(Token = "0x4000091")]
297 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
299
300 [global::Cpp2ILInjected.Token(Token = "0x4000092")]
301 [global::Cpp2ILInjected.FieldOffset(Offset = "0x30")]
303 }
304}
class f__AnonymousType0<< Count > j__TPar
bool Build(X509Certificate leaf)
Definition X509Chain.cs:183
X509CertificateCollection TrustAnchors
Definition X509Chain.cs:76
void LoadCertificate(X509Certificate x509)
Definition X509Chain.cs:108
X509CertificateCollection roots
Definition X509Chain.cs:286
void LoadCertificates(X509CertificateCollection collection)
Definition X509Chain.cs:128
X509Chain(X509CertificateCollection chain)
Definition X509Chain.cs:33
bool IsParent(X509Certificate child, X509Certificate parent)
Definition X509Chain.cs:279
X509CertificateCollection Chain
Definition X509Chain.cs:40
X509Certificate FindByIssuerName(string issuerName)
Definition X509Chain.cs:146
X509ChainStatusFlags _status
Definition X509Chain.cs:302
bool IsTrusted(X509Certificate potentialTrusted)
Definition X509Chain.cs:256
bool IsValid(X509Certificate cert)
Definition X509Chain.cs:204
X509CertificateCollection _chain
Definition X509Chain.cs:298
X509Certificate FindCertificateRoot(X509Certificate potentialRoot)
Definition X509Chain.cs:245
X509Certificate FindCertificateParent(X509Certificate child)
Definition X509Chain.cs:223
X509CertificateCollection certs
Definition X509Chain.cs:290