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
CryptoConfig.cs
Go to the documentation of this file.
1using System;
8
10{
11 [global::System.Runtime.InteropServices.ComVisible(true)]
12 [global::Cpp2ILInjected.Token(Token = "0x200030F")]
13 public class CryptoConfig
14 {
15 [global::Cpp2ILInjected.Token(Token = "0x6001A77")]
16 [global::Cpp2ILInjected.Address(RVA = "0x1B1301C", Offset = "0x1B1301C", Length = "0x38")]
17 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
18 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.PlatformNotSupportedException), Member = ".ctor", ReturnType = typeof(void))]
19 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
20 public static void AddOID(string oid, params string[] names)
21 {
22 throw null;
23 }
24
25 [global::Cpp2ILInjected.Token(Token = "0x6001A78")]
26 [global::Cpp2ILInjected.Address(RVA = "0x1B071F4", Offset = "0x1B071F4", Length = "0x58")]
27 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Aes), Member = "Create", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(Aes))]
28 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AsymmetricAlgorithm), Member = "Create", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(AsymmetricAlgorithm))]
29 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DES), Member = "Create", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(DES))]
30 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DSA), Member = "Create", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(DSA))]
31 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(HMAC), Member = "Create", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(HMAC))]
32 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(KeyedHashAlgorithm), Member = "Create", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(KeyedHashAlgorithm))]
33 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MD5), Member = "Create", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(MD5))]
34 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PasswordDeriveBytes), Member = "set_HashName", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
35 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RandomNumberGenerator), Member = "Create", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(RandomNumberGenerator))]
36 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RC2), Member = "Create", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(RC2))]
37 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Rijndael), Member = "Create", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(Rijndael))]
38 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RIPEMD160), Member = "Create", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(RIPEMD160))]
39 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RSA), Member = "Create", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(RSA))]
40 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SHA1), Member = "Create", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(SHA1))]
41 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SHA256), Member = "Create", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(SHA256))]
42 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SHA384), Member = "Create", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(SHA384))]
43 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SHA512), Member = "Create", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(SHA512))]
44 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SignatureDescription), Member = "CreateDeformatter", MemberParameters = new object[] { typeof(AsymmetricAlgorithm) }, ReturnType = typeof(AsymmetricSignatureDeformatter))]
45 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SignatureDescription), Member = "CreateFormatter", MemberParameters = new object[] { typeof(AsymmetricAlgorithm) }, ReturnType = typeof(AsymmetricSignatureFormatter))]
46 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SignatureDescription), Member = "CreateDigest", ReturnType = typeof(HashAlgorithm))]
47 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SymmetricAlgorithm), Member = "Create", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(SymmetricAlgorithm))]
48 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TripleDES), Member = "Create", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(TripleDES))]
49 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CryptoConfigForwarder), Member = "CreateFromName", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(object))]
50 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 23)]
51 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CryptoConfig), Member = "CreateFromName", MemberParameters = new object[]
52 {
53 typeof(string),
54 typeof(object[])
55 }, ReturnType = typeof(object))]
56 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
57 public static object CreateFromName(string name)
58 {
59 throw null;
60 }
61
62 [global::Cpp2ILInjected.Token(Token = "0x6001A79")]
63 [global::Cpp2ILInjected.Address(RVA = "0x1B13054", Offset = "0x1B13054", Length = "0x1EA0")]
64 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
65 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CryptoConfig), Member = "CreateFromName", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(object))]
66 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
67 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "ToLowerInvariant", ReturnType = typeof(string))]
68 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::<PrivateImplementationDetails>), Member = "ComputeStringHash", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(uint))]
69 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "op_Equality", MemberParameters = new object[]
70 {
71 typeof(string),
72 typeof(string)
73 }, ReturnType = typeof(bool))]
74 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DSASignatureFormatter), Member = ".ctor", ReturnType = typeof(void))]
75 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Type), Member = "op_Equality", MemberParameters = new object[]
76 {
77 typeof(global::System.Type),
78 typeof(global::System.Type)
79 }, ReturnType = typeof(bool))]
80 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.Monitor), Member = "Enter", MemberParameters = new object[]
81 {
82 typeof(object),
83 typeof(ref bool)
84 }, ReturnType = typeof(void))]
85 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Collections.Generic.Dictionary<object, object>), Member = "TryGetValue", MemberParameters = new object[]
86 {
87 typeof(object),
88 typeof(ref object)
89 }, ReturnType = typeof(bool))]
90 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Activator), Member = "CreateInstance", MemberParameters = new object[]
91 {
92 typeof(global::System.Type),
93 typeof(object[])
94 }, ReturnType = typeof(object))]
95 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AsymmetricAlgorithm), Member = ".ctor", ReturnType = typeof(void))]
96 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RSACryptoServiceProvider), Member = "Common", MemberParameters = new object[]
97 {
98 typeof(int),
99 typeof(bool)
100 }, ReturnType = typeof(void))]
101 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RSAPKCS1SHA256SignatureDescription), Member = ".ctor", ReturnType = typeof(void))]
102 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RC2CryptoServiceProvider), Member = ".ctor", ReturnType = typeof(void))]
103 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RSAPKCS1SHA1SignatureDescription), Member = ".ctor", ReturnType = typeof(void))]
104 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DSASignatureDeformatter), Member = ".ctor", ReturnType = typeof(void))]
105 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SHA1Managed), Member = ".ctor", ReturnType = typeof(void))]
106 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RIPEMD160Managed), Member = ".ctor", ReturnType = typeof(void))]
107 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DESCryptoServiceProvider), Member = ".ctor", ReturnType = typeof(void))]
108 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DSASignatureDescription), Member = ".ctor", ReturnType = typeof(void))]
109 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HMACSHA512), Member = ".ctor", ReturnType = typeof(void))]
110 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MACTripleDES), Member = ".ctor", ReturnType = typeof(void))]
111 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HMACSHA1), Member = ".ctor", ReturnType = typeof(void))]
112 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SHA1CryptoServiceProvider), Member = ".ctor", ReturnType = typeof(void))]
113 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SHA256Managed), Member = ".ctor", ReturnType = typeof(void))]
114 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RijndaelManaged), Member = ".ctor", ReturnType = typeof(void))]
115 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RSAPKCS1SHA384SignatureDescription), Member = ".ctor", ReturnType = typeof(void))]
116 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HMACSHA384), Member = ".ctor", ReturnType = typeof(void))]
117 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RSAPKCS1SHA512SignatureDescription), Member = ".ctor", ReturnType = typeof(void))]
118 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RNGCryptoServiceProvider), Member = ".ctor", ReturnType = typeof(void))]
119 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HMACMD5), Member = ".ctor", ReturnType = typeof(void))]
120 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RSAPKCS1SignatureFormatter), Member = ".ctor", ReturnType = typeof(void))]
121 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DSA), Member = ".ctor", ReturnType = typeof(void))]
122 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DSACryptoServiceProvider), Member = "Common", MemberParameters = new object[]
123 {
124 typeof(int),
125 typeof(bool)
126 }, ReturnType = typeof(void))]
127 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MD5CryptoServiceProvider), Member = ".ctor", ReturnType = typeof(void))]
128 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RSAPKCS1SignatureDeformatter), Member = ".ctor", ReturnType = typeof(void))]
129 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SHA512Managed), Member = ".ctor", ReturnType = typeof(void))]
130 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TripleDESCryptoServiceProvider), Member = ".ctor", ReturnType = typeof(void))]
131 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HMACRIPEMD160), Member = ".ctor", ReturnType = typeof(void))]
132 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HMACSHA256), Member = ".ctor", ReturnType = typeof(void))]
133 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SHA384Managed), Member = ".ctor", ReturnType = typeof(void))]
134 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
135 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.Monitor), Member = "Exit", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
136 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 204)]
137 public static object CreateFromName(string name, params object[] args)
138 {
139 throw null;
140 }
141
142 [global::Cpp2ILInjected.Token(Token = "0x6001A7A")]
143 [global::Cpp2ILInjected.Address(RVA = "0x1B14FC8", Offset = "0x1B14FC8", Length = "0x54")]
144 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
145 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
146 internal static string MapNameToOID(string name, object arg)
147 {
148 throw null;
149 }
150
151 [global::Cpp2ILInjected.Token(Token = "0x6001A7B")]
152 [global::Cpp2ILInjected.Address(RVA = "0x1B1501C", Offset = "0x1B1501C", Length = "0x7B0")]
153 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
154 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Mono.Security.Cryptography.PKCS1), Member = "Encode_v15", MemberParameters = new object[]
155 {
156 typeof(HashAlgorithm),
157 typeof(byte[]),
158 typeof(int)
159 }, ReturnType = typeof(byte[]))]
160 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DSASignatureDeformatter), Member = ".ctor", ReturnType = typeof(void))]
161 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DSASignatureDeformatter), Member = "SetHashAlgorithm", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
162 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DSASignatureFormatter), Member = ".ctor", ReturnType = typeof(void))]
163 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DSASignatureFormatter), Member = "SetHashAlgorithm", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
164 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Mono.Security.Cryptography.PKCS1", Member = "Encode_v15", MemberParameters = new object[]
165 {
167 "System.Byte[]",
168 typeof(int)
169 }, ReturnType = "System.Byte[]")]
170 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Mono.Security.Authenticode.AuthenticodeDeformatter", Member = "VerifySignature", MemberParameters = new object[]
171 {
172 "Mono.Security.PKCS7.SignedData",
173 "System.Byte[]",
175 }, ReturnType = typeof(bool))]
176 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 7)]
177 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "ToLowerInvariant", ReturnType = typeof(string))]
178 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::<PrivateImplementationDetails>), Member = "ComputeStringHash", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(uint))]
179 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "op_Equality", MemberParameters = new object[]
180 {
181 typeof(string),
182 typeof(string)
183 }, ReturnType = typeof(bool))]
184 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
185 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 45)]
186 public static string MapNameToOID(string name)
187 {
188 throw null;
189 }
190
191 [global::Cpp2ILInjected.Token(Token = "0x6001A7C")]
192 [global::Cpp2ILInjected.Address(RVA = "0x1B157CC", Offset = "0x1B157CC", Length = "0x100")]
193 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CryptoConfig), Member = "AddAlgorithm", MemberParameters = new object[]
194 {
195 typeof(global::System.Type),
196 typeof(string[])
197 }, ReturnType = typeof(void))]
198 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
199 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Collections.Generic.Dictionary<object, object>), Member = ".ctor", MemberParameters = new object[] { typeof(global::System.Collections.Generic.IEqualityComparer<object>) }, ReturnType = typeof(void))]
200 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
201 private static void Initialize()
202 {
203 throw null;
204 }
205
206 [global::Cpp2ILInjected.Token(Token = "0x6001A7D")]
207 [global::Cpp2ILInjected.Address(RVA = "0x1B158CC", Offset = "0x1B158CC", Length = "0x354")]
208 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
209 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
210 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Type), Member = "op_Equality", MemberParameters = new object[]
211 {
212 typeof(global::System.Type),
213 typeof(global::System.Type)
214 }, ReturnType = typeof(bool))]
215 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Type), Member = "get_IsVisible", ReturnType = typeof(bool))]
216 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Array), Member = "Copy", MemberParameters = new object[]
217 {
218 typeof(global::System.Array),
219 typeof(global::System.Array),
220 typeof(int)
221 }, ReturnType = typeof(void))]
222 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "IsNullOrEmpty", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
223 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.Monitor), Member = "Enter", MemberParameters = new object[]
224 {
225 typeof(object),
226 typeof(ref bool)
227 }, ReturnType = typeof(void))]
228 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CryptoConfig), Member = "Initialize", ReturnType = typeof(void))]
229 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Collections.Generic.Dictionary<object, object>), Member = "set_Item", MemberParameters = new object[]
230 {
231 typeof(object),
232 typeof(object)
233 }, ReturnType = typeof(void))]
234 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.Monitor), Member = "Exit", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
235 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
236 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentException), Member = ".ctor", MemberParameters = new object[]
237 {
238 typeof(string),
239 typeof(string)
240 }, ReturnType = typeof(void))]
241 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
242 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 30)]
243 public static void AddAlgorithm(global::System.Type algorithm, params string[] names)
244 {
245 throw null;
246 }
247
248 [global::Cpp2ILInjected.Token(Token = "0x6001A7E")]
249 [global::Cpp2ILInjected.Address(RVA = "0x1B15C20", Offset = "0x1B15C20", Length = "0x380")]
250 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
251 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Mono.Security.Cryptography.PKCS1), Member = "Encode_v15", MemberParameters = new object[]
252 {
253 typeof(HashAlgorithm),
254 typeof(byte[]),
255 typeof(int)
256 }, ReturnType = typeof(byte[]))]
257 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Security.Cryptography.X509Certificates.X509Certificate2Collection", Member = "Find", MemberParameters = new object[]
258 {
259 "System.Security.Cryptography.X509Certificates.X509FindType",
260 typeof(object),
261 typeof(bool)
262 }, ReturnType = "System.Security.Cryptography.X509Certificates.X509Certificate2Collection")]
263 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierExtension", Member = ".ctor", MemberParameters = new object[]
264 {
265 "System.Security.Cryptography.X509Certificates.PublicKey",
266 "System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierHashAlgorithm",
267 typeof(bool)
268 }, ReturnType = typeof(void))]
269 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Mono.Security.ASN1Convert", Member = "FromOid", MemberParameters = new object[] { typeof(string) }, ReturnType = "Mono.Security.ASN1")]
270 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Mono.Security.Cryptography.PKCS1", Member = "Encode_v15", MemberParameters = new object[]
271 {
272 typeof(HashAlgorithm),
273 "System.Byte[]",
274 typeof(int)
275 }, ReturnType = "System.Byte[]")]
276 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 5)]
277 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Split", MemberParameters = new object[] { typeof(char[]) }, ReturnType = typeof(string[]))]
278 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Convert), Member = "ToByte", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(byte))]
279 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Convert), Member = "ToByte", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(byte))]
280 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Convert), Member = "ToInt64", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(long))]
281 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Convert), Member = "ToByte", MemberParameters = new object[] { typeof(long) }, ReturnType = typeof(byte))]
282 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CryptoConfig), Member = "EncodeLongNumber", MemberParameters = new object[] { typeof(long) }, ReturnType = typeof(byte[]))]
283 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Buffer), Member = "BlockCopy", MemberParameters = new object[]
284 {
285 typeof(global::System.Array),
286 typeof(int),
287 typeof(global::System.Array),
288 typeof(int),
289 typeof(int)
290 }, ReturnType = typeof(void))]
291 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
292 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::Locale), Member = "GetText", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
293 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CryptographicUnexpectedOperationException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
294 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 31)]
295 public static byte[] EncodeOID(string str)
296 {
297 throw null;
298 }
299
300 [global::Cpp2ILInjected.Token(Token = "0x6001A7F")]
301 [global::Cpp2ILInjected.Address(RVA = "0x1B15FA0", Offset = "0x1B15FA0", Length = "0x170")]
302 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
303 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CryptoConfig), Member = "EncodeOID", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(byte[]))]
304 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
305 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Convert), Member = "ToByte", MemberParameters = new object[] { typeof(long) }, ReturnType = typeof(byte))]
306 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::Locale), Member = "GetText", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
307 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.OverflowException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
308 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
309 private static byte[] EncodeLongNumber(long x)
310 {
311 throw null;
312 }
313
314 [global::System.MonoLimitation("nothing is FIPS certified so it never make sense to restrict to this (empty) subset")]
315 [global::Cpp2ILInjected.Token(Token = "0x170002E2")]
316 public static bool AllowOnlyFipsAlgorithms
317 {
318 [global::Cpp2ILInjected.Token(Token = "0x6001A80")]
319 [global::Cpp2ILInjected.Address(RVA = "0x1B0D68C", Offset = "0x1B0D68C", Length = "0x8")]
320 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(HMAC), Member = "GetHashAlgorithmWithFipsFallback", MemberParameters = new object[]
321 {
322 typeof(global::System.Func<HashAlgorithm>),
323 typeof(global::System.Func<HashAlgorithm>)
324 }, ReturnType = typeof(HashAlgorithm))]
325 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RC2CryptoServiceProvider), Member = ".ctor", ReturnType = typeof(void))]
326 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RijndaelManaged), Member = ".ctor", ReturnType = typeof(void))]
327 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RIPEMD160Managed), Member = ".ctor", ReturnType = typeof(void))]
328 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Security.Cryptography.AesManaged", Member = ".ctor", ReturnType = typeof(void))]
329 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 5)]
330 get
331 {
332 throw null;
333 }
334 }
335
336 [global::Cpp2ILInjected.Token(Token = "0x6001A81")]
337 [global::Cpp2ILInjected.Address(RVA = "0x1B16110", Offset = "0x1B16110", Length = "0x8")]
338 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
339 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
341 {
342 throw null;
343 }
344
345 // Note: this type is marked as 'beforefieldinit'.
346 [global::Cpp2ILInjected.Token(Token = "0x6001A82")]
347 [global::Cpp2ILInjected.Address(RVA = "0x1B16118", Offset = "0x1B16118", Length = "0x70")]
348 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
349 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
350 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
352 {
353 throw null;
354 }
355
356 [global::Cpp2ILInjected.Token(Token = "0x4000D81")]
357 private static readonly object lockObject;
358
359 [global::Cpp2ILInjected.Token(Token = "0x4000D82")]
360 private static global::System.Collections.Generic.Dictionary<string, global::System.Type> algorithms;
361 }
362}
class f__AnonymousType0<< Count > j__TPar
static void AddOID(string oid, params string[] names)
static global::System.Collections.Generic.Dictionary< string, global::System.Type > algorithms
static void AddAlgorithm(global::System.Type algorithm, params string[] names)
static object CreateFromName(string name, params object[] args)
static object CreateFromName(string name)
static string MapNameToOID(string name)
static string MapNameToOID(string name, object arg)