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
X509Helper.cs
Go to the documentation of this file.
1using System;
5using Mono;
6
8{
9 [global::Cpp2ILInjected.Token(Token = "0x2000324")]
10 internal static class X509Helper
11 {
12 [global::Cpp2ILInjected.Token(Token = "0x1700030E")]
13 private static global::Mono.ISystemCertificateProvider CertificateProvider
14 {
15 [global::Cpp2ILInjected.Token(Token = "0x6001B46")]
16 [global::Cpp2ILInjected.Address(RVA = "0x1B1E874", Offset = "0x1B1E874", Length = "0xC0")]
17 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
18 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(X509Helper), Member = "InitFromCertificate", MemberParameters = new object[] { typeof(X509Certificate) }, ReturnType = typeof(X509CertificateImpl))]
19 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(X509Helper), Member = "Import", MemberParameters = new object[] { typeof(byte[]) }, ReturnType = typeof(X509CertificateImpl))]
20 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(X509Helper), Member = "Import", MemberParameters = new object[]
21 {
22 typeof(byte[]),
25 }, ReturnType = typeof(X509CertificateImpl))]
26 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
27 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::Mono.DependencyInjector), Member = "get_SystemProvider", ReturnType = typeof(global::Mono.ISystemDependencyProvider))]
28 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
29 get
30 {
31 throw null;
32 }
33 }
34
35 [global::Cpp2ILInjected.Token(Token = "0x6001B47")]
36 [global::Cpp2ILInjected.Address(RVA = "0x1B1D8BC", Offset = "0x1B1D8BC", Length = "0xA8")]
37 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
38 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(X509Certificate), Member = ".ctor", MemberParameters = new object[] { typeof(X509Certificate) }, ReturnType = typeof(void))]
39 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
40 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(X509Helper), Member = "get_CertificateProvider", ReturnType = typeof(global::Mono.ISystemCertificateProvider))]
41 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
43 {
44 throw null;
45 }
46
47 [global::Cpp2ILInjected.Token(Token = "0x6001B48")]
48 [global::Cpp2ILInjected.Address(RVA = "0x1B1D394", Offset = "0x1B1D394", Length = "0x14")]
49 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
50 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
52 {
53 throw null;
54 }
55
56 [global::Cpp2ILInjected.Token(Token = "0x6001B49")]
57 [global::Cpp2ILInjected.Address(RVA = "0x1B1E268", Offset = "0x1B1E268", Length = "0x14")]
58 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
59 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
60 public static bool IsValid(X509CertificateImpl impl)
61 {
62 throw null;
63 }
64
65 [global::Cpp2ILInjected.Token(Token = "0x6001B4A")]
66 [global::Cpp2ILInjected.Address(RVA = "0x1B1E4F4", Offset = "0x1B1E4F4", Length = "0x40")]
67 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
68 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(X509Certificate), Member = "get_Issuer", ReturnType = typeof(string))]
69 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(X509Certificate), Member = "get_Subject", ReturnType = typeof(string))]
70 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(X509Certificate), Member = "GetCertHash", ReturnType = typeof(byte[]))]
71 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(X509Certificate), Member = "GetCertHashString", ReturnType = typeof(string))]
72 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(X509Certificate), Member = "GetRawCertData", ReturnType = typeof(byte[]))]
73 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(X509Certificate), Member = "GetKeyAlgorithm", ReturnType = typeof(string))]
74 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(X509Certificate), Member = "GetKeyAlgorithmParameters", ReturnType = typeof(byte[]))]
75 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(X509Certificate), Member = "GetPublicKey", ReturnType = typeof(byte[]))]
76 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(X509Certificate), Member = "GetSerialNumber", ReturnType = typeof(byte[]))]
77 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(X509Certificate), Member = "GetSerialNumberString", ReturnType = typeof(string))]
78 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(X509Certificate), Member = "GetNotAfter", ReturnType = typeof(global::System.DateTime))]
79 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(X509Certificate), Member = "GetNotBefore", ReturnType = typeof(global::System.DateTime))]
80 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(X509Certificate), Member = "ThrowIfInvalid", ReturnType = typeof(void))]
81 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Security.Cryptography.X509Certificates.X509Certificate2", Member = "get_Impl", ReturnType = "System.Security.Cryptography.X509Certificates.X509Certificate2Impl")]
82 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 14)]
83 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(X509Helper), Member = "GetInvalidContextException", ReturnType = typeof(global::System.Exception))]
84 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
85 internal static void ThrowIfContextInvalid(X509CertificateImpl impl)
86 {
87 throw null;
88 }
89
90 [global::Cpp2ILInjected.Token(Token = "0x6001B4B")]
91 [global::Cpp2ILInjected.Address(RVA = "0x1B1E570", Offset = "0x1B1E570", Length = "0x80")]
92 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(X509CertificateImpl), Member = "ThrowIfContextInvalid", ReturnType = typeof(void))]
93 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(X509Helper), Member = "ThrowIfContextInvalid", MemberParameters = new object[] { typeof(X509CertificateImpl) }, ReturnType = typeof(void))]
94 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
95 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::Locale), Member = "GetText", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
96 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CryptographicException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
97 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
98 internal static global::System.Exception GetInvalidContextException()
99 {
100 throw null;
101 }
102
103 [global::Cpp2ILInjected.Token(Token = "0x6001B4C")]
104 [global::Cpp2ILInjected.Address(RVA = "0x1B1D24C", Offset = "0x1B1D24C", Length = "0xA4")]
105 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
106 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(X509Certificate), Member = ".ctor", MemberParameters = new object[] { typeof(byte[]) }, ReturnType = typeof(void))]
107 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
108 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(X509Helper), Member = "get_CertificateProvider", ReturnType = typeof(global::Mono.ISystemCertificateProvider))]
109 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
110 public static X509CertificateImpl Import(byte[] rawData)
111 {
112 throw null;
113 }
114
115 [global::Cpp2ILInjected.Token(Token = "0x6001B4D")]
116 [global::Cpp2ILInjected.Address(RVA = "0x1B1D720", Offset = "0x1B1D720", Length = "0xC0")]
117 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
118 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(X509Certificate), Member = ".ctor", MemberParameters = new object[]
119 {
120 typeof(string),
121 typeof(string),
123 }, ReturnType = typeof(void))]
124 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Security.Cryptography.X509Certificates.X509Certificate2", Member = ".ctor", MemberParameters = new object[] { "System.Byte[]" }, ReturnType = typeof(void))]
125 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
126 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(X509Helper), Member = "get_CertificateProvider", ReturnType = typeof(global::Mono.ISystemCertificateProvider))]
127 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
132 }
133}
class f__AnonymousType0<< Count > j__TPar
static X509CertificateImpl InitFromCertificate(X509CertificateImpl impl)
Definition X509Helper.cs:51
static bool IsValid(X509CertificateImpl impl)
Definition X509Helper.cs:60
static X509CertificateImpl Import(byte[] rawData, Microsoft.Win32.SafeHandles.SafePasswordHandle password, X509KeyStorageFlags keyStorageFlags)
static X509CertificateImpl Import(byte[] rawData)
static global::Mono.ISystemCertificateProvider CertificateProvider
Definition X509Helper.cs:14
static X509CertificateImpl InitFromCertificate(X509Certificate cert)
Definition X509Helper.cs:42
static global::System.Exception GetInvalidContextException()
Definition X509Helper.cs:98
static void ThrowIfContextInvalid(X509CertificateImpl impl)
Definition X509Helper.cs:85