terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
UnityTls.cs
Go to the documentation of this file.
1using System;
4
5namespace Mono.Unity
6{
7 // Token: 0x02000010 RID: 16
8 internal static class UnityTls
9 {
10 // Token: 0x0600003D RID: 61 RVA: 0x00002050 File Offset: 0x00000250
12 {
13 throw new global::Cpp2IlInjected.AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
14 }
15
16 // Token: 0x17000008 RID: 8
17 // (get) Token: 0x0600003E RID: 62 RVA: 0x00002500 File Offset: 0x00000700
18 public static bool IsSupported
19 {
20 get
21 {
22 /*
23An exception occurred when decompiling this method (0600003E)
24
25ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Mono.Unity.UnityTls::get_IsSupported()
26
27 ---> System.Exception: Basic block has to end with unconditional control flow.
28{
29 Block_0:
30 stloc:unitytls_interface_struct(var_0_05, callgetter:unitytls_interface_struct(UnityTls::get_NativeInterface))
31}
32
33 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
34 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
35 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
36 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
37 --- End of inner exception stack trace ---
38 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
39 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
40*/;
41 }
42 }
43
44 // Token: 0x17000009 RID: 9
45 // (get) Token: 0x0600003F RID: 63 RVA: 0x00002050 File Offset: 0x00000250
47 {
48 get
49 {
50 throw new global::Cpp2IlInjected.AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
51 }
52 }
53
54 // Token: 0x0400002E RID: 46
56
57 // Token: 0x02000011 RID: 17
58 public enum unitytls_error_code : uint
59 {
60 // Token: 0x04000030 RID: 48
62 // Token: 0x04000031 RID: 49
64 // Token: 0x04000032 RID: 50
66 // Token: 0x04000033 RID: 51
68 // Token: 0x04000034 RID: 52
70 // Token: 0x04000035 RID: 53
72 // Token: 0x04000036 RID: 54
74 // Token: 0x04000037 RID: 55
76 // Token: 0x04000038 RID: 56
78 // Token: 0x04000039 RID: 57
80 // Token: 0x0400003A RID: 58
82 // Token: 0x0400003B RID: 59
84 // Token: 0x0400003C RID: 60
86 // Token: 0x0400003D RID: 61
88 // Token: 0x0400003E RID: 62
90 // Token: 0x0400003F RID: 63
92 // Token: 0x04000040 RID: 64
94 }
95
96 // Token: 0x02000012 RID: 18
97 public struct unitytls_errorstate
98 {
99 // Token: 0x04000041 RID: 65
100 private uint magic;
101
102 // Token: 0x04000042 RID: 66
104
105 // Token: 0x04000043 RID: 67
107 }
108
109 // Token: 0x02000013 RID: 19
110 public struct unitytls_key
111 {
112 }
113
114 // Token: 0x02000014 RID: 20
115 public struct unitytls_key_ref
116 {
117 // Token: 0x04000044 RID: 68
118 public ulong handle;
119 }
120
121 // Token: 0x02000015 RID: 21
122 public struct unitytls_x509_ref
123 {
124 // Token: 0x04000045 RID: 69
125 public ulong handle;
126 }
127
128 // Token: 0x02000016 RID: 22
129 public struct unitytls_x509list
130 {
131 }
132
133 // Token: 0x02000017 RID: 23
135 {
136 // Token: 0x04000046 RID: 70
137 public ulong handle;
138 }
139
140 // Token: 0x02000018 RID: 24
141 [Flags]
142 public enum unitytls_x509verify_result : uint
143 {
144 // Token: 0x04000048 RID: 72
146 // Token: 0x04000049 RID: 73
148 // Token: 0x0400004A RID: 74
150 // Token: 0x0400004B RID: 75
152 // Token: 0x0400004C RID: 76
154 // Token: 0x0400004D RID: 77
156 // Token: 0x0400004E RID: 78
158 // Token: 0x0400004F RID: 79
160 // Token: 0x04000050 RID: 80
162 // Token: 0x04000051 RID: 81
164 // Token: 0x04000052 RID: 82
166 // Token: 0x04000053 RID: 83
168 // Token: 0x04000054 RID: 84
170 // Token: 0x04000055 RID: 85
172 // Token: 0x04000056 RID: 86
174 // Token: 0x04000057 RID: 87
176 }
177
178 // Token: 0x02000019 RID: 25
181 {
182 // Token: 0x06000040 RID: 64 RVA: 0x00002514 File Offset: 0x00000714
184 {
186 this.m_target = @object;
188 this.method_code = this;
189 }
190
191 // Token: 0x06000041 RID: 65 RVA: 0x00002568 File Offset: 0x00000768
193 {
194 /*
195An exception occurred when decompiling this method (06000041)
196
197ICSharpCode.Decompiler.DecompilerException: Error decompiling Mono.Unity.UnityTls/unitytls_x509verify_result Mono.Unity.UnityTls/unitytls_x509verify_callback::Invoke(System.Void*,Mono.Unity.UnityTls/unitytls_x509_ref,Mono.Unity.UnityTls/unitytls_x509verify_result,Mono.Unity.UnityTls/unitytls_errorstate*)
198
199 ---> System.Exception: Basic block has to end with unconditional control flow.
200{
201 Block_0:
202 stloc:native int(var_0_06, ldfld:native int(Delegate::method_code, ldloc:unitytls_x509verify_callback[exp:Delegate](this)))
203 stloc:native int(var_1_0D, ldfld:native int(Delegate::invoke_impl, ldloc:unitytls_x509verify_callback[exp:Delegate](this)))
204 stloc:native int(var_2_14, ldfld:native int(Delegate::method, ldloc:unitytls_x509verify_callback[exp:Delegate](this)))
205}
206
207 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
208 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
209 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
210 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
211 --- End of inner exception stack trace ---
212 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
213 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
214*/;
215 }
216 }
217
218 // Token: 0x0200001A RID: 26
219 public struct unitytls_tlsctx
220 {
221 }
222
223 // Token: 0x0200001B RID: 27
224 public struct unitytls_x509name
225 {
226 }
227
228 // Token: 0x0200001C RID: 28
229 public enum unitytls_ciphersuite : uint
230 {
231 // Token: 0x04000059 RID: 89
233 }
234
235 // Token: 0x0200001D RID: 29
236 public enum unitytls_protocol : uint
237 {
238 // Token: 0x0400005B RID: 91
240 // Token: 0x0400005C RID: 92
242 // Token: 0x0400005D RID: 93
244 // Token: 0x0400005E RID: 94
246 }
247
248 // Token: 0x0200001E RID: 30
250 {
251 // Token: 0x0400005F RID: 95
253
254 // Token: 0x04000060 RID: 96
256 }
257
258 // Token: 0x0200001F RID: 31
261 {
262 // Token: 0x06000042 RID: 66 RVA: 0x0000258C File Offset: 0x0000078C
264 {
266 this.m_target = @object;
268 this.method_code = this;
269 }
270
271 // Token: 0x06000043 RID: 67 RVA: 0x000025E0 File Offset: 0x000007E0
279 }
280
281 // Token: 0x02000020 RID: 32
284 {
285 // Token: 0x06000044 RID: 68 RVA: 0x00002604 File Offset: 0x00000804
287 {
289 this.m_target = @object;
291 this.method_code = this;
292 }
293
294 // Token: 0x06000045 RID: 69 RVA: 0x00002658 File Offset: 0x00000858
302 }
303
304 // Token: 0x02000021 RID: 33
307 {
308 // Token: 0x06000046 RID: 70 RVA: 0x0000267C File Offset: 0x0000087C
310 {
312 this.m_target = @object;
314 this.method_code = this;
315 }
316
317 // Token: 0x06000047 RID: 71 RVA: 0x000026D0 File Offset: 0x000008D0
324 }
325
326 // Token: 0x02000022 RID: 34
329 {
330 // Token: 0x06000048 RID: 72 RVA: 0x000026F4 File Offset: 0x000008F4
332 {
334 this.method_code = this;
335 }
336
337 // Token: 0x06000049 RID: 73 RVA: 0x00002738 File Offset: 0x00000938
344 }
345
346 // Token: 0x02000023 RID: 35
349 {
350 // Token: 0x0600004A RID: 74 RVA: 0x0000275C File Offset: 0x0000095C
352 {
354 this.m_target = @object;
356 this.method_code = this;
357 }
358
359 // Token: 0x0600004B RID: 75 RVA: 0x000027B0 File Offset: 0x000009B0
361 {
362 /*
363An exception occurred when decompiling this method (0600004B)
364
365ICSharpCode.Decompiler.DecompilerException: Error decompiling Mono.Unity.UnityTls/unitytls_x509verify_result Mono.Unity.UnityTls/unitytls_tlsctx_x509verify_callback::Invoke(System.Void*,Mono.Unity.UnityTls/unitytls_x509list_ref,Mono.Unity.UnityTls/unitytls_errorstate*)
366
367 ---> System.Exception: Basic block has to end with unconditional control flow.
368{
369 Block_0:
370 stloc:native int(var_0_06, ldfld:native int(Delegate::method_code, ldloc:unitytls_tlsctx_x509verify_callback[exp:Delegate](this)))
371 stloc:native int(var_1_0D, ldfld:native int(Delegate::invoke_impl, ldloc:unitytls_tlsctx_x509verify_callback[exp:Delegate](this)))
372 stloc:native int(var_2_14, ldfld:native int(Delegate::method, ldloc:unitytls_tlsctx_x509verify_callback[exp:Delegate](this)))
373}
374
375 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
376 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
377 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
378 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
379 --- End of inner exception stack trace ---
380 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
381 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
382*/;
383 }
384 }
385
386 // Token: 0x02000024 RID: 36
388 {
389 // Token: 0x04000061 RID: 97
391
392 // Token: 0x04000062 RID: 98
394
395 // Token: 0x04000063 RID: 99
396 public unsafe void* data;
397 }
398
399 // Token: 0x02000025 RID: 37
400 [StructLayout(0)]
402 {
403 // Token: 0x0600004C RID: 76 RVA: 0x000027D4 File Offset: 0x000009D4
405 {
406 }
407
408 // Token: 0x04000064 RID: 100
410
411 // Token: 0x04000065 RID: 101
413
414 // Token: 0x04000066 RID: 102
416
417 // Token: 0x04000067 RID: 103
419
420 // Token: 0x04000068 RID: 104
422
423 // Token: 0x04000069 RID: 105
425
426 // Token: 0x0400006A RID: 106
428
429 // Token: 0x0400006B RID: 107
431
432 // Token: 0x0400006C RID: 108
434
435 // Token: 0x0400006D RID: 109
437
438 // Token: 0x0400006E RID: 110
440
441 // Token: 0x0400006F RID: 111
443
444 // Token: 0x04000070 RID: 112
446
447 // Token: 0x04000071 RID: 113
449
450 // Token: 0x04000072 RID: 114
452
453 // Token: 0x04000073 RID: 115
455
456 // Token: 0x04000074 RID: 116
458
459 // Token: 0x04000075 RID: 117
461
462 // Token: 0x04000076 RID: 118
464
465 // Token: 0x04000077 RID: 119
467
468 // Token: 0x04000078 RID: 120
470
471 // Token: 0x04000079 RID: 121
473
474 // Token: 0x0400007A RID: 122
476
477 // Token: 0x0400007B RID: 123
479
480 // Token: 0x0400007C RID: 124
482
483 // Token: 0x0400007D RID: 125
485
486 // Token: 0x0400007E RID: 126
488
489 // Token: 0x0400007F RID: 127
491
492 // Token: 0x04000080 RID: 128
494
495 // Token: 0x04000081 RID: 129
497
498 // Token: 0x04000082 RID: 130
500
501 // Token: 0x04000083 RID: 131
503
504 // Token: 0x04000084 RID: 132
506
507 // Token: 0x02000026 RID: 38
508 // (Invoke) Token: 0x0600004E RID: 78
511
512 // Token: 0x02000027 RID: 39
513 // (Invoke) Token: 0x06000050 RID: 80
516
517 // Token: 0x02000028 RID: 40
518 // (Invoke) Token: 0x06000052 RID: 82
521
522 // Token: 0x02000029 RID: 41
523 // (Invoke) Token: 0x06000054 RID: 84
526
527 // Token: 0x0200002A RID: 42
528 // (Invoke) Token: 0x06000056 RID: 86
531
532 // Token: 0x0200002B RID: 43
533 // (Invoke) Token: 0x06000058 RID: 88
536
537 // Token: 0x0200002C RID: 44
538 // (Invoke) Token: 0x0600005A RID: 90
541
542 // Token: 0x0200002D RID: 45
543 // (Invoke) Token: 0x0600005C RID: 92
546
547 // Token: 0x0200002E RID: 46
548 // (Invoke) Token: 0x0600005E RID: 94
551
552 // Token: 0x0200002F RID: 47
553 // (Invoke) Token: 0x06000060 RID: 96
556
557 // Token: 0x02000030 RID: 48
558 // (Invoke) Token: 0x06000062 RID: 98
561
562 // Token: 0x02000031 RID: 49
563 // (Invoke) Token: 0x06000064 RID: 100
566
567 // Token: 0x02000032 RID: 50
568 // (Invoke) Token: 0x06000066 RID: 102
571
572 // Token: 0x02000033 RID: 51
573 // (Invoke) Token: 0x06000068 RID: 104
576
577 // Token: 0x02000034 RID: 52
578 // (Invoke) Token: 0x0600006A RID: 106
581
582 // Token: 0x02000035 RID: 53
583 // (Invoke) Token: 0x0600006C RID: 108
586
587 // Token: 0x02000036 RID: 54
588 // (Invoke) Token: 0x0600006E RID: 110
591
592 // Token: 0x02000037 RID: 55
593 // (Invoke) Token: 0x06000070 RID: 112
596
597 // Token: 0x02000038 RID: 56
598 // (Invoke) Token: 0x06000072 RID: 114
601
602 // Token: 0x02000039 RID: 57
603 // (Invoke) Token: 0x06000074 RID: 116
606
607 // Token: 0x0200003A RID: 58
608 // (Invoke) Token: 0x06000076 RID: 118
611
612 // Token: 0x0200003B RID: 59
613 // (Invoke) Token: 0x06000078 RID: 120
616
617 // Token: 0x0200003C RID: 60
618 // (Invoke) Token: 0x0600007A RID: 122
621
622 // Token: 0x0200003D RID: 61
623 // (Invoke) Token: 0x0600007C RID: 124
626
627 // Token: 0x0200003E RID: 62
628 // (Invoke) Token: 0x0600007E RID: 126
631
632 // Token: 0x0200003F RID: 63
633 // (Invoke) Token: 0x06000080 RID: 128
636
637 // Token: 0x02000040 RID: 64
638 // (Invoke) Token: 0x06000082 RID: 130
641
642 // Token: 0x02000041 RID: 65
643 // (Invoke) Token: 0x06000084 RID: 132
646
647 // Token: 0x02000042 RID: 66
648 // (Invoke) Token: 0x06000086 RID: 134
651
652 // Token: 0x02000043 RID: 67
653 // (Invoke) Token: 0x06000088 RID: 136
656 }
657 }
658}
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:505
UnityTls.unitytls_interface_struct.unitytls_key_parse_der_t unitytls_key_parse_der
Definition UnityTls.cs:424
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:472
readonly UnityTls.unitytls_tlsctx_protocolrange UNITYTLS_TLSCTX_PROTOCOLRANGE_DEFAULT
Definition UnityTls.cs:412
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:487
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:454
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:493
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:427
UnityTls.unitytls_interface_struct.unitytls_tlsctx_free_t unitytls_tlsctx_free
Definition UnityTls.cs:502
UnityTls.unitytls_interface_struct.unitytls_x509list_append_der_t unitytls_x509list_append_pem
Definition UnityTls.cs:451
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:475
UnityTls.unitytls_interface_struct.unitytls_x509list_get_x509_t unitytls_x509list_get_x509
Definition UnityTls.cs:439
UnityTls.unitytls_interface_struct.unitytls_tlsctx_write_t unitytls_tlsctx_write
Definition UnityTls.cs:496
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:499
UnityTls.unitytls_interface_struct.unitytls_key_free_t unitytls_key_free
Definition UnityTls.cs:430
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:460
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:436
UnityTls.unitytls_interface_struct.unitytls_tlsctx_create_client_t unitytls_tlsctx_create_client
Definition UnityTls.cs:466
UnityTls.unitytls_interface_struct.unitytls_key_get_ref_t unitytls_key_get_ref
Definition UnityTls.cs:421
UnityTls.unitytls_interface_struct.unitytls_tlsctx_server_require_client_authentication_t unitytls_tlsctx_server_require_client_authentication
Definition UnityTls.cs:469
UnityTls.unitytls_interface_struct.unitytls_x509list_append_t unitytls_x509list_append
Definition UnityTls.cs:445
UnityTls.unitytls_interface_struct.unitytls_x509verify_default_ca_t unitytls_x509verify_default_ca
Definition UnityTls.cs:457
UnityTls.unitytls_interface_struct.unitytls_tlsctx_set_supported_ciphersuites_t unitytls_tlsctx_set_supported_ciphersuites
Definition UnityTls.cs:481
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:490
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:415
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:484
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:418
UnityTls.unitytls_interface_struct.unitytls_tlsctx_set_x509verify_callback_t unitytls_tlsctx_set_x509verify_callback
Definition UnityTls.cs:478
UnityTls.unitytls_interface_struct.unitytls_tlsctx_create_server_t unitytls_tlsctx_create_server
Definition UnityTls.cs:463
UnityTls.unitytls_interface_struct.unitytls_x509_export_der_t unitytls_x509_export_der
Definition UnityTls.cs:433
UnityTls.unitytls_interface_struct.unitytls_x509list_create_t unitytls_x509list_create
Definition UnityTls.cs:442
UnityTls.unitytls_interface_struct.unitytls_x509list_append_der_t unitytls_x509list_append_der
Definition UnityTls.cs:448
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 void Invoke(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)
Definition UnityTls.cs:338
unitytls_tlsctx_certificate_callback(object @object, IntPtr method)
Definition UnityTls.cs:331
unitytls_tlsctx_read_callback(object @object, IntPtr method)
Definition UnityTls.cs:286
unsafe IntPtr Invoke(void *userData, byte *buffer, IntPtr bufferLen, UnityTls.unitytls_errorstate *errorState)
Definition UnityTls.cs:295
unsafe void Invoke(void *userData, UnityTls.unitytls_tlsctx *ctx, byte *traceMessage, IntPtr traceMessageLen)
Definition UnityTls.cs:318
unitytls_tlsctx_trace_callback(object @object, IntPtr method)
Definition UnityTls.cs:309
unsafe IntPtr Invoke(void *userData, byte *data, IntPtr bufferLen, UnityTls.unitytls_errorstate *errorState)
Definition UnityTls.cs:272
unitytls_tlsctx_write_callback(object @object, IntPtr method)
Definition UnityTls.cs:263
unsafe UnityTls.unitytls_x509verify_result Invoke(void *userData, UnityTls.unitytls_x509list_ref chain, UnityTls.unitytls_errorstate *errorState)
Definition UnityTls.cs:360
unitytls_tlsctx_x509verify_callback(object @object, IntPtr method)
Definition UnityTls.cs:351
unitytls_x509verify_callback(object @object, IntPtr method)
Definition UnityTls.cs:183
unsafe UnityTls.unitytls_x509verify_result Invoke(void *userData, UnityTls.unitytls_x509_ref cert, UnityTls.unitytls_x509verify_result result, UnityTls.unitytls_errorstate *errorState)
Definition UnityTls.cs:192
static UnityTls.unitytls_interface_struct marshalledInterface
Definition UnityTls.cs:55
static bool IsSupported
Definition UnityTls.cs:19
static UnityTls.unitytls_interface_struct NativeInterface
Definition UnityTls.cs:47
static IntPtr GetUnityTlsInterface()
Definition UnityTls.cs:11
IntPtr method_code
Definition Delegate.cs:386
DelegateData data
Definition Delegate.cs:401
IntPtr invoke_impl
Definition Delegate.cs:371
UnityTls.unitytls_error_code code
Definition UnityTls.cs:103
UnityTls.unitytls_tlsctx_write_callback write
Definition UnityTls.cs:393
UnityTls.unitytls_tlsctx_read_callback read
Definition UnityTls.cs:390