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
UnityTls.cs
Go to the documentation of this file.
1using System;
9
10namespace Mono.Unity
11{
12 [global::Cpp2ILInjected.Token(Token = "0x2000010")]
13 internal static class UnityTls
14 {
15 [global::Cpp2ILInjected.Token(Token = "0x600003D")]
16 [global::Cpp2ILInjected.Address(RVA = "0x1D41C34", Offset = "0x1D41C34", Length = "0x4")]
17 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
18 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
19 [MethodImpl(4096)]
20 private static extern IntPtr GetUnityTlsInterface();
21
22 [global::Cpp2ILInjected.Token(Token = "0x17000008")]
23 public static bool IsSupported
24 {
25 [global::Cpp2ILInjected.Token(Token = "0x600003E")]
26 [global::Cpp2ILInjected.Address(RVA = "0x1D41C38", Offset = "0x1D41C38", Length = "0x18")]
27 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
28 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
29 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnityTls), Member = "get_NativeInterface", ReturnType = typeof(UnityTls.unitytls_interface_struct))]
30 get
31 {
32 throw null;
33 }
34 }
35
36 [global::Cpp2ILInjected.Token(Token = "0x17000009")]
38 {
39 [global::Cpp2ILInjected.Token(Token = "0x600003F")]
40 [global::Cpp2ILInjected.Address(RVA = "0x1D41994", Offset = "0x1D41994", Length = "0xE4")]
41 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CertHelper), Member = "AddCertificateToNativeChain", MemberParameters = new object[]
42 {
46 }, ReturnType = typeof(void))]
47 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UnityTls), Member = "get_IsSupported", ReturnType = typeof(bool))]
48 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UnityTlsContext), Member = ".ctor", MemberParameters = new object[]
49 {
52 }, ReturnType = typeof(void))]
53 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UnityTlsContext), Member = "ExtractNativeKeyAndChainFromManagedCertificate", MemberParameters = new object[]
54 {
59 }, ReturnType = typeof(void))]
60 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UnityTlsContext), Member = "Read", MemberParameters = new object[]
61 {
62 typeof(byte[]),
63 typeof(int),
64 typeof(int)
65 }, ReturnType = typeof(ValueTuple<int, bool>))]
66 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UnityTlsContext), Member = "Write", MemberParameters = new object[]
67 {
68 typeof(byte[]),
69 typeof(int),
70 typeof(int)
71 }, ReturnType = typeof(ValueTuple<int, bool>))]
72 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UnityTlsContext), Member = "Shutdown", ReturnType = typeof(void))]
73 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UnityTlsContext), Member = "StartHandshake", ReturnType = typeof(void))]
74 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UnityTlsContext), Member = "ProcessHandshake", ReturnType = typeof(bool))]
75 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UnityTlsContext), Member = "FinishHandshake", ReturnType = typeof(void))]
76 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UnityTlsContext), Member = "WriteCallback", MemberParameters = new object[]
77 {
78 typeof(byte*),
81 }, ReturnType = typeof(IntPtr))]
82 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UnityTlsContext), Member = "ReadCallback", MemberParameters = new object[]
83 {
84 typeof(byte*),
87 }, ReturnType = typeof(IntPtr))]
88 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UnityTlsContext), Member = "CertificateCallback", MemberParameters = new object[]
89 {
91 typeof(byte*),
98 }, ReturnType = typeof(void))]
99 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UnityTlsProvider), Member = "x509verify_callback", MemberParameters = new object[]
100 {
101 typeof(void*),
106 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UnityTlsProvider), Member = "ValidateCertificate", MemberParameters = new object[]
107 {
109 typeof(string),
110 typeof(bool),
112 typeof(bool),
115 typeof(ref int)
116 }, ReturnType = typeof(bool))]
117 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(X509ChainImplUnityTls), Member = "get_IsValid", ReturnType = typeof(bool))]
118 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(X509ChainImplUnityTls), Member = "get_ChainElements", ReturnType = typeof(X509ChainElementCollection))]
119 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(X509ChainImplUnityTls), Member = "Reset", ReturnType = typeof(void))]
120 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MonoTlsProviderFactory), Member = "InitializeProviderRegistration", ReturnType = typeof(void))]
121 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MonoTlsProviderFactory), Member = "CreateDefaultProviderImpl", ReturnType = typeof(MobileTlsProvider))]
122 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 79)]
123 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(IntPtr), Member = "op_Equality", MemberParameters = new object[]
124 {
125 typeof(IntPtr),
127 }, ReturnType = typeof(bool))]
128 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Marshal), Member = "PtrToStructure", MemberTypeParameters = new object[] { "T" }, MemberParameters = new object[] { typeof(IntPtr) }, ReturnType = "T")]
129 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
130 get
131 {
132 throw null;
133 }
134 }
135
136 [global::Cpp2ILInjected.Token(Token = "0x400002E")]
138
139 [global::Cpp2ILInjected.Token(Token = "0x2000011")]
140 public enum unitytls_error_code : uint
141 {
142 [global::Cpp2ILInjected.Token(Token = "0x4000030")]
144 [global::Cpp2ILInjected.Token(Token = "0x4000031")]
146 [global::Cpp2ILInjected.Token(Token = "0x4000032")]
148 [global::Cpp2ILInjected.Token(Token = "0x4000033")]
150 [global::Cpp2ILInjected.Token(Token = "0x4000034")]
152 [global::Cpp2ILInjected.Token(Token = "0x4000035")]
154 [global::Cpp2ILInjected.Token(Token = "0x4000036")]
156 [global::Cpp2ILInjected.Token(Token = "0x4000037")]
158 [global::Cpp2ILInjected.Token(Token = "0x4000038")]
160 [global::Cpp2ILInjected.Token(Token = "0x4000039")]
162 [global::Cpp2ILInjected.Token(Token = "0x400003A")]
164 [global::Cpp2ILInjected.Token(Token = "0x400003B")]
166 [global::Cpp2ILInjected.Token(Token = "0x400003C")]
168 [global::Cpp2ILInjected.Token(Token = "0x400003D")]
170 [global::Cpp2ILInjected.Token(Token = "0x400003E")]
172 [global::Cpp2ILInjected.Token(Token = "0x400003F")]
174 [global::Cpp2ILInjected.Token(Token = "0x4000040")]
176 }
177
178 [global::Cpp2ILInjected.Token(Token = "0x2000012")]
180 {
181 [global::Cpp2ILInjected.Token(Token = "0x4000041")]
182 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
183 private uint magic;
184
185 [global::Cpp2ILInjected.Token(Token = "0x4000042")]
186 [global::Cpp2ILInjected.FieldOffset(Offset = "0x4")]
188
189 [global::Cpp2ILInjected.Token(Token = "0x4000043")]
190 [global::Cpp2ILInjected.FieldOffset(Offset = "0x8")]
192 }
193
194 [global::Cpp2ILInjected.Token(Token = "0x2000013")]
195 public struct unitytls_key
196 {
197 }
198
199 [global::Cpp2ILInjected.Token(Token = "0x2000014")]
200 public struct unitytls_key_ref
201 {
202 [global::Cpp2ILInjected.Token(Token = "0x4000044")]
203 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
204 public ulong handle;
205 }
206
207 [global::Cpp2ILInjected.Token(Token = "0x2000015")]
208 public struct unitytls_x509_ref
209 {
210 [global::Cpp2ILInjected.Token(Token = "0x4000045")]
211 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
212 public ulong handle;
213 }
214
215 [global::Cpp2ILInjected.Token(Token = "0x2000016")]
216 public struct unitytls_x509list
217 {
218 }
219
220 [global::Cpp2ILInjected.Token(Token = "0x2000017")]
222 {
223 [global::Cpp2ILInjected.Token(Token = "0x4000046")]
224 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
225 public ulong handle;
226 }
227
228 [Flags]
229 [global::Cpp2ILInjected.Token(Token = "0x2000018")]
230 public enum unitytls_x509verify_result : uint
231 {
232 [global::Cpp2ILInjected.Token(Token = "0x4000048")]
234 [global::Cpp2ILInjected.Token(Token = "0x4000049")]
236 [global::Cpp2ILInjected.Token(Token = "0x400004A")]
238 [global::Cpp2ILInjected.Token(Token = "0x400004B")]
240 [global::Cpp2ILInjected.Token(Token = "0x400004C")]
242 [global::Cpp2ILInjected.Token(Token = "0x400004D")]
244 [global::Cpp2ILInjected.Token(Token = "0x400004E")]
246 [global::Cpp2ILInjected.Token(Token = "0x400004F")]
248 [global::Cpp2ILInjected.Token(Token = "0x4000050")]
250 [global::Cpp2ILInjected.Token(Token = "0x4000051")]
252 [global::Cpp2ILInjected.Token(Token = "0x4000052")]
254 [global::Cpp2ILInjected.Token(Token = "0x4000053")]
256 [global::Cpp2ILInjected.Token(Token = "0x4000054")]
258 [global::Cpp2ILInjected.Token(Token = "0x4000055")]
260 [global::Cpp2ILInjected.Token(Token = "0x4000056")]
262 [global::Cpp2ILInjected.Token(Token = "0x4000057")]
264 }
265
267 [global::Cpp2ILInjected.Token(Token = "0x2000019")]
269
270 [global::Cpp2ILInjected.Token(Token = "0x200001A")]
271 public struct unitytls_tlsctx
272 {
273 }
274
275 [global::Cpp2ILInjected.Token(Token = "0x200001B")]
276 public struct unitytls_x509name
277 {
278 }
279
280 [global::Cpp2ILInjected.Token(Token = "0x200001C")]
281 public enum unitytls_ciphersuite : uint
282 {
283 [global::Cpp2ILInjected.Token(Token = "0x4000059")]
285 }
286
287 [global::Cpp2ILInjected.Token(Token = "0x200001D")]
288 public enum unitytls_protocol : uint
289 {
290 [global::Cpp2ILInjected.Token(Token = "0x400005B")]
292 [global::Cpp2ILInjected.Token(Token = "0x400005C")]
294 [global::Cpp2ILInjected.Token(Token = "0x400005D")]
296 [global::Cpp2ILInjected.Token(Token = "0x400005E")]
298 }
299
300 [global::Cpp2ILInjected.Token(Token = "0x200001E")]
302 {
303 [global::Cpp2ILInjected.Token(Token = "0x400005F")]
304 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
306
307 [global::Cpp2ILInjected.Token(Token = "0x4000060")]
308 [global::Cpp2ILInjected.FieldOffset(Offset = "0x4")]
310 }
311
313 [global::Cpp2ILInjected.Token(Token = "0x200001F")]
315
317 [global::Cpp2ILInjected.Token(Token = "0x2000020")]
319
321 [global::Cpp2ILInjected.Token(Token = "0x2000021")]
323
325 [global::Cpp2ILInjected.Token(Token = "0x2000022")]
327
329 [global::Cpp2ILInjected.Token(Token = "0x2000023")]
331
332 [global::Cpp2ILInjected.Token(Token = "0x2000024")]
334 {
335 [global::Cpp2ILInjected.Token(Token = "0x4000061")]
336 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
338
339 [global::Cpp2ILInjected.Token(Token = "0x4000062")]
340 [global::Cpp2ILInjected.FieldOffset(Offset = "0x8")]
342
343 [global::Cpp2ILInjected.Token(Token = "0x4000063")]
344 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
345 public unsafe void* data;
346 }
347
348 [global::Cpp2ILInjected.Token(Token = "0x2000025")]
349 [StructLayout(0)]
351 {
352 [global::Cpp2ILInjected.Token(Token = "0x600004C")]
353 [global::Cpp2ILInjected.Address(RVA = "0x1D421E0", Offset = "0x1D421E0", Length = "0x8")]
354 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
355 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
357 {
358 throw null;
359 }
360
361 [global::Cpp2ILInjected.Token(Token = "0x4000064")]
362 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
364
365 [global::Cpp2ILInjected.Token(Token = "0x4000065")]
366 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
368
369 [global::Cpp2ILInjected.Token(Token = "0x4000066")]
370 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
372
373 [global::Cpp2ILInjected.Token(Token = "0x4000067")]
374 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
376
377 [global::Cpp2ILInjected.Token(Token = "0x4000068")]
378 [global::Cpp2ILInjected.FieldOffset(Offset = "0x30")]
380
381 [global::Cpp2ILInjected.Token(Token = "0x4000069")]
382 [global::Cpp2ILInjected.FieldOffset(Offset = "0x38")]
384
385 [global::Cpp2ILInjected.Token(Token = "0x400006A")]
386 [global::Cpp2ILInjected.FieldOffset(Offset = "0x40")]
388
389 [global::Cpp2ILInjected.Token(Token = "0x400006B")]
390 [global::Cpp2ILInjected.FieldOffset(Offset = "0x48")]
392
393 [global::Cpp2ILInjected.Token(Token = "0x400006C")]
394 [global::Cpp2ILInjected.FieldOffset(Offset = "0x50")]
396
397 [global::Cpp2ILInjected.Token(Token = "0x400006D")]
398 [global::Cpp2ILInjected.FieldOffset(Offset = "0x58")]
400
401 [global::Cpp2ILInjected.Token(Token = "0x400006E")]
402 [global::Cpp2ILInjected.FieldOffset(Offset = "0x60")]
404
405 [global::Cpp2ILInjected.Token(Token = "0x400006F")]
406 [global::Cpp2ILInjected.FieldOffset(Offset = "0x68")]
408
409 [global::Cpp2ILInjected.Token(Token = "0x4000070")]
410 [global::Cpp2ILInjected.FieldOffset(Offset = "0x70")]
412
413 [global::Cpp2ILInjected.Token(Token = "0x4000071")]
414 [global::Cpp2ILInjected.FieldOffset(Offset = "0x78")]
416
417 [global::Cpp2ILInjected.Token(Token = "0x4000072")]
418 [global::Cpp2ILInjected.FieldOffset(Offset = "0x80")]
420
421 [global::Cpp2ILInjected.Token(Token = "0x4000073")]
422 [global::Cpp2ILInjected.FieldOffset(Offset = "0x88")]
424
425 [global::Cpp2ILInjected.Token(Token = "0x4000074")]
426 [global::Cpp2ILInjected.FieldOffset(Offset = "0x90")]
428
429 [global::Cpp2ILInjected.Token(Token = "0x4000075")]
430 [global::Cpp2ILInjected.FieldOffset(Offset = "0x98")]
432
433 [global::Cpp2ILInjected.Token(Token = "0x4000076")]
434 [global::Cpp2ILInjected.FieldOffset(Offset = "0xA0")]
436
437 [global::Cpp2ILInjected.Token(Token = "0x4000077")]
438 [global::Cpp2ILInjected.FieldOffset(Offset = "0xA8")]
440
441 [global::Cpp2ILInjected.Token(Token = "0x4000078")]
442 [global::Cpp2ILInjected.FieldOffset(Offset = "0xB0")]
444
445 [global::Cpp2ILInjected.Token(Token = "0x4000079")]
446 [global::Cpp2ILInjected.FieldOffset(Offset = "0xB8")]
448
449 [global::Cpp2ILInjected.Token(Token = "0x400007A")]
450 [global::Cpp2ILInjected.FieldOffset(Offset = "0xC0")]
452
453 [global::Cpp2ILInjected.Token(Token = "0x400007B")]
454 [global::Cpp2ILInjected.FieldOffset(Offset = "0xC8")]
456
457 [global::Cpp2ILInjected.Token(Token = "0x400007C")]
458 [global::Cpp2ILInjected.FieldOffset(Offset = "0xD0")]
460
461 [global::Cpp2ILInjected.Token(Token = "0x400007D")]
462 [global::Cpp2ILInjected.FieldOffset(Offset = "0xD8")]
464
465 [global::Cpp2ILInjected.Token(Token = "0x400007E")]
466 [global::Cpp2ILInjected.FieldOffset(Offset = "0xE0")]
468
469 [global::Cpp2ILInjected.Token(Token = "0x400007F")]
470 [global::Cpp2ILInjected.FieldOffset(Offset = "0xE8")]
472
473 [global::Cpp2ILInjected.Token(Token = "0x4000080")]
474 [global::Cpp2ILInjected.FieldOffset(Offset = "0xF0")]
476
477 [global::Cpp2ILInjected.Token(Token = "0x4000081")]
478 [global::Cpp2ILInjected.FieldOffset(Offset = "0xF8")]
480
481 [global::Cpp2ILInjected.Token(Token = "0x4000082")]
482 [global::Cpp2ILInjected.FieldOffset(Offset = "0x100")]
484
485 [global::Cpp2ILInjected.Token(Token = "0x4000083")]
486 [global::Cpp2ILInjected.FieldOffset(Offset = "0x108")]
488
489 [global::Cpp2ILInjected.Token(Token = "0x4000084")]
490 [global::Cpp2ILInjected.FieldOffset(Offset = "0x110")]
492
494 [global::Cpp2ILInjected.Token(Token = "0x2000026")]
496
498 [global::Cpp2ILInjected.Token(Token = "0x2000027")]
500
502 [global::Cpp2ILInjected.Token(Token = "0x2000028")]
504
506 [global::Cpp2ILInjected.Token(Token = "0x2000029")]
508
510 [global::Cpp2ILInjected.Token(Token = "0x200002A")]
512
514 [global::Cpp2ILInjected.Token(Token = "0x200002B")]
516
518 [global::Cpp2ILInjected.Token(Token = "0x200002C")]
520
522 [global::Cpp2ILInjected.Token(Token = "0x200002D")]
524
526 [global::Cpp2ILInjected.Token(Token = "0x200002E")]
528
530 [global::Cpp2ILInjected.Token(Token = "0x200002F")]
532
534 [global::Cpp2ILInjected.Token(Token = "0x2000030")]
536
538 [global::Cpp2ILInjected.Token(Token = "0x2000031")]
540
542 [global::Cpp2ILInjected.Token(Token = "0x2000032")]
544
546 [global::Cpp2ILInjected.Token(Token = "0x2000033")]
548
550 [global::Cpp2ILInjected.Token(Token = "0x2000034")]
552
554 [global::Cpp2ILInjected.Token(Token = "0x2000035")]
556
558 [global::Cpp2ILInjected.Token(Token = "0x2000036")]
560
562 [global::Cpp2ILInjected.Token(Token = "0x2000037")]
564
566 [global::Cpp2ILInjected.Token(Token = "0x2000038")]
568
570 [global::Cpp2ILInjected.Token(Token = "0x2000039")]
572
574 [global::Cpp2ILInjected.Token(Token = "0x200003A")]
576
578 [global::Cpp2ILInjected.Token(Token = "0x200003B")]
580
582 [global::Cpp2ILInjected.Token(Token = "0x200003C")]
584
586 [global::Cpp2ILInjected.Token(Token = "0x200003D")]
588
590 [global::Cpp2ILInjected.Token(Token = "0x200003E")]
592
594 [global::Cpp2ILInjected.Token(Token = "0x200003F")]
596
598 [global::Cpp2ILInjected.Token(Token = "0x2000040")]
600
602 [global::Cpp2ILInjected.Token(Token = "0x2000041")]
604
606 [global::Cpp2ILInjected.Token(Token = "0x2000042")]
608
610 [global::Cpp2ILInjected.Token(Token = "0x2000043")]
612 }
613 }
614}
class f__AnonymousType0<< Count > j__TPar
unsafe delegate void unitytls_tlsctx_notify_close_t(UnityTls.unitytls_tlsctx *ctx, UnityTls.unitytls_errorstate *errorState)
unsafe delegate void unitytls_x509list_append_t(UnityTls.unitytls_x509list *list, UnityTls.unitytls_x509_ref cert, UnityTls.unitytls_errorstate *errorState)
UnityTls.unitytls_interface_struct.unitytls_random_generate_bytes_t unitytls_random_generate_bytes
Definition UnityTls.cs:491
UnityTls.unitytls_interface_struct.unitytls_key_parse_der_t unitytls_key_parse_der
Definition UnityTls.cs:383
unsafe delegate IntPtr unitytls_x509_export_der_t(UnityTls.unitytls_x509_ref cert, byte *buffer, IntPtr bufferLen, UnityTls.unitytls_errorstate *errorState)
UnityTls.unitytls_interface_struct.unitytls_tlsctx_set_certificate_callback_t unitytls_tlsctx_set_certificate_callback
Definition UnityTls.cs:447
readonly UnityTls.unitytls_tlsctx_protocolrange UNITYTLS_TLSCTX_PROTOCOLRANGE_DEFAULT
Definition UnityTls.cs:367
unsafe delegate void unitytls_x509list_free_t(UnityTls.unitytls_x509list *list)
unsafe delegate void unitytls_key_free_t(UnityTls.unitytls_key *key)
unsafe delegate UnityTls.unitytls_x509list * unitytls_x509list_create_t(UnityTls.unitytls_errorstate *errorState)
unsafe delegate UnityTls.unitytls_x509verify_result unitytls_x509verify_explicit_ca_t(UnityTls.unitytls_x509list_ref chain, UnityTls.unitytls_x509list_ref trustCA, byte *cn, IntPtr cnLen, UnityTls.unitytls_x509verify_callback cb, void *userData, UnityTls.unitytls_errorstate *errorState)
UnityTls.unitytls_interface_struct.unitytls_tlsctx_get_protocol_t unitytls_tlsctx_get_protocol
Definition UnityTls.cs:467
unsafe delegate void unitytls_x509list_append_der_t(UnityTls.unitytls_x509list *list, byte *buffer, IntPtr bufferLen, UnityTls.unitytls_errorstate *errorState)
unsafe delegate IntPtr unitytls_tlsctx_write_t(UnityTls.unitytls_tlsctx *ctx, byte *data, IntPtr bufferLen, UnityTls.unitytls_errorstate *errorState)
UnityTls.unitytls_interface_struct.unitytls_x509list_free_t unitytls_x509list_free
Definition UnityTls.cs:423
unsafe delegate UnityTls.unitytls_x509list_ref unitytls_x509list_get_ref_t(UnityTls.unitytls_x509list *list, UnityTls.unitytls_errorstate *errorState)
unsafe delegate void unitytls_random_generate_bytes_t(byte *buffer, IntPtr bufferLen, UnityTls.unitytls_errorstate *errorState)
UnityTls.unitytls_interface_struct.unitytls_tlsctx_read_t unitytls_tlsctx_read
Definition UnityTls.cs:475
unsafe delegate UnityTls.unitytls_tlsctx * unitytls_tlsctx_create_client_t(UnityTls.unitytls_tlsctx_protocolrange supportedProtocols, UnityTls.unitytls_tlsctx_callbacks callbacks, byte *cn, IntPtr cnLen, UnityTls.unitytls_errorstate *errorState)
unsafe delegate void unitytls_tlsctx_set_certificate_callback_t(UnityTls.unitytls_tlsctx *ctx, UnityTls.unitytls_tlsctx_certificate_callback cb, void *userData, UnityTls.unitytls_errorstate *errorState)
UnityTls.unitytls_interface_struct.unitytls_key_parse_pem_t unitytls_key_parse_pem
Definition UnityTls.cs:387
UnityTls.unitytls_interface_struct.unitytls_tlsctx_free_t unitytls_tlsctx_free
Definition UnityTls.cs:487
UnityTls.unitytls_interface_struct.unitytls_x509list_append_der_t unitytls_x509list_append_pem
Definition UnityTls.cs:419
unsafe delegate UnityTls.unitytls_x509verify_result unitytls_x509verify_default_ca_t(UnityTls.unitytls_x509list_ref chain, byte *cn, IntPtr cnLen, UnityTls.unitytls_x509verify_callback cb, void *userData, UnityTls.unitytls_errorstate *errorState)
UnityTls.unitytls_interface_struct.unitytls_tlsctx_set_trace_callback_t unitytls_tlsctx_set_trace_callback
Definition UnityTls.cs:451
UnityTls.unitytls_interface_struct.unitytls_x509list_get_x509_t unitytls_x509list_get_x509
Definition UnityTls.cs:403
UnityTls.unitytls_interface_struct.unitytls_tlsctx_write_t unitytls_tlsctx_write
Definition UnityTls.cs:479
unsafe delegate IntPtr unitytls_tlsctx_read_t(UnityTls.unitytls_tlsctx *ctx, byte *buffer, IntPtr bufferLen, UnityTls.unitytls_errorstate *errorState)
UnityTls.unitytls_interface_struct.unitytls_tlsctx_notify_close_t unitytls_tlsctx_notify_close
Definition UnityTls.cs:483
UnityTls.unitytls_interface_struct.unitytls_key_free_t unitytls_key_free
Definition UnityTls.cs:391
unsafe delegate UnityTls.unitytls_key * unitytls_key_parse_der_t(byte *buffer, IntPtr bufferLen, byte *password, IntPtr passwordLen, UnityTls.unitytls_errorstate *errorState)
unsafe delegate UnityTls.unitytls_x509verify_result unitytls_tlsctx_process_handshake_t(UnityTls.unitytls_tlsctx *ctx, UnityTls.unitytls_errorstate *errorState)
unsafe delegate void unitytls_tlsctx_set_x509verify_callback_t(UnityTls.unitytls_tlsctx *ctx, UnityTls.unitytls_tlsctx_x509verify_callback cb, void *userData, UnityTls.unitytls_errorstate *errorState)
UnityTls.unitytls_interface_struct.unitytls_x509verify_explicit_ca_t unitytls_x509verify_explicit_ca
Definition UnityTls.cs:431
unsafe delegate UnityTls.unitytls_ciphersuite unitytls_tlsctx_get_ciphersuite_t(UnityTls.unitytls_tlsctx *ctx, UnityTls.unitytls_errorstate *errorState)
unsafe delegate void unitytls_tlsctx_set_trace_callback_t(UnityTls.unitytls_tlsctx *ctx, UnityTls.unitytls_tlsctx_trace_callback cb, void *userData, UnityTls.unitytls_errorstate *errorState)
unsafe delegate UnityTls.unitytls_protocol unitytls_tlsctx_get_protocol_t(UnityTls.unitytls_tlsctx *ctx, UnityTls.unitytls_errorstate *errorState)
UnityTls.unitytls_interface_struct.unitytls_x509list_get_ref_t unitytls_x509list_get_ref
Definition UnityTls.cs:399
UnityTls.unitytls_interface_struct.unitytls_tlsctx_create_client_t unitytls_tlsctx_create_client
Definition UnityTls.cs:439
UnityTls.unitytls_interface_struct.unitytls_key_get_ref_t unitytls_key_get_ref
Definition UnityTls.cs:379
UnityTls.unitytls_interface_struct.unitytls_tlsctx_server_require_client_authentication_t unitytls_tlsctx_server_require_client_authentication
Definition UnityTls.cs:443
UnityTls.unitytls_interface_struct.unitytls_x509list_append_t unitytls_x509list_append
Definition UnityTls.cs:411
UnityTls.unitytls_interface_struct.unitytls_x509verify_default_ca_t unitytls_x509verify_default_ca
Definition UnityTls.cs:427
UnityTls.unitytls_interface_struct.unitytls_tlsctx_set_supported_ciphersuites_t unitytls_tlsctx_set_supported_ciphersuites
Definition UnityTls.cs:459
unsafe delegate UnityTls.unitytls_x509_ref unitytls_x509list_get_x509_t(UnityTls.unitytls_x509list_ref list, IntPtr index, UnityTls.unitytls_errorstate *errorState)
UnityTls.unitytls_interface_struct.unitytls_tlsctx_process_handshake_t unitytls_tlsctx_process_handshake
Definition UnityTls.cs:471
unsafe delegate void unitytls_tlsctx_free_t(UnityTls.unitytls_tlsctx *ctx)
unsafe delegate UnityTls.unitytls_key * unitytls_key_parse_pem_t(byte *buffer, IntPtr bufferLen, byte *password, IntPtr passwordLen, UnityTls.unitytls_errorstate *errorState)
unsafe delegate void unitytls_errorstate_raise_error_t(UnityTls.unitytls_errorstate *errorState, UnityTls.unitytls_error_code errorCode)
UnityTls.unitytls_interface_struct.unitytls_errorstate_create_t unitytls_errorstate_create
Definition UnityTls.cs:371
unsafe delegate UnityTls.unitytls_key_ref unitytls_key_get_ref_t(UnityTls.unitytls_key *key, UnityTls.unitytls_errorstate *errorState)
unsafe delegate void unitytls_tlsctx_server_require_client_authentication_t(UnityTls.unitytls_tlsctx *ctx, UnityTls.unitytls_x509list_ref clientAuthCAList, UnityTls.unitytls_errorstate *errorState)
UnityTls.unitytls_interface_struct.unitytls_tlsctx_get_ciphersuite_t unitytls_tlsctx_get_ciphersuite
Definition UnityTls.cs:463
unsafe delegate UnityTls.unitytls_tlsctx * unitytls_tlsctx_create_server_t(UnityTls.unitytls_tlsctx_protocolrange supportedProtocols, UnityTls.unitytls_tlsctx_callbacks callbacks, ulong certChain, ulong leafCertificateKey, UnityTls.unitytls_errorstate *errorState)
UnityTls.unitytls_interface_struct.unitytls_errorstate_raise_error_t unitytls_errorstate_raise_error
Definition UnityTls.cs:375
UnityTls.unitytls_interface_struct.unitytls_tlsctx_set_x509verify_callback_t unitytls_tlsctx_set_x509verify_callback
Definition UnityTls.cs:455
UnityTls.unitytls_interface_struct.unitytls_tlsctx_create_server_t unitytls_tlsctx_create_server
Definition UnityTls.cs:435
UnityTls.unitytls_interface_struct.unitytls_x509_export_der_t unitytls_x509_export_der
Definition UnityTls.cs:395
UnityTls.unitytls_interface_struct.unitytls_x509list_create_t unitytls_x509list_create
Definition UnityTls.cs:407
UnityTls.unitytls_interface_struct.unitytls_x509list_append_der_t unitytls_x509list_append_der
Definition UnityTls.cs:415
unsafe delegate void unitytls_tlsctx_set_supported_ciphersuites_t(UnityTls.unitytls_tlsctx *ctx, UnityTls.unitytls_ciphersuite *supportedCiphersuites, IntPtr supportedCiphersuitesLen, UnityTls.unitytls_errorstate *errorState)
delegate UnityTls.unitytls_errorstate unitytls_errorstate_create_t()
unsafe delegate IntPtr unitytls_tlsctx_write_callback(void *userData, byte *data, IntPtr bufferLen, UnityTls.unitytls_errorstate *errorState)
unsafe delegate UnityTls.unitytls_x509verify_result unitytls_x509verify_callback(void *userData, UnityTls.unitytls_x509_ref cert, UnityTls.unitytls_x509verify_result result, UnityTls.unitytls_errorstate *errorState)
unsafe delegate IntPtr unitytls_tlsctx_read_callback(void *userData, byte *buffer, IntPtr bufferLen, UnityTls.unitytls_errorstate *errorState)
static UnityTls.unitytls_interface_struct marshalledInterface
Definition UnityTls.cs:137
static unsafe UnityTls.unitytls_interface_struct NativeInterface
Definition UnityTls.cs:38
static bool IsSupported
Definition UnityTls.cs:24
unsafe delegate void unitytls_tlsctx_trace_callback(void *userData, UnityTls.unitytls_tlsctx *ctx, byte *traceMessage, IntPtr traceMessageLen)
unsafe delegate UnityTls.unitytls_x509verify_result unitytls_tlsctx_x509verify_callback(void *userData, UnityTls.unitytls_x509list_ref chain, UnityTls.unitytls_errorstate *errorState)
unsafe delegate void unitytls_tlsctx_certificate_callback(void *userData, UnityTls.unitytls_tlsctx *ctx, byte *cn, IntPtr cnLen, UnityTls.unitytls_x509name *caList, IntPtr caListLen, UnityTls.unitytls_x509list_ref *chain, UnityTls.unitytls_key_ref *key, UnityTls.unitytls_errorstate *errorState)
static IntPtr GetUnityTlsInterface()
UnityTls.unitytls_error_code code
Definition UnityTls.cs:187
UnityTls.unitytls_tlsctx_write_callback write
Definition UnityTls.cs:341
UnityTls.unitytls_tlsctx_read_callback read
Definition UnityTls.cs:337