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
Interop.cs
Go to the documentation of this file.
1using System;
7
8[global::Cpp2ILInjected.Token(Token = "0x2000002")]
9internal static class Interop
10{
11 [global::Cpp2ILInjected.Token(Token = "0x2000003")]
12 internal static class NetSecurityNative
13 {
14 [global::Cpp2ILInjected.Token(Token = "0x6000001")]
15 [global::Cpp2ILInjected.Address(RVA = "0x1D3FB58", Offset = "0x1D3FB58", Length = "0x38")]
16 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Interop.NetSecurityNative.GssBuffer), Member = "Dispose", ReturnType = typeof(void))]
17 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
18 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PlatformNotSupportedException), Member = ".ctor", ReturnType = typeof(void))]
19 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
21 {
22 throw null;
23 }
24
25 [global::Cpp2ILInjected.Token(Token = "0x6000002")]
26 [global::Cpp2ILInjected.Address(RVA = "0x1D3FB90", Offset = "0x1D3FB90", Length = "0x38")]
27 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Interop.NetSecurityNative.GssApiException), Member = "GetGssApiDisplayStatus", MemberParameters = new object[]
28 {
29 typeof(Interop.NetSecurityNative.Status),
30 typeof(bool)
31 }, ReturnType = typeof(string))]
32 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
33 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PlatformNotSupportedException), Member = ".ctor", ReturnType = typeof(void))]
34 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
39
40 [global::Cpp2ILInjected.Token(Token = "0x6000003")]
41 [global::Cpp2ILInjected.Address(RVA = "0x1D3FBC8", Offset = "0x1D3FBC8", Length = "0x38")]
42 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Interop.NetSecurityNative.GssApiException), Member = "GetGssApiDisplayStatus", MemberParameters = new object[]
43 {
44 typeof(Interop.NetSecurityNative.Status),
45 typeof(bool)
46 }, ReturnType = typeof(string))]
47 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
48 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PlatformNotSupportedException), Member = ".ctor", ReturnType = typeof(void))]
49 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
54
55 [global::Cpp2ILInjected.Token(Token = "0x6000004")]
56 [global::Cpp2ILInjected.Address(RVA = "0x1D3FC00", Offset = "0x1D3FC00", Length = "0x38")]
57 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SafeGssNameHandle), Member = "CreateUser", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(SafeGssNameHandle))]
58 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
59 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PlatformNotSupportedException), Member = ".ctor", ReturnType = typeof(void))]
60 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
65
66 [global::Cpp2ILInjected.Token(Token = "0x6000005")]
67 [global::Cpp2ILInjected.Address(RVA = "0x1D3FC38", Offset = "0x1D3FC38", Length = "0x38")]
68 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SafeGssNameHandle), Member = "CreatePrincipal", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(SafeGssNameHandle))]
69 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
70 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PlatformNotSupportedException), Member = ".ctor", ReturnType = typeof(void))]
71 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
76
77 [global::Cpp2ILInjected.Token(Token = "0x6000006")]
78 [global::Cpp2ILInjected.Address(RVA = "0x1D3FC70", Offset = "0x1D3FC70", Length = "0x38")]
79 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SafeGssNameHandle), Member = "ReleaseHandle", ReturnType = typeof(bool))]
80 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
81 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PlatformNotSupportedException), Member = ".ctor", ReturnType = typeof(void))]
82 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
87
88 [global::Cpp2ILInjected.Token(Token = "0x6000007")]
89 [global::Cpp2ILInjected.Address(RVA = "0x1D3FCA8", Offset = "0x1D3FCA8", Length = "0x38")]
90 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SafeGssCredHandle), Member = "Create", MemberParameters = new object[]
91 {
92 typeof(string),
93 typeof(string),
94 typeof(bool)
95 }, ReturnType = typeof(SafeGssCredHandle))]
96 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
97 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PlatformNotSupportedException), Member = ".ctor", ReturnType = typeof(void))]
98 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
103
104 [global::Cpp2ILInjected.Token(Token = "0x6000008")]
105 [global::Cpp2ILInjected.Address(RVA = "0x1D3FCE0", Offset = "0x1D3FCE0", Length = "0x38")]
106 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SafeGssCredHandle), Member = "Create", MemberParameters = new object[]
107 {
108 typeof(string),
109 typeof(string),
110 typeof(bool)
111 }, ReturnType = typeof(SafeGssCredHandle))]
112 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
113 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PlatformNotSupportedException), Member = ".ctor", ReturnType = typeof(void))]
114 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
119
120 [global::Cpp2ILInjected.Token(Token = "0x6000009")]
121 [global::Cpp2ILInjected.Address(RVA = "0x1D3FD18", Offset = "0x1D3FD18", Length = "0x38")]
122 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SafeGssCredHandle), Member = "ReleaseHandle", ReturnType = typeof(bool))]
123 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
124 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PlatformNotSupportedException), Member = ".ctor", ReturnType = typeof(void))]
125 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
130
131 [global::Cpp2ILInjected.Token(Token = "0x600000A")]
132 [global::Cpp2ILInjected.Address(RVA = "0x1D3FD50", Offset = "0x1D3FD50", Length = "0x38")]
133 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NegotiateStreamPal), Member = "GssInitSecurityContext", MemberParameters = new object[]
134 {
137 typeof(bool),
140 typeof(byte[]),
141 typeof(ref byte[]),
142 typeof(ref uint),
143 typeof(ref int)
144 }, ReturnType = typeof(bool))]
145 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
146 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PlatformNotSupportedException), Member = ".ctor", ReturnType = typeof(void))]
147 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
152
153 [global::Cpp2ILInjected.Token(Token = "0x600000B")]
154 [global::Cpp2ILInjected.Address(RVA = "0x1D3FD88", Offset = "0x1D3FD88", Length = "0x38")]
155 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SafeGssContextHandle), Member = "ReleaseHandle", ReturnType = typeof(bool))]
156 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
157 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PlatformNotSupportedException), Member = ".ctor", ReturnType = typeof(void))]
158 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
163
164 [global::Cpp2ILInjected.Token(Token = "0x600000C")]
165 [global::Cpp2ILInjected.Address(RVA = "0x1D3FDC0", Offset = "0x1D3FDC0", Length = "0x38")]
166 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Interop.NetSecurityNative), Member = "WrapBuffer", MemberParameters = new object[]
167 {
168 typeof(ref Interop.NetSecurityNative.Status),
169 typeof(SafeGssContextHandle),
170 typeof(bool),
171 typeof(byte[]),
172 typeof(int),
173 typeof(int),
174 typeof(ref Interop.NetSecurityNative.GssBuffer)
175 }, ReturnType = typeof(Interop.NetSecurityNative.Status))]
176 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
177 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PlatformNotSupportedException), Member = ".ctor", ReturnType = typeof(void))]
178 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
183
184 [global::Cpp2ILInjected.Token(Token = "0x600000D")]
185 [global::Cpp2ILInjected.Address(RVA = "0x1D3FDF8", Offset = "0x1D3FDF8", Length = "0x38")]
186 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Interop.NetSecurityNative), Member = "UnwrapBuffer", MemberParameters = new object[]
187 {
188 typeof(ref Interop.NetSecurityNative.Status),
189 typeof(SafeGssContextHandle),
190 typeof(byte[]),
191 typeof(int),
192 typeof(int),
193 typeof(ref Interop.NetSecurityNative.GssBuffer)
194 }, ReturnType = typeof(Interop.NetSecurityNative.Status))]
195 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
196 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PlatformNotSupportedException), Member = ".ctor", ReturnType = typeof(void))]
197 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
202
203 [global::Cpp2ILInjected.Token(Token = "0x600000E")]
204 [global::Cpp2ILInjected.Address(RVA = "0x1D3FE30", Offset = "0x1D3FE30", Length = "0xC")]
205 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NegotiateStreamPal), Member = "GssWrap", MemberParameters = new object[]
206 {
208 typeof(bool),
209 typeof(byte[]),
210 typeof(int),
211 typeof(int)
212 }, ReturnType = typeof(byte[]))]
213 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
214 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Interop.NetSecurityNative), Member = "Wrap", MemberParameters = new object[]
215 {
218 typeof(bool),
219 typeof(byte[]),
220 typeof(int),
221 typeof(int),
223 }, ReturnType = typeof(Interop.NetSecurityNative.Status))]
228
229 [global::Cpp2ILInjected.Token(Token = "0x600000F")]
230 [global::Cpp2ILInjected.Address(RVA = "0x1D3FE3C", Offset = "0x1D3FE3C", Length = "0x8")]
231 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NegotiateStreamPal), Member = "GssUnwrap", MemberParameters = new object[]
232 {
234 typeof(byte[]),
235 typeof(int),
236 typeof(int)
237 }, ReturnType = typeof(int))]
238 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
239 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Interop.NetSecurityNative), Member = "Unwrap", MemberParameters = new object[]
240 {
243 typeof(byte[]),
244 typeof(int),
245 typeof(int),
247 }, ReturnType = typeof(Interop.NetSecurityNative.Status))]
252
253 [global::Cpp2ILInjected.Token(Token = "0x2000004")]
254 internal sealed class GssApiException : Exception
255 {
256 [global::Cpp2ILInjected.Token(Token = "0x6000010")]
257 [global::Cpp2ILInjected.Address(RVA = "0x1D3FE44", Offset = "0x1D3FE44", Length = "0x68")]
258 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Interop.NetSecurityNative.GssBuffer), Member = "Copy", MemberParameters = new object[]
259 {
260 typeof(byte[]),
261 typeof(int)
262 }, ReturnType = typeof(int))]
263 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
264 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Exception), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
265 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
266 public GssApiException(string message)
267 {
268 throw null;
269 }
270
271 [global::Cpp2ILInjected.Token(Token = "0x6000011")]
272 [global::Cpp2ILInjected.Address(RVA = "0x1D3FEAC", Offset = "0x1D3FEAC", Length = "0x90")]
273 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SafeGssNameHandle), Member = "CreateUser", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(SafeGssNameHandle))]
274 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SafeGssNameHandle), Member = "CreatePrincipal", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(SafeGssNameHandle))]
275 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SafeGssCredHandle), Member = "Create", MemberParameters = new object[]
276 {
277 typeof(string),
278 typeof(string),
279 typeof(bool)
280 }, ReturnType = typeof(SafeGssCredHandle))]
281 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NegotiateStreamPal), Member = "GssWrap", MemberParameters = new object[]
282 {
284 typeof(bool),
285 typeof(byte[]),
286 typeof(int),
287 typeof(int)
288 }, ReturnType = typeof(byte[]))]
289 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NegotiateStreamPal), Member = "GssUnwrap", MemberParameters = new object[]
290 {
292 typeof(byte[]),
293 typeof(int),
294 typeof(int)
295 }, ReturnType = typeof(int))]
296 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NegotiateStreamPal), Member = "GssInitSecurityContext", MemberParameters = new object[]
297 {
300 typeof(bool),
303 typeof(byte[]),
304 typeof(ref byte[]),
305 typeof(ref uint),
306 typeof(ref int)
307 }, ReturnType = typeof(bool))]
308 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 6)]
309 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Interop.NetSecurityNative.GssApiException), Member = "GetGssApiDisplayStatus", MemberParameters = new object[]
310 {
313 typeof(string)
314 }, ReturnType = typeof(string))]
315 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Exception), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
316 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
321
322 [global::Cpp2ILInjected.Token(Token = "0x6000012")]
323 [global::Cpp2ILInjected.Address(RVA = "0x1D3FF3C", Offset = "0x1D3FF3C", Length = "0x1D0")]
324 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Interop.NetSecurityNative.GssApiException), Member = ".ctor", MemberParameters = new object[]
325 {
326 typeof(Interop.NetSecurityNative.Status),
327 typeof(Interop.NetSecurityNative.Status)
328 }, ReturnType = typeof(void))]
329 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
330 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Interop.NetSecurityNative.GssApiException), Member = "GetGssApiDisplayStatus", MemberParameters = new object[]
331 {
332 typeof(Interop.NetSecurityNative.Status),
333 typeof(bool)
334 }, ReturnType = typeof(string))]
335 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Enum), Member = "ToString", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
336 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = "SR", Member = "Format", MemberParameters = new object[]
337 {
338 typeof(string),
339 typeof(object),
340 typeof(object)
341 }, ReturnType = typeof(string))]
342 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = "SR", Member = "Format", MemberParameters = new object[]
343 {
344 typeof(string),
345 typeof(object)
346 }, ReturnType = typeof(string))]
347 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "IsNullOrEmpty", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
348 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
349 {
350 typeof(string),
351 typeof(string),
352 typeof(string)
353 }, ReturnType = typeof(string))]
354 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
356 {
357 throw null;
358 }
359
360 [global::Cpp2ILInjected.Token(Token = "0x6000013")]
361 [global::Cpp2ILInjected.Address(RVA = "0x1D4010C", Offset = "0x1D4010C", Length = "0xF8")]
362 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
363 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Interop.NetSecurityNative.GssApiException), Member = "GetGssApiDisplayStatus", MemberParameters = new object[]
364 {
365 typeof(Interop.NetSecurityNative.Status),
366 typeof(Interop.NetSecurityNative.Status),
367 typeof(string)
368 }, ReturnType = typeof(string))]
369 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
370 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Interop.NetSecurityNative), Member = "DisplayMinorStatus", MemberParameters = new object[]
371 {
372 typeof(ref Interop.NetSecurityNative.Status),
373 typeof(Interop.NetSecurityNative.Status),
374 typeof(ref Interop.NetSecurityNative.GssBuffer)
375 }, ReturnType = typeof(Interop.NetSecurityNative.Status))]
376 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Interop.NetSecurityNative), Member = "DisplayMajorStatus", MemberParameters = new object[]
377 {
378 typeof(ref Interop.NetSecurityNative.Status),
379 typeof(Interop.NetSecurityNative.Status),
380 typeof(ref Interop.NetSecurityNative.GssBuffer)
381 }, ReturnType = typeof(Interop.NetSecurityNative.Status))]
382 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Marshal), Member = "PtrToStringAnsi", MemberParameters = new object[] { typeof(IntPtr) }, ReturnType = typeof(string))]
383 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Interop.NetSecurityNative.GssBuffer), Member = "Dispose", ReturnType = typeof(void))]
384 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
386 {
387 throw null;
388 }
389
390 [global::Cpp2ILInjected.Token(Token = "0x4000001")]
391 [global::Cpp2ILInjected.FieldOffset(Offset = "0x8C")]
393 }
394
395 [global::Cpp2ILInjected.Token(Token = "0x2000005")]
396 internal struct GssBuffer : IDisposable
397 {
398 [global::Cpp2ILInjected.Token(Token = "0x6000014")]
399 [global::Cpp2ILInjected.Address(RVA = "0x1D40204", Offset = "0x1D40204", Length = "0x198")]
400 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
401 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NegotiateStreamPal), Member = "GssUnwrap", MemberParameters = new object[]
402 {
404 typeof(byte[]),
405 typeof(int),
406 typeof(int)
407 }, ReturnType = typeof(int))]
408 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
409 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(IntPtr), Member = "op_Equality", MemberParameters = new object[]
410 {
411 typeof(IntPtr),
413 }, ReturnType = typeof(bool))]
414 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Convert), Member = "ToInt32", MemberParameters = new object[] { typeof(ulong) }, ReturnType = typeof(int))]
415 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Marshal), Member = "Copy", MemberParameters = new object[]
416 {
417 typeof(IntPtr),
418 typeof(byte[]),
419 typeof(int),
420 typeof(int)
421 }, ReturnType = typeof(void))]
422 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = "SR", Member = "Format", MemberParameters = new object[]
423 {
424 typeof(string),
425 typeof(object),
426 typeof(object)
427 }, ReturnType = typeof(string))]
428 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Interop.NetSecurityNative.GssApiException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
429 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 14)]
430 internal int Copy(byte[] destination, int offset)
431 {
432 throw null;
433 }
434
435 [global::Cpp2ILInjected.Token(Token = "0x6000015")]
436 [global::Cpp2ILInjected.Address(RVA = "0x1D4039C", Offset = "0x1D4039C", Length = "0x168")]
437 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NegotiateStreamPal), Member = "GssWrap", MemberParameters = new object[]
438 {
440 typeof(bool),
441 typeof(byte[]),
442 typeof(int),
443 typeof(int)
444 }, ReturnType = typeof(byte[]))]
445 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NegotiateStreamPal), Member = "GssInitSecurityContext", MemberParameters = new object[]
446 {
449 typeof(bool),
452 typeof(byte[]),
453 typeof(ref byte[]),
454 typeof(ref uint),
455 typeof(ref int)
456 }, ReturnType = typeof(bool))]
457 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
458 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(IntPtr), Member = "op_Equality", MemberParameters = new object[]
459 {
460 typeof(IntPtr),
462 }, ReturnType = typeof(bool))]
463 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Convert), Member = "ToInt32", MemberParameters = new object[] { typeof(ulong) }, ReturnType = typeof(int))]
464 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Marshal), Member = "Copy", MemberParameters = new object[]
465 {
466 typeof(IntPtr),
467 typeof(byte[]),
468 typeof(int),
469 typeof(int)
470 }, ReturnType = typeof(void))]
471 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
472 internal byte[] ToByteArray()
473 {
474 throw null;
475 }
476
477 [global::Cpp2ILInjected.Token(Token = "0x6000016")]
478 [global::Cpp2ILInjected.Address(RVA = "0x1D40504", Offset = "0x1D40504", Length = "0x64")]
479 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Interop.NetSecurityNative.GssApiException), Member = "GetGssApiDisplayStatus", MemberParameters = new object[]
480 {
481 typeof(Interop.NetSecurityNative.Status),
482 typeof(bool)
483 }, ReturnType = typeof(string))]
484 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NegotiateStreamPal), Member = "GssWrap", MemberParameters = new object[]
485 {
487 typeof(bool),
488 typeof(byte[]),
489 typeof(int),
490 typeof(int)
491 }, ReturnType = typeof(byte[]))]
492 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NegotiateStreamPal), Member = "GssUnwrap", MemberParameters = new object[]
493 {
495 typeof(byte[]),
496 typeof(int),
497 typeof(int)
498 }, ReturnType = typeof(int))]
499 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NegotiateStreamPal), Member = "GssInitSecurityContext", MemberParameters = new object[]
500 {
503 typeof(bool),
506 typeof(byte[]),
507 typeof(ref byte[]),
508 typeof(ref uint),
509 typeof(ref int)
510 }, ReturnType = typeof(bool))]
511 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 12)]
512 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(IntPtr), Member = "op_Inequality", MemberParameters = new object[]
513 {
514 typeof(IntPtr),
516 }, ReturnType = typeof(bool))]
517 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Interop.NetSecurityNative), Member = "ReleaseGssBuffer", MemberParameters = new object[]
518 {
519 typeof(IntPtr),
521 }, ReturnType = typeof(void))]
522 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
523 public void Dispose()
524 {
525 throw null;
526 }
527
528 [global::Cpp2ILInjected.Token(Token = "0x4000002")]
529 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
530 internal ulong _length;
531
532 [global::Cpp2ILInjected.Token(Token = "0x4000003")]
533 [global::Cpp2ILInjected.FieldOffset(Offset = "0x8")]
534 internal IntPtr _data;
535 }
536
537 [global::Cpp2ILInjected.Token(Token = "0x2000006")]
538 internal enum Status : uint
539 {
540 [global::Cpp2ILInjected.Token(Token = "0x4000005")]
541 GSS_S_COMPLETE,
542 [global::Cpp2ILInjected.Token(Token = "0x4000006")]
543 GSS_S_CONTINUE_NEEDED,
544 [global::Cpp2ILInjected.Token(Token = "0x4000007")]
545 GSS_S_BAD_MECH = 65536U,
546 [global::Cpp2ILInjected.Token(Token = "0x4000008")]
547 GSS_S_BAD_NAME = 131072U,
548 [global::Cpp2ILInjected.Token(Token = "0x4000009")]
549 GSS_S_BAD_NAMETYPE = 196608U,
550 [global::Cpp2ILInjected.Token(Token = "0x400000A")]
551 GSS_S_BAD_BINDINGS = 262144U,
552 [global::Cpp2ILInjected.Token(Token = "0x400000B")]
553 GSS_S_BAD_STATUS = 327680U,
554 [global::Cpp2ILInjected.Token(Token = "0x400000C")]
555 GSS_S_BAD_SIG = 393216U,
556 [global::Cpp2ILInjected.Token(Token = "0x400000D")]
557 GSS_S_NO_CRED = 458752U,
558 [global::Cpp2ILInjected.Token(Token = "0x400000E")]
559 GSS_S_NO_CONTEXT = 524288U,
560 [global::Cpp2ILInjected.Token(Token = "0x400000F")]
561 GSS_S_DEFECTIVE_TOKEN = 589824U,
562 [global::Cpp2ILInjected.Token(Token = "0x4000010")]
563 GSS_S_DEFECTIVE_CREDENTIAL = 655360U,
564 [global::Cpp2ILInjected.Token(Token = "0x4000011")]
565 GSS_S_CREDENTIALS_EXPIRED = 720896U,
566 [global::Cpp2ILInjected.Token(Token = "0x4000012")]
567 GSS_S_CONTEXT_EXPIRED = 786432U,
568 [global::Cpp2ILInjected.Token(Token = "0x4000013")]
569 GSS_S_FAILURE = 851968U,
570 [global::Cpp2ILInjected.Token(Token = "0x4000014")]
571 GSS_S_BAD_QOP = 917504U,
572 [global::Cpp2ILInjected.Token(Token = "0x4000015")]
573 GSS_S_UNAUTHORIZED = 983040U,
574 [global::Cpp2ILInjected.Token(Token = "0x4000016")]
575 GSS_S_UNAVAILABLE = 1048576U,
576 [global::Cpp2ILInjected.Token(Token = "0x4000017")]
577 GSS_S_DUPLICATE_ELEMENT = 1114112U,
578 [global::Cpp2ILInjected.Token(Token = "0x4000018")]
579 GSS_S_NAME_NOT_MN = 1179648U
580 }
581
582 [Flags]
583 [global::Cpp2ILInjected.Token(Token = "0x2000007")]
584 internal enum GssFlags : uint
585 {
586 [global::Cpp2ILInjected.Token(Token = "0x400001A")]
587 GSS_C_DELEG_FLAG = 1U,
588 [global::Cpp2ILInjected.Token(Token = "0x400001B")]
589 GSS_C_MUTUAL_FLAG = 2U,
590 [global::Cpp2ILInjected.Token(Token = "0x400001C")]
591 GSS_C_REPLAY_FLAG = 4U,
592 [global::Cpp2ILInjected.Token(Token = "0x400001D")]
593 GSS_C_SEQUENCE_FLAG = 8U,
594 [global::Cpp2ILInjected.Token(Token = "0x400001E")]
595 GSS_C_CONF_FLAG = 16U,
596 [global::Cpp2ILInjected.Token(Token = "0x400001F")]
597 GSS_C_INTEG_FLAG = 32U,
598 [global::Cpp2ILInjected.Token(Token = "0x4000020")]
599 GSS_C_ANON_FLAG = 64U,
600 [global::Cpp2ILInjected.Token(Token = "0x4000021")]
601 GSS_C_PROT_READY_FLAG = 128U,
602 [global::Cpp2ILInjected.Token(Token = "0x4000022")]
603 GSS_C_TRANS_FLAG = 256U,
604 [global::Cpp2ILInjected.Token(Token = "0x4000023")]
605 GSS_C_DCE_STYLE = 4096U,
606 [global::Cpp2ILInjected.Token(Token = "0x4000024")]
607 GSS_C_IDENTIFY_FLAG = 8192U,
608 [global::Cpp2ILInjected.Token(Token = "0x4000025")]
609 GSS_C_EXTENDED_ERROR_FLAG = 16384U,
610 [global::Cpp2ILInjected.Token(Token = "0x4000026")]
611 GSS_C_DELEG_POLICY_FLAG = 32768U
612 }
613 }
614}
class f__AnonymousType0<< Count > j__TPar
GssApiException(Interop.NetSecurityNative.Status majorStatus, Interop.NetSecurityNative.Status minorStatus)
Definition Interop.cs:317
static string GetGssApiDisplayStatus(Interop.NetSecurityNative.Status status, bool isMinor)
Definition Interop.cs:385
readonly Interop.NetSecurityNative.Status _minorStatus
Definition Interop.cs:392
static string GetGssApiDisplayStatus(Interop.NetSecurityNative.Status majorStatus, Interop.NetSecurityNative.Status minorStatus, string helpText)
Definition Interop.cs:355
static void ReleaseGssBuffer(IntPtr bufferPtr, ulong length)
Definition Interop.cs:20
static Interop.NetSecurityNative.Status WrapBuffer(out Interop.NetSecurityNative.Status minorStatus, SafeGssContextHandle contextHandle, bool isEncrypt, byte[] inputBytes, int offset, int count, ref Interop.NetSecurityNative.GssBuffer outBuffer)
Definition Interop.cs:224
static Interop.NetSecurityNative.Status ReleaseCred(out Interop.NetSecurityNative.Status minorStatus, ref IntPtr credHandle)
Definition Interop.cs:126
static Interop.NetSecurityNative.Status DisplayMajorStatus(out Interop.NetSecurityNative.Status minorStatus, Interop.NetSecurityNative.Status statusValue, ref Interop.NetSecurityNative.GssBuffer buffer)
Definition Interop.cs:50
static Interop.NetSecurityNative.Status ReleaseName(out Interop.NetSecurityNative.Status minorStatus, ref IntPtr inputName)
Definition Interop.cs:83
static Interop.NetSecurityNative.Status Unwrap(out Interop.NetSecurityNative.Status minorStatus, SafeGssContextHandle contextHandle, byte[] inputBytes, int offset, int count, ref Interop.NetSecurityNative.GssBuffer outBuffer)
Definition Interop.cs:198
static Interop.NetSecurityNative.Status InitiateCredSpNego(out Interop.NetSecurityNative.Status minorStatus, SafeGssNameHandle desiredName, out SafeGssCredHandle outputCredHandle)
Definition Interop.cs:99
static Interop.NetSecurityNative.Status UnwrapBuffer(out Interop.NetSecurityNative.Status minorStatus, SafeGssContextHandle contextHandle, byte[] inputBytes, int offset, int count, ref Interop.NetSecurityNative.GssBuffer outBuffer)
Definition Interop.cs:248
static Interop.NetSecurityNative.Status InitiateCredWithPassword(out Interop.NetSecurityNative.Status minorStatus, bool isNtlm, SafeGssNameHandle desiredName, string password, int passwordLen, out SafeGssCredHandle outputCredHandle)
Definition Interop.cs:115
static Interop.NetSecurityNative.Status ImportUserName(out Interop.NetSecurityNative.Status minorStatus, string inputName, int inputNameByteCount, out SafeGssNameHandle outputName)
Definition Interop.cs:61
static Interop.NetSecurityNative.Status InitSecContext(out Interop.NetSecurityNative.Status minorStatus, SafeGssCredHandle initiatorCredHandle, ref SafeGssContextHandle contextHandle, bool isNtlmOnly, SafeGssNameHandle targetName, uint reqFlags, byte[] inputBytes, int inputLength, ref Interop.NetSecurityNative.GssBuffer token, out uint retFlags, out int isNtlmUsed)
Definition Interop.cs:148
static Interop.NetSecurityNative.Status Wrap(out Interop.NetSecurityNative.Status minorStatus, SafeGssContextHandle contextHandle, bool isEncrypt, byte[] inputBytes, int offset, int count, ref Interop.NetSecurityNative.GssBuffer outBuffer)
Definition Interop.cs:179
static Interop.NetSecurityNative.Status DisplayMinorStatus(out Interop.NetSecurityNative.Status minorStatus, Interop.NetSecurityNative.Status statusValue, ref Interop.NetSecurityNative.GssBuffer buffer)
Definition Interop.cs:35
static Interop.NetSecurityNative.Status DeleteSecContext(out Interop.NetSecurityNative.Status minorStatus, ref IntPtr contextHandle)
Definition Interop.cs:159
static Interop.NetSecurityNative.Status ImportPrincipalName(out Interop.NetSecurityNative.Status minorStatus, string inputName, int inputNameByteCount, out SafeGssNameHandle outputName)
Definition Interop.cs:72
int Copy(byte[] destination, int offset)
Definition Interop.cs:430