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
CertHelper.cs
Go to the documentation of this file.
1using System;
7
8namespace Mono.Unity
9{
10 [global::Cpp2ILInjected.Token(Token = "0x200000E")]
11 internal static class CertHelper
12 {
13 [global::Cpp2ILInjected.Token(Token = "0x6000039")]
14 [global::Cpp2ILInjected.Address(RVA = "0x1D41628", Offset = "0x1D41628", Length = "0x1C4")]
15 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
16 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UnityTlsProvider), Member = "ValidateCertificate", MemberParameters = new object[]
17 {
19 typeof(string),
20 typeof(bool),
22 typeof(bool),
25 typeof(ref int)
26 }, ReturnType = typeof(bool))]
27 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
28 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(X509CertificateCollection), Member = "GetEnumerator", ReturnType = typeof(X509CertificateCollection.X509CertificateEnumerator))]
29 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(X509CertificateCollection.X509CertificateEnumerator), Member = "MoveNext", ReturnType = typeof(bool))]
30 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(X509CertificateCollection.X509CertificateEnumerator), Member = "get_Current", ReturnType = typeof(X509Certificate))]
31 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CertHelper), Member = "AddCertificateToNativeChain", MemberParameters = new object[]
32 {
36 }, ReturnType = typeof(void))]
37 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
39 {
40 throw null;
41 }
42
43 [global::Cpp2ILInjected.Token(Token = "0x600003A")]
44 [global::Cpp2ILInjected.Address(RVA = "0x1D417EC", Offset = "0x1D417EC", Length = "0x1A8")]
45 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
46 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CertHelper), Member = "AddCertificatesToNativeChain", MemberParameters = new object[]
47 {
51 }, ReturnType = typeof(void))]
52 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CertHelper), Member = "AddCertificateToNativeChain", MemberParameters = new object[]
53 {
54 typeof(UnityTls.unitytls_x509list*),
56 typeof(UnityTls.unitytls_errorstate*)
57 }, ReturnType = typeof(void))]
58 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UnityTlsContext), Member = "ExtractNativeKeyAndChainFromManagedCertificate", MemberParameters = new object[]
59 {
61 typeof(UnityTls.unitytls_errorstate*),
62 typeof(ref UnityTls.unitytls_x509list*),
63 typeof(ref UnityTls.unitytls_key*)
64 }, ReturnType = typeof(void))]
65 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
66 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnityTls), Member = "get_NativeInterface", ReturnType = typeof(UnityTls.unitytls_interface_struct))]
67 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(IntPtr), Member = "op_Explicit", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(IntPtr))]
68 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(X509CertificateImplCollection), Member = "get_Count", ReturnType = typeof(int))]
69 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(X509CertificateImplCollection), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = "System.Security.Cryptography.X509Certificates.X509CertificateImpl")]
70 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(X509Certificate), Member = ".ctor", MemberParameters = new object[] { "System.Security.Cryptography.X509Certificates.X509CertificateImpl" }, ReturnType = typeof(void))]
71 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CertHelper), Member = "AddCertificateToNativeChain", MemberParameters = new object[]
72 {
73 typeof(UnityTls.unitytls_x509list*),
75 typeof(UnityTls.unitytls_errorstate*)
76 }, ReturnType = typeof(void))]
77 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
79 {
80 throw null;
81 }
82 }
83}
class f__AnonymousType0<< Count > j__TPar
static unsafe void AddCertificatesToNativeChain(UnityTls.unitytls_x509list *nativeCertificateChain, X509CertificateCollection certificates, UnityTls.unitytls_errorstate *errorState)
Definition CertHelper.cs:38
static unsafe void AddCertificateToNativeChain(UnityTls.unitytls_x509list *nativeCertificateChain, X509Certificate certificate, UnityTls.unitytls_errorstate *errorState)
Definition CertHelper.cs:78