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
PublicKey.cs
Go to the documentation of this file.
1using System;
4using Mono.Security;
5
7{
8 [global::Cpp2ILInjected.Token(Token = "0x2000102")]
9 public sealed class PublicKey
10 {
11 [global::Cpp2ILInjected.Token(Token = "0x600059B")]
12 [global::Cpp2ILInjected.Address(RVA = "0x1ED059C", Offset = "0x1ED059C", Length = "0x158")]
13 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(X509Certificate2), Member = "get_PublicKey", ReturnType = typeof(PublicKey))]
14 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
15 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
16 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Oid), Member = ".ctor", MemberParameters = new object[] { typeof(Oid) }, ReturnType = typeof(void))]
17 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AsnEncodedData), Member = ".ctor", MemberParameters = new object[] { typeof(AsnEncodedData) }, ReturnType = typeof(void))]
18 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
19 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 14)]
21 {
22 throw null;
23 }
24
25 [global::Cpp2ILInjected.Token(Token = "0x17000112")]
27 {
28 [global::Cpp2ILInjected.Token(Token = "0x600059C")]
29 [global::Cpp2ILInjected.Address(RVA = "0x1ED06F4", Offset = "0x1ED06F4", Length = "0x8")]
30 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
31 get
32 {
33 throw null;
34 }
35 }
36
37 [global::Cpp2ILInjected.Token(Token = "0x17000113")]
39 {
40 [global::Cpp2ILInjected.Token(Token = "0x600059D")]
41 [global::Cpp2ILInjected.Address(RVA = "0x1ED06FC", Offset = "0x1ED06FC", Length = "0x8")]
42 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
43 get
44 {
45 throw null;
46 }
47 }
48
49 [global::Cpp2ILInjected.Token(Token = "0x17000114")]
51 {
52 [global::Cpp2ILInjected.Token(Token = "0x600059E")]
53 [global::Cpp2ILInjected.Address(RVA = "0x1ED0704", Offset = "0x1ED0704", Length = "0x164")]
54 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(X509ChainImplMono), Member = "ValidateChain", MemberParameters = new object[] { typeof(X509ChainStatusFlags) }, ReturnType = typeof(void))]
55 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(X509ChainImplMono), Member = "Process", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
56 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(X509ChainImplMono), Member = "PrepareForNextCertificate", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
57 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(X509ChainImplMono), Member = "CheckRevocation", MemberParameters = new object[]
58 {
61 typeof(bool)
62 }, ReturnType = typeof(X509ChainStatusFlags))]
63 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RSACertificateExtensions), Member = "GetRSAPublicKey", MemberParameters = new object[] { typeof(X509Certificate2) }, ReturnType = typeof(RSA))]
64 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 5)]
65 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "op_Equality", MemberParameters = new object[]
66 {
67 typeof(string),
68 typeof(string)
69 }, ReturnType = typeof(bool))]
70 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PublicKey), Member = "DecodeDSA", MemberParameters = new object[]
71 {
72 typeof(byte[]),
73 typeof(byte[])
74 }, ReturnType = typeof(DSA))]
75 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = "Locale", Member = "GetText", MemberParameters = new object[]
76 {
77 typeof(string),
78 typeof(object[])
79 }, ReturnType = typeof(string))]
80 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NotSupportedException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
81 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 13)]
82 get
83 {
84 throw null;
85 }
86 }
87
88 [global::Cpp2ILInjected.Token(Token = "0x17000115")]
89 public Oid Oid
90 {
91 [global::Cpp2ILInjected.Token(Token = "0x600059F")]
92 [global::Cpp2ILInjected.Address(RVA = "0x1ED0FF4", Offset = "0x1ED0FF4", Length = "0x8")]
93 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
94 get
95 {
96 throw null;
97 }
98 }
99
100 [global::Cpp2ILInjected.Token(Token = "0x60005A0")]
101 [global::Cpp2ILInjected.Address(RVA = "0x1ED0FFC", Offset = "0x1ED0FFC", Length = "0x84")]
102 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PublicKey), Member = "DecodeDSA", MemberParameters = new object[]
103 {
104 typeof(byte[]),
105 typeof(byte[])
106 }, ReturnType = typeof(DSA))]
107 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PublicKey), Member = "DecodeRSA", MemberParameters = new object[] { typeof(byte[]) }, ReturnType = typeof(RSA))]
108 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 5)]
109 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Buffer), Member = "BlockCopy", MemberParameters = new object[]
110 {
111 typeof(Array),
112 typeof(int),
113 typeof(Array),
114 typeof(int),
115 typeof(int)
116 }, ReturnType = typeof(void))]
117 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
118 private static byte[] GetUnsignedBigInteger(byte[] integer)
119 {
120 throw null;
121 }
122
123 [global::Cpp2ILInjected.Token(Token = "0x60005A1")]
124 [global::Cpp2ILInjected.Address(RVA = "0x1ED0BC4", Offset = "0x1ED0BC4", Length = "0x430")]
125 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
126 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PublicKey), Member = "get_Key", ReturnType = typeof(AsymmetricAlgorithm))]
127 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
128 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ASN1), Member = ".ctor", MemberParameters = new object[] { typeof(byte[]) }, ReturnType = typeof(void))]
129 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ASN1), Member = "get_Value", ReturnType = typeof(byte[]))]
130 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PublicKey), Member = "GetUnsignedBigInteger", MemberParameters = new object[] { typeof(byte[]) }, ReturnType = typeof(byte[]))]
131 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ASN1), Member = "get_Count", ReturnType = typeof(int))]
132 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ASN1), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(ASN1))]
133 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DSACryptoServiceProvider), Member = ".ctor", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
134 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = "Locale", Member = "GetText", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
135 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CryptographicException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
136 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CryptographicException), Member = ".ctor", MemberParameters = new object[]
137 {
138 typeof(string),
140 }, ReturnType = typeof(void))]
141 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 37)]
142 internal static DSA DecodeDSA(byte[] rawPublicKey, byte[] rawParameters)
143 {
144 throw null;
145 }
146
147 [global::Cpp2ILInjected.Token(Token = "0x60005A2")]
148 [global::Cpp2ILInjected.Address(RVA = "0x1ED0868", Offset = "0x1ED0868", Length = "0x35C")]
149 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
150 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
151 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ASN1), Member = ".ctor", MemberParameters = new object[] { typeof(byte[]) }, ReturnType = typeof(void))]
152 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ASN1), Member = "get_Count", ReturnType = typeof(int))]
153 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ASN1), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(ASN1))]
154 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ASN1), Member = "get_Value", ReturnType = typeof(byte[]))]
155 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PublicKey), Member = "GetUnsignedBigInteger", MemberParameters = new object[] { typeof(byte[]) }, ReturnType = typeof(byte[]))]
156 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RSACryptoServiceProvider), Member = ".ctor", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
157 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = "Locale", Member = "GetText", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
158 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CryptographicException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
159 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CryptographicException), Member = ".ctor", MemberParameters = new object[]
160 {
161 typeof(string),
163 }, ReturnType = typeof(void))]
164 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 35)]
165 internal static RSA DecodeRSA(byte[] rawPublicKey)
166 {
167 throw null;
168 }
169
170 // Note: this type is marked as 'beforefieldinit'.
171 [global::Cpp2ILInjected.Token(Token = "0x60005A3")]
172 [global::Cpp2ILInjected.Address(RVA = "0x1ED1080", Offset = "0x1ED1080", Length = "0x68")]
173 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
174 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
175 static PublicKey()
176 {
177 throw null;
178 }
179
180 [global::Cpp2ILInjected.Token(Token = "0x40004E9")]
181 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
183
184 [global::Cpp2ILInjected.Token(Token = "0x40004EA")]
185 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
187
188 [global::Cpp2ILInjected.Token(Token = "0x40004EB")]
189 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
190 private Oid _oid;
191
192 [global::Cpp2ILInjected.Token(Token = "0x40004EC")]
193 private static byte[] Empty;
194 }
195}
class f__AnonymousType0<< Count > j__TPar
static DSA DecodeDSA(byte[] rawPublicKey, byte[] rawParameters)
Definition PublicKey.cs:142
PublicKey(Oid oid, AsnEncodedData parameters, AsnEncodedData keyValue)
Definition PublicKey.cs:20
static byte[] GetUnsignedBigInteger(byte[] integer)
Definition PublicKey.cs:118