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
NTAuthentication.cs
Go to the documentation of this file.
1using System;
9
10namespace System.Net
11{
12 [global::Cpp2ILInjected.Token(Token = "0x200012B")]
13 internal class NTAuthentication
14 {
15 [global::Cpp2ILInjected.Token(Token = "0x1700017D")]
16 internal bool IsCompleted
17 {
18 [global::Cpp2ILInjected.Token(Token = "0x6000719")]
19 [global::Cpp2ILInjected.Address(RVA = "0x1EE3D78", Offset = "0x1EE3D78", Length = "0x8")]
20 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
21 get
22 {
23 throw null;
24 }
25 }
26
27 [global::Cpp2ILInjected.Token(Token = "0x1700017E")]
28 internal bool IsValidContext
29 {
30 [global::Cpp2ILInjected.Token(Token = "0x600071A")]
31 [global::Cpp2ILInjected.Address(RVA = "0x1EE3D80", Offset = "0x1EE3D80", Length = "0x30")]
32 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
33 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
34 get
35 {
36 throw null;
37 }
38 }
39
40 [global::Cpp2ILInjected.Token(Token = "0x1700017F")]
41 internal string Package
42 {
43 [global::Cpp2ILInjected.Token(Token = "0x600071B")]
44 [global::Cpp2ILInjected.Address(RVA = "0x1EE3DB0", Offset = "0x1EE3DB0", Length = "0x8")]
45 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
46 get
47 {
48 throw null;
49 }
50 }
51
52 [global::Cpp2ILInjected.Token(Token = "0x17000180")]
53 internal bool IsServer
54 {
55 [global::Cpp2ILInjected.Token(Token = "0x600071C")]
56 [global::Cpp2ILInjected.Address(RVA = "0x1EE3DB8", Offset = "0x1EE3DB8", Length = "0x8")]
57 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
58 get
59 {
60 throw null;
61 }
62 }
63
64 [global::Cpp2ILInjected.Token(Token = "0x17000181")]
65 internal string ClientSpecifiedSpn
66 {
67 [global::Cpp2ILInjected.Token(Token = "0x600071D")]
68 [global::Cpp2ILInjected.Address(RVA = "0x1EE3DC0", Offset = "0x1EE3DC0", Length = "0x24")]
69 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
70 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NTAuthentication), Member = "GetClientSpecifiedSpn", ReturnType = typeof(string))]
71 get
72 {
73 throw null;
74 }
75 }
76
77 [global::Cpp2ILInjected.Token(Token = "0x17000182")]
78 internal string ProtocolName
79 {
80 [global::Cpp2ILInjected.Token(Token = "0x600071E")]
81 [global::Cpp2ILInjected.Address(RVA = "0x1EE3F5C", Offset = "0x1EE3F5C", Length = "0x88")]
82 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
83 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NTAuthentication), Member = "get_IsKerberos", ReturnType = typeof(bool))]
84 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
85 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NegotiateStreamPal), Member = "QueryContextAuthenticationPackage", MemberParameters = new object[] { typeof(SafeDeleteContext) }, ReturnType = typeof(string))]
86 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
87 get
88 {
89 throw null;
90 }
91 }
92
93 [global::Cpp2ILInjected.Token(Token = "0x17000183")]
94 internal bool IsKerberos
95 {
96 [global::Cpp2ILInjected.Token(Token = "0x600071F")]
97 [global::Cpp2ILInjected.Address(RVA = "0x1EE3FE4", Offset = "0x1EE3FE4", Length = "0x60")]
98 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
99 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
100 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NTAuthentication), Member = "get_ProtocolName", ReturnType = typeof(string))]
101 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
102 get
103 {
104 throw null;
105 }
106 }
107
108 [global::Cpp2ILInjected.Token(Token = "0x6000720")]
109 [global::Cpp2ILInjected.Address(RVA = "0x1EE4044", Offset = "0x1EE4044", Length = "0x64")]
110 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
111 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
116
117 [global::Cpp2ILInjected.Token(Token = "0x6000721")]
118 [global::Cpp2ILInjected.Address(RVA = "0x1EE40A8", Offset = "0x1EE40A8", Length = "0x294")]
119 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
120 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
121 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetEventSource), Member = "get_IsEnabled", ReturnType = typeof(bool))]
122 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetEventSource), Member = "Enter", MemberParameters = new object[]
123 {
124 typeof(object),
125 typeof(object),
126 typeof(object),
127 typeof(object),
128 typeof(string)
129 }, ReturnType = typeof(void))]
130 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NegotiateStreamPal), Member = "QueryMaxTokenSize", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(int))]
131 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FormattableStringFactory), Member = "Create", MemberParameters = new object[]
132 {
133 typeof(string),
134 typeof(object[])
135 }, ReturnType = typeof(FormattableString))]
136 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetEventSource), Member = "Info", MemberParameters = new object[]
137 {
138 typeof(object),
140 typeof(string)
141 }, ReturnType = typeof(void))]
142 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NegotiateStreamPal), Member = "AcquireCredentialsHandle", MemberParameters = new object[]
143 {
144 typeof(string),
145 typeof(bool),
147 }, ReturnType = typeof(SafeFreeCredentials))]
148 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetEventSource), Member = "Info", MemberParameters = new object[]
149 {
150 typeof(object),
151 typeof(object),
152 typeof(string)
153 }, ReturnType = typeof(void))]
154 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NegotiateStreamPal), Member = "AcquireDefaultCredential", MemberParameters = new object[]
155 {
156 typeof(string),
157 typeof(bool)
158 }, ReturnType = typeof(SafeFreeCredentials))]
159 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 19)]
164
165 [global::Cpp2ILInjected.Token(Token = "0x6000722")]
166 [global::Cpp2ILInjected.Address(RVA = "0x1EE433C", Offset = "0x1EE433C", Length = "0x134")]
167 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
168 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
169 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetEventSource), Member = "Fail", MemberParameters = new object[]
170 {
171 typeof(object),
172 typeof(object),
173 typeof(string)
174 }, ReturnType = typeof(void))]
175 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
177 {
178 throw null;
179 }
180
181 [global::Cpp2ILInjected.Token(Token = "0x6000723")]
182 [global::Cpp2ILInjected.Address(RVA = "0x1EE447C", Offset = "0x1EE447C", Length = "0x34")]
183 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NTAuthentication), Member = "GetOutgoingBlob", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
184 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NTAuthentication), Member = "GetOutgoingBlob", MemberParameters = new object[]
185 {
186 typeof(byte[]),
187 typeof(bool),
189 }, ReturnType = typeof(byte[]))]
190 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
191 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SafeHandle), Member = "get_IsClosed", ReturnType = typeof(bool))]
192 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SafeHandle), Member = "Dispose", ReturnType = typeof(void))]
193 internal void CloseContext()
194 {
195 throw null;
196 }
197
198 [global::Cpp2ILInjected.Token(Token = "0x6000724")]
199 [global::Cpp2ILInjected.Address(RVA = "0x1EE44B0", Offset = "0x1EE44B0", Length = "0xC")]
200 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
201 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NegotiateStreamPal), Member = "VerifySignature", MemberParameters = new object[]
202 {
204 typeof(byte[]),
205 typeof(int),
206 typeof(int)
207 }, ReturnType = typeof(int))]
208 internal int VerifySignature(byte[] buffer, int offset, int count)
209 {
210 throw null;
211 }
212
213 [global::Cpp2ILInjected.Token(Token = "0x6000725")]
214 [global::Cpp2ILInjected.Address(RVA = "0x1EE44BC", Offset = "0x1EE44BC", Length = "0xC")]
215 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
216 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NegotiateStreamPal), Member = "MakeSignature", MemberParameters = new object[]
217 {
219 typeof(byte[]),
220 typeof(int),
221 typeof(int),
222 typeof(ref byte[])
223 }, ReturnType = typeof(int))]
224 internal int MakeSignature(byte[] buffer, int offset, int count, ref byte[] output)
225 {
226 throw null;
227 }
228
229 [global::Cpp2ILInjected.Token(Token = "0x6000726")]
230 [global::Cpp2ILInjected.Address(RVA = "0x1EE44C8", Offset = "0x1EE44C8", Length = "0x120")]
231 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
232 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
233 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Convert), Member = "FromBase64String", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(byte[]))]
234 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NTAuthentication), Member = "GetOutgoingBlob", MemberParameters = new object[]
235 {
236 typeof(byte[]),
237 typeof(bool),
239 }, ReturnType = typeof(byte[]))]
240 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Convert), Member = "ToBase64String", MemberParameters = new object[] { typeof(byte[]) }, ReturnType = typeof(string))]
241 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NTAuthentication), Member = "CloseContext", ReturnType = typeof(void))]
242 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
243 internal string GetOutgoingBlob(string incomingBlob)
244 {
245 throw null;
246 }
247
248 [global::Cpp2ILInjected.Token(Token = "0x6000727")]
249 [global::Cpp2ILInjected.Address(RVA = "0x1EE512C", Offset = "0x1EE512C", Length = "0x24")]
250 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
251 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NTAuthentication), Member = "GetOutgoingBlob", MemberParameters = new object[]
252 {
253 typeof(byte[]),
254 typeof(bool),
256 }, ReturnType = typeof(byte[]))]
257 internal byte[] GetOutgoingBlob(byte[] incomingBlob, bool thrownOnError)
258 {
259 throw null;
260 }
261
262 [global::Cpp2ILInjected.Token(Token = "0x6000728")]
263 [global::Cpp2ILInjected.Address(RVA = "0x1EE45E8", Offset = "0x1EE45E8", Length = "0xB44")]
264 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
265 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NTAuthentication), Member = "GetOutgoingBlob", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
266 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NTAuthentication), Member = "GetOutgoingBlob", MemberParameters = new object[]
267 {
268 typeof(byte[]),
269 typeof(bool)
270 }, ReturnType = typeof(byte[]))]
271 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
272 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetEventSource), Member = "get_IsEnabled", ReturnType = typeof(bool))]
273 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetEventSource), Member = "Enter", MemberParameters = new object[]
274 {
275 typeof(object),
276 typeof(object),
277 typeof(string)
278 }, ReturnType = typeof(void))]
279 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SecurityBuffer), Member = ".ctor", MemberParameters = new object[]
280 {
281 typeof(byte[]),
283 }, ReturnType = typeof(void))]
284 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SecurityBuffer), Member = ".ctor", MemberParameters = new object[] { typeof(ChannelBinding) }, ReturnType = typeof(void))]
285 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SecurityBuffer), Member = ".ctor", MemberParameters = new object[]
286 {
287 typeof(int),
289 }, ReturnType = typeof(void))]
290 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NegotiateStreamPal), Member = "AcceptSecurityContext", MemberParameters = new object[]
291 {
294 typeof(ContextFlagsPal),
297 typeof(ref ContextFlagsPal)
298 }, ReturnType = typeof(SecurityStatusPal))]
299 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FormattableStringFactory), Member = "Create", MemberParameters = new object[]
300 {
301 typeof(string),
302 typeof(object[])
303 }, ReturnType = typeof(FormattableString))]
304 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetEventSource), Member = "Info", MemberParameters = new object[]
305 {
306 typeof(object),
308 typeof(string)
309 }, ReturnType = typeof(void))]
310 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NegotiateStreamPal), Member = "InitializeSecurityContext", MemberParameters = new object[]
311 {
314 typeof(string),
315 typeof(ContextFlagsPal),
318 typeof(ref ContextFlagsPal)
319 }, ReturnType = typeof(SecurityStatusPal))]
320 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NegotiateStreamPal), Member = "CompleteAuthToken", MemberParameters = new object[]
321 {
324 }, ReturnType = typeof(SecurityStatusPal))]
325 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SafeHandle), Member = "Dispose", ReturnType = typeof(void))]
326 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SSPIHandleCache), Member = "CacheCredential", MemberParameters = new object[] { typeof(SafeFreeCredentials) }, ReturnType = typeof(void))]
327 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NTAuthentication), Member = "CloseContext", ReturnType = typeof(void))]
328 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetEventSource), Member = "Exit", MemberParameters = new object[]
329 {
330 typeof(object),
332 typeof(string)
333 }, ReturnType = typeof(void))]
334 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NegotiateStreamPal), Member = "CreateExceptionFromError", MemberParameters = new object[] { typeof(SecurityStatusPal) }, ReturnType = typeof(Win32Exception))]
335 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetEventSource), Member = "Exit", MemberParameters = new object[]
336 {
337 typeof(object),
338 typeof(object),
339 typeof(string)
340 }, ReturnType = typeof(void))]
341 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 104)]
342 internal byte[] GetOutgoingBlob(byte[] incomingBlob, bool throwOnError, out SecurityStatusPal statusCode)
343 {
344 throw null;
345 }
346
347 [global::Cpp2ILInjected.Token(Token = "0x6000729")]
348 [global::Cpp2ILInjected.Address(RVA = "0x1EE3DE4", Offset = "0x1EE3DE4", Length = "0x178")]
349 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
350 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NTAuthentication), Member = "get_ClientSpecifiedSpn", ReturnType = typeof(string))]
351 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
352 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetEventSource), Member = "Fail", MemberParameters = new object[]
353 {
354 typeof(object),
355 typeof(object),
356 typeof(string)
357 }, ReturnType = typeof(void))]
358 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NegotiateStreamPal), Member = "QueryContextClientSpecifiedSpn", MemberParameters = new object[] { typeof(SafeDeleteContext) }, ReturnType = typeof(string))]
359 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetEventSource), Member = "get_IsEnabled", ReturnType = typeof(bool))]
360 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FormattableStringFactory), Member = "Create", MemberParameters = new object[]
361 {
362 typeof(string),
363 typeof(object[])
364 }, ReturnType = typeof(FormattableString))]
365 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetEventSource), Member = "Info", MemberParameters = new object[]
366 {
367 typeof(object),
369 typeof(string)
370 }, ReturnType = typeof(void))]
371 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 12)]
372 private string GetClientSpecifiedSpn()
373 {
374 throw null;
375 }
376
377 [global::Cpp2ILInjected.Token(Token = "0x4000584")]
378 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
379 private bool _isServer;
380
381 [global::Cpp2ILInjected.Token(Token = "0x4000585")]
382 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
384
385 [global::Cpp2ILInjected.Token(Token = "0x4000586")]
386 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
388
389 [global::Cpp2ILInjected.Token(Token = "0x4000587")]
390 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
391 private string _spn;
392
393 [global::Cpp2ILInjected.Token(Token = "0x4000588")]
394 [global::Cpp2ILInjected.FieldOffset(Offset = "0x30")]
395 private int _tokenSize;
396
397 [global::Cpp2ILInjected.Token(Token = "0x4000589")]
398 [global::Cpp2ILInjected.FieldOffset(Offset = "0x34")]
400
401 [global::Cpp2ILInjected.Token(Token = "0x400058A")]
402 [global::Cpp2ILInjected.FieldOffset(Offset = "0x38")]
404
405 [global::Cpp2ILInjected.Token(Token = "0x400058B")]
406 [global::Cpp2ILInjected.FieldOffset(Offset = "0x3C")]
407 private bool _isCompleted;
408
409 [global::Cpp2ILInjected.Token(Token = "0x400058C")]
410 [global::Cpp2ILInjected.FieldOffset(Offset = "0x40")]
411 private string _package;
412
413 [global::Cpp2ILInjected.Token(Token = "0x400058D")]
414 [global::Cpp2ILInjected.FieldOffset(Offset = "0x48")]
415 private string _lastProtocolName;
416
417 [global::Cpp2ILInjected.Token(Token = "0x400058E")]
418 [global::Cpp2ILInjected.FieldOffset(Offset = "0x50")]
419 private string _protocolName;
420
421 [global::Cpp2ILInjected.Token(Token = "0x400058F")]
422 [global::Cpp2ILInjected.FieldOffset(Offset = "0x58")]
423 private string _clientSpecifiedSpn;
424
425 [global::Cpp2ILInjected.Token(Token = "0x4000590")]
426 [global::Cpp2ILInjected.FieldOffset(Offset = "0x60")]
428 }
429}
class f__AnonymousType0<< Count > j__TPar
SafeFreeCredentials _credentialsHandle
SafeDeleteContext GetContext(out SecurityStatusPal status)
string GetOutgoingBlob(string incomingBlob)
NTAuthentication(bool isServer, string package, NetworkCredential credential, string spn, ContextFlagsPal requestedContextFlags, ChannelBinding channelBinding)
byte[] GetOutgoingBlob(byte[] incomingBlob, bool throwOnError, out SecurityStatusPal statusCode)
void Initialize(bool isServer, string package, NetworkCredential credential, string spn, ContextFlagsPal requestedContextFlags, ChannelBinding channelBinding)
int MakeSignature(byte[] buffer, int offset, int count, ref byte[] output)
byte[] GetOutgoingBlob(byte[] incomingBlob, bool thrownOnError)
ContextFlagsPal _requestedContextFlags
SafeDeleteContext _securityContext
int VerifySignature(byte[] buffer, int offset, int count)