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
UnityTlsProvider.cs
Go to the documentation of this file.
1using System;
3using System.IO;
7using System.Text;
12using Mono.Util;
13
14namespace Mono.Unity
15{
16 [global::Cpp2ILInjected.Token(Token = "0x2000046")]
18 {
19 [global::Cpp2ILInjected.Token(Token = "0x1700000D")]
20 public override string Name
21 {
22 [global::Cpp2ILInjected.Token(Token = "0x60000A5")]
23 [global::Cpp2ILInjected.Address(RVA = "0x1D46824", Offset = "0x1D46824", Length = "0x40")]
24 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
25 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
26 get
27 {
28 throw null;
29 }
30 }
31
32 [global::Cpp2ILInjected.Token(Token = "0x1700000E")]
33 public override Guid ID
34 {
35 [global::Cpp2ILInjected.Token(Token = "0x60000A6")]
36 [global::Cpp2ILInjected.Address(RVA = "0x1D46864", Offset = "0x1D46864", Length = "0x58")]
37 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
38 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
39 get
40 {
41 throw null;
42 }
43 }
44
45 [global::Cpp2ILInjected.Token(Token = "0x1700000F")]
46 public override bool SupportsSslStream
47 {
48 [global::Cpp2ILInjected.Token(Token = "0x60000A7")]
49 [global::Cpp2ILInjected.Address(RVA = "0x1D468BC", Offset = "0x1D468BC", Length = "0x8")]
50 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
51 get
52 {
53 throw null;
54 }
55 }
56
57 [global::Cpp2ILInjected.Token(Token = "0x17000010")]
58 public override bool SupportsMonoExtensions
59 {
60 [global::Cpp2ILInjected.Token(Token = "0x60000A8")]
61 [global::Cpp2ILInjected.Address(RVA = "0x1D468C4", Offset = "0x1D468C4", Length = "0x8")]
62 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
63 get
64 {
65 throw null;
66 }
67 }
68
69 [global::Cpp2ILInjected.Token(Token = "0x17000011")]
70 public override bool SupportsConnectionInfo
71 {
72 [global::Cpp2ILInjected.Token(Token = "0x60000A9")]
73 [global::Cpp2ILInjected.Address(RVA = "0x1D468CC", Offset = "0x1D468CC", Length = "0x8")]
74 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
75 get
76 {
77 throw null;
78 }
79 }
80
81 [global::Cpp2ILInjected.Token(Token = "0x17000012")]
82 internal override bool SupportsCleanShutdown
83 {
84 [global::Cpp2ILInjected.Token(Token = "0x60000AA")]
85 [global::Cpp2ILInjected.Address(RVA = "0x1D468D4", Offset = "0x1D468D4", Length = "0x8")]
86 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
87 get
88 {
89 throw null;
90 }
91 }
92
93 [global::Cpp2ILInjected.Token(Token = "0x17000013")]
95 {
96 [global::Cpp2ILInjected.Token(Token = "0x60000AB")]
97 [global::Cpp2ILInjected.Address(RVA = "0x1D468DC", Offset = "0x1D468DC", Length = "0x8")]
98 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
99 get
100 {
101 throw null;
102 }
103 }
104
105 [global::Cpp2ILInjected.Token(Token = "0x60000AC")]
106 [global::Cpp2ILInjected.Address(RVA = "0x1D468E4", Offset = "0x1D468E4", Length = "0x88")]
107 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
108 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnityTlsStream), Member = ".ctor", MemberParameters = new object[]
109 {
110 typeof(Stream),
111 typeof(bool),
115 }, ReturnType = typeof(void))]
116 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
117 internal override MobileAuthenticatedStream CreateSslStream(SslStream sslStream, Stream innerStream, bool leaveInnerStreamOpen, MonoTlsSettings settings)
118 {
119 throw null;
120 }
121
123 [global::Cpp2ILInjected.Token(Token = "0x60000AD")]
124 [global::Cpp2ILInjected.Address(RVA = "0x1D467CC", Offset = "0x1D467CC", Length = "0x58")]
125 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
126 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
127 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnityTls), Member = "get_NativeInterface", ReturnType = typeof(UnityTls.unitytls_interface_struct))]
132
133 [global::Cpp2ILInjected.Token(Token = "0x60000AE")]
134 [global::Cpp2ILInjected.Address(RVA = "0x1D46A00", Offset = "0x1D46A00", Length = "0x80C")]
135 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
136 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
137 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnityTls), Member = "get_NativeInterface", ReturnType = typeof(UnityTls.unitytls_interface_struct))]
138 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(X509Chain), Member = "get_Impl", ReturnType = typeof(X509ChainImpl))]
139 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CollectionBase), Member = "get_Count", ReturnType = typeof(int))]
140 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "IsNullOrEmpty", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
141 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "IndexOf", MemberParameters = new object[] { typeof(char) }, ReturnType = typeof(int))]
142 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Substring", MemberParameters = new object[]
143 {
144 typeof(int),
145 typeof(int)
146 }, ReturnType = typeof(string))]
147 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CertHelper), Member = "AddCertificatesToNativeChain", MemberParameters = new object[]
148 {
149 typeof(UnityTls.unitytls_x509list*),
151 typeof(UnityTls.unitytls_errorstate*)
152 }, ReturnType = typeof(void))]
153 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Encoding), Member = "get_UTF8", ReturnType = typeof(Encoding))]
154 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(IntPtr), Member = "op_Explicit", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(IntPtr))]
155 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnityTls.unitytls_x509verify_callback), Member = ".ctor", MemberParameters = new object[]
156 {
157 typeof(object),
159 }, ReturnType = typeof(void))]
160 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(X509Chain), Member = "Dispose", ReturnType = typeof(void))]
161 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(X509ChainImplUnityTls), Member = ".ctor", MemberParameters = new object[]
162 {
163 typeof(UnityTls.unitytls_x509list_ref),
164 typeof(bool)
165 }, ReturnType = typeof(void))]
166 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(X509Chain), Member = ".ctor", MemberParameters = new object[] { typeof(X509ChainImpl) }, ReturnType = typeof(void))]
167 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 35)]
169 {
170 throw null;
171 }
172
173 [global::Cpp2ILInjected.Token(Token = "0x60000AF")]
174 [global::Cpp2ILInjected.Address(RVA = "0x1D4720C", Offset = "0x1D4720C", Length = "0x8")]
175 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
176 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MonoTlsProvider), Member = ".ctor", ReturnType = typeof(void))]
178 {
179 throw null;
180 }
181 }
182}
class f__AnonymousType0<< Count > j__TPar
override SslProtocols SupportedProtocols
unsafe override bool ValidateCertificate(ChainValidationHelper validator, string targetHost, bool serverMode, X509CertificateCollection certificates, bool wantsChain, ref X509Chain chain, ref SslPolicyErrors errors, ref int status11)
override MobileAuthenticatedStream CreateSslStream(SslStream sslStream, Stream innerStream, bool leaveInnerStreamOpen, MonoTlsSettings settings)
static unsafe UnityTls.unitytls_x509verify_result x509verify_callback(void *userData, UnityTls.unitytls_x509_ref cert, UnityTls.unitytls_x509verify_result result, 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)