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
RSA.cs
Go to the documentation of this file.
1using System;
2using System.IO;
5using System.Text;
9
11{
12 [global::System.Runtime.InteropServices.ComVisible(true)]
13 [global::Cpp2ILInjected.Token(Token = "0x20002F3")]
14 public abstract class RSA : AsymmetricAlgorithm
15 {
16 [global::Cpp2ILInjected.Token(Token = "0x6001950")]
17 [global::Cpp2ILInjected.Address(RVA = "0x1B070B4", Offset = "0x1B070B4", Length = "0x8")]
18 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Mono.Security.Cryptography.RSAManaged), Member = ".ctor", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
19 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Mono.Security.Cryptography.RSAManaged", Member = ".ctor", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
20 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
21 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AsymmetricAlgorithm), Member = ".ctor", ReturnType = typeof(void))]
22 protected RSA()
23 {
24 throw null;
25 }
26
27 [global::Cpp2ILInjected.Token(Token = "0x6001951")]
28 [global::Cpp2ILInjected.Address(RVA = "0x1B070BC", Offset = "0x1B070BC", Length = "0x6C")]
29 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Mono.Security.Cryptography.CryptoConvert), Member = "FromCapiPrivateKeyBlob", MemberParameters = new object[]
30 {
31 typeof(byte[]),
32 typeof(int)
33 }, ReturnType = typeof(RSA))]
34 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Mono.Security.Cryptography.CryptoConvert), Member = "FromCapiPublicKeyBlob", MemberParameters = new object[]
35 {
36 typeof(byte[]),
37 typeof(int)
38 }, ReturnType = typeof(RSA))]
39 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RSA), Member = "Create", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(RSA))]
40 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RSA), Member = "Create", MemberParameters = new object[] { typeof(RSAParameters) }, ReturnType = typeof(RSA))]
41 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Mono.Security.Cryptography.CryptoConvert", Member = "FromCapiPrivateKeyBlob", MemberParameters = new object[]
42 {
43 "System.Byte[]",
44 typeof(int)
45 }, ReturnType = typeof(RSA))]
46 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Mono.Security.Cryptography.PKCS8.PrivateKeyInfo", Member = "DecodeRSA", MemberParameters = new object[] { "System.Byte[]" }, ReturnType = typeof(RSA))]
47 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 6)]
48 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AsymmetricAlgorithm), Member = ".ctor", ReturnType = typeof(void))]
49 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RSACryptoServiceProvider), Member = "Common", MemberParameters = new object[]
50 {
51 typeof(int),
52 typeof(bool)
53 }, ReturnType = typeof(void))]
54 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
55 public new static RSA Create()
56 {
57 throw null;
58 }
59
60 [global::Cpp2ILInjected.Token(Token = "0x6001952")]
61 [global::Cpp2ILInjected.Address(RVA = "0x1B07154", Offset = "0x1B07154", Length = "0xA0")]
62 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
63 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
64 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CryptoConfig), Member = "CreateFromName", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(object))]
65 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
66 public new static RSA Create(string algName)
67 {
68 throw null;
69 }
70
71 [global::Cpp2ILInjected.Token(Token = "0x6001953")]
72 [global::Cpp2ILInjected.Address(RVA = "0x1B0724C", Offset = "0x1B0724C", Length = "0x24")]
73 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
74 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RSA), Member = "DerivedClassMustOverride", ReturnType = typeof(global::System.Exception))]
75 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
76 public virtual byte[] Encrypt(byte[] data, RSAEncryptionPadding padding)
77 {
78 throw null;
79 }
80
81 [global::Cpp2ILInjected.Token(Token = "0x6001954")]
82 [global::Cpp2ILInjected.Address(RVA = "0x1B072F0", Offset = "0x1B072F0", Length = "0x24")]
83 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
84 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RSA), Member = "DerivedClassMustOverride", ReturnType = typeof(global::System.Exception))]
85 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
86 public virtual byte[] Decrypt(byte[] data, RSAEncryptionPadding padding)
87 {
88 throw null;
89 }
90
91 [global::Cpp2ILInjected.Token(Token = "0x6001955")]
92 [global::Cpp2ILInjected.Address(RVA = "0x1B07314", Offset = "0x1B07314", Length = "0x24")]
93 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
94 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RSA), Member = "DerivedClassMustOverride", ReturnType = typeof(global::System.Exception))]
95 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
96 public virtual byte[] SignHash(byte[] hash, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
97 {
98 throw null;
99 }
100
101 [global::Cpp2ILInjected.Token(Token = "0x6001956")]
102 [global::Cpp2ILInjected.Address(RVA = "0x1B07338", Offset = "0x1B07338", Length = "0x24")]
103 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
104 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RSA), Member = "DerivedClassMustOverride", ReturnType = typeof(global::System.Exception))]
105 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
106 public virtual bool VerifyHash(byte[] hash, byte[] signature, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
107 {
108 throw null;
109 }
110
111 [global::Cpp2ILInjected.Token(Token = "0x6001957")]
112 [global::Cpp2ILInjected.Address(RVA = "0x1B0735C", Offset = "0x1B0735C", Length = "0x24")]
113 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
114 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RSA), Member = "DerivedClassMustOverride", ReturnType = typeof(global::System.Exception))]
115 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
116 protected virtual byte[] HashData(byte[] data, int offset, int count, HashAlgorithmName hashAlgorithm)
117 {
118 throw null;
119 }
120
121 [global::Cpp2ILInjected.Token(Token = "0x6001958")]
122 [global::Cpp2ILInjected.Address(RVA = "0x1B07380", Offset = "0x1B07380", Length = "0x24")]
123 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
124 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RSA), Member = "DerivedClassMustOverride", ReturnType = typeof(global::System.Exception))]
125 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
126 protected virtual byte[] HashData(global::System.IO.Stream data, HashAlgorithmName hashAlgorithm)
127 {
128 throw null;
129 }
130
131 [global::Cpp2ILInjected.Token(Token = "0x6001959")]
132 [global::Cpp2ILInjected.Address(RVA = "0x1B073A4", Offset = "0x1B073A4", Length = "0x74")]
133 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
134 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
135 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
136 public byte[] SignData(byte[] data, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
137 {
138 throw null;
139 }
140
141 [global::Cpp2ILInjected.Token(Token = "0x600195A")]
142 [global::Cpp2ILInjected.Address(RVA = "0x1B07418", Offset = "0x1B07418", Length = "0x1C0")]
143 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
144 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
145 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "IsNullOrEmpty", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
146 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RSASignaturePadding), Member = "op_Equality", MemberParameters = new object[]
147 {
148 typeof(RSASignaturePadding),
149 typeof(RSASignaturePadding)
150 }, ReturnType = typeof(bool))]
151 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
152 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RSA), Member = "HashAlgorithmNameNullOrEmpty", ReturnType = typeof(global::System.Exception))]
153 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
154 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 15)]
155 public virtual byte[] SignData(byte[] data, int offset, int count, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
156 {
157 throw null;
158 }
159
160 [global::Cpp2ILInjected.Token(Token = "0x600195B")]
161 [global::Cpp2ILInjected.Address(RVA = "0x1B07678", Offset = "0x1B07678", Length = "0x138")]
162 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
163 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
164 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "IsNullOrEmpty", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
165 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RSASignaturePadding), Member = "op_Equality", MemberParameters = new object[]
166 {
167 typeof(RSASignaturePadding),
168 typeof(RSASignaturePadding)
169 }, ReturnType = typeof(bool))]
170 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RSA), Member = "HashAlgorithmNameNullOrEmpty", ReturnType = typeof(global::System.Exception))]
171 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
172 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
173 public virtual byte[] SignData(global::System.IO.Stream data, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
174 {
175 throw null;
176 }
177
178 [global::Cpp2ILInjected.Token(Token = "0x600195C")]
179 [global::Cpp2ILInjected.Address(RVA = "0x1B077B0", Offset = "0x1B077B0", Length = "0x78")]
180 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
181 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
182 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
183 public bool VerifyData(byte[] data, byte[] signature, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
184 {
185 throw null;
186 }
187
188 [global::Cpp2ILInjected.Token(Token = "0x600195D")]
189 [global::Cpp2ILInjected.Address(RVA = "0x1B07828", Offset = "0x1B07828", Length = "0x1F4")]
190 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
191 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
192 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "IsNullOrEmpty", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
193 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RSASignaturePadding), Member = "op_Equality", MemberParameters = new object[]
194 {
195 typeof(RSASignaturePadding),
196 typeof(RSASignaturePadding)
197 }, ReturnType = typeof(bool))]
198 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
199 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RSA), Member = "HashAlgorithmNameNullOrEmpty", ReturnType = typeof(global::System.Exception))]
200 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
201 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 17)]
202 public virtual bool VerifyData(byte[] data, int offset, int count, byte[] signature, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
203 {
204 throw null;
205 }
206
207 [global::Cpp2ILInjected.Token(Token = "0x600195E")]
208 [global::Cpp2ILInjected.Address(RVA = "0x1B07A1C", Offset = "0x1B07A1C", Length = "0x16C")]
209 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
210 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
211 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "IsNullOrEmpty", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
212 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RSASignaturePadding), Member = "op_Equality", MemberParameters = new object[]
213 {
214 typeof(RSASignaturePadding),
215 typeof(RSASignaturePadding)
216 }, ReturnType = typeof(bool))]
217 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RSA), Member = "HashAlgorithmNameNullOrEmpty", ReturnType = typeof(global::System.Exception))]
218 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
219 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 12)]
220 public bool VerifyData(global::System.IO.Stream data, byte[] signature, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
221 {
222 throw null;
223 }
224
225 [global::Cpp2ILInjected.Token(Token = "0x600195F")]
226 [global::Cpp2ILInjected.Address(RVA = "0x1B07270", Offset = "0x1B07270", Length = "0x80")]
227 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RSA), Member = "Encrypt", MemberParameters = new object[]
228 {
229 typeof(byte[]),
231 }, ReturnType = typeof(byte[]))]
232 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RSA), Member = "Decrypt", MemberParameters = new object[]
233 {
234 typeof(byte[]),
235 typeof(RSAEncryptionPadding)
236 }, ReturnType = typeof(byte[]))]
237 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RSA), Member = "SignHash", MemberParameters = new object[]
238 {
239 typeof(byte[]),
240 typeof(HashAlgorithmName),
241 typeof(RSASignaturePadding)
242 }, ReturnType = typeof(byte[]))]
243 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RSA), Member = "VerifyHash", MemberParameters = new object[]
244 {
245 typeof(byte[]),
246 typeof(byte[]),
247 typeof(HashAlgorithmName),
248 typeof(RSASignaturePadding)
249 }, ReturnType = typeof(bool))]
250 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RSA), Member = "HashData", MemberParameters = new object[]
251 {
252 typeof(byte[]),
253 typeof(int),
254 typeof(int),
255 typeof(HashAlgorithmName)
256 }, ReturnType = typeof(byte[]))]
257 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RSA), Member = "HashData", MemberParameters = new object[]
258 {
259 typeof(global::System.IO.Stream),
260 typeof(HashAlgorithmName)
261 }, ReturnType = typeof(byte[]))]
262 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 6)]
263 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Environment), Member = "GetResourceString", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
264 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.NotImplementedException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
265 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
266 private static global::System.Exception DerivedClassMustOverride()
267 {
268 throw null;
269 }
270
271 [global::Cpp2ILInjected.Token(Token = "0x6001960")]
272 [global::Cpp2ILInjected.Address(RVA = "0x1B075D8", Offset = "0x1B075D8", Length = "0xA0")]
273 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RSA), Member = "SignData", MemberParameters = new object[]
274 {
275 typeof(byte[]),
276 typeof(int),
277 typeof(int),
280 }, ReturnType = typeof(byte[]))]
281 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RSA), Member = "SignData", MemberParameters = new object[]
282 {
283 typeof(global::System.IO.Stream),
284 typeof(HashAlgorithmName),
285 typeof(RSASignaturePadding)
286 }, ReturnType = typeof(byte[]))]
287 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RSA), Member = "VerifyData", MemberParameters = new object[]
288 {
289 typeof(byte[]),
290 typeof(int),
291 typeof(int),
292 typeof(byte[]),
293 typeof(HashAlgorithmName),
294 typeof(RSASignaturePadding)
295 }, ReturnType = typeof(bool))]
296 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RSA), Member = "VerifyData", MemberParameters = new object[]
297 {
298 typeof(global::System.IO.Stream),
299 typeof(byte[]),
300 typeof(HashAlgorithmName),
301 typeof(RSASignaturePadding)
302 }, ReturnType = typeof(bool))]
303 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RSA), Member = "TrySignData", MemberParameters = new object[]
304 {
305 typeof(global::System.ReadOnlySpan<byte>),
306 typeof(global::System.Span<byte>),
307 typeof(HashAlgorithmName),
308 typeof(RSASignaturePadding),
309 typeof(ref int)
310 }, ReturnType = typeof(bool))]
311 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RSA), Member = "VerifyData", MemberParameters = new object[]
312 {
313 typeof(global::System.ReadOnlySpan<byte>),
314 typeof(global::System.ReadOnlySpan<byte>),
315 typeof(HashAlgorithmName),
316 typeof(RSASignaturePadding)
317 }, ReturnType = typeof(bool))]
318 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RSACryptoServiceProvider), Member = "SignHash", MemberParameters = new object[]
319 {
320 typeof(byte[]),
321 typeof(HashAlgorithmName),
322 typeof(RSASignaturePadding)
323 }, ReturnType = typeof(byte[]))]
324 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RSACryptoServiceProvider), Member = "VerifyHash", MemberParameters = new object[]
325 {
326 typeof(byte[]),
327 typeof(byte[]),
328 typeof(HashAlgorithmName),
329 typeof(RSASignaturePadding)
330 }, ReturnType = typeof(bool))]
331 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 8)]
332 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Environment), Member = "GetResourceString", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
333 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentException), Member = ".ctor", MemberParameters = new object[]
334 {
335 typeof(string),
336 typeof(string)
337 }, ReturnType = typeof(void))]
338 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
339 internal static global::System.Exception HashAlgorithmNameNullOrEmpty()
340 {
341 throw null;
342 }
343
344 [global::Cpp2ILInjected.Token(Token = "0x6001961")]
345 [global::Cpp2ILInjected.Address(RVA = "0x1B07B88", Offset = "0x1B07B88", Length = "0x58")]
346 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
347 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Environment), Member = "GetResourceString", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
348 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.NotSupportedException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
349 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
350 public virtual byte[] DecryptValue(byte[] rgb)
351 {
352 throw null;
353 }
354
355 [global::Cpp2ILInjected.Token(Token = "0x6001962")]
356 [global::Cpp2ILInjected.Address(RVA = "0x1B07BE0", Offset = "0x1B07BE0", Length = "0x58")]
357 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
358 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Environment), Member = "GetResourceString", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
359 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.NotSupportedException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
360 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
361 public virtual byte[] EncryptValue(byte[] rgb)
362 {
363 throw null;
364 }
365
366 [global::Cpp2ILInjected.Token(Token = "0x170002B9")]
367 public override string KeyExchangeAlgorithm
368 {
369 [global::Cpp2ILInjected.Token(Token = "0x6001963")]
370 [global::Cpp2ILInjected.Address(RVA = "0x1B07C38", Offset = "0x1B07C38", Length = "0x40")]
371 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
372 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
373 get
374 {
375 throw null;
376 }
377 }
378
379 [global::Cpp2ILInjected.Token(Token = "0x170002BA")]
380 public override string SignatureAlgorithm
381 {
382 [global::Cpp2ILInjected.Token(Token = "0x6001964")]
383 [global::Cpp2ILInjected.Address(RVA = "0x1B07C78", Offset = "0x1B07C78", Length = "0x40")]
384 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
385 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
386 get
387 {
388 throw null;
389 }
390 }
391
392 [global::Cpp2ILInjected.Token(Token = "0x6001965")]
393 [global::Cpp2ILInjected.Address(RVA = "0x1B07CB8", Offset = "0x1B07CB8", Length = "0x5AC")]
394 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
395 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
396 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Security.Util.Parser), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
397 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Security.Util.Parser), Member = "GetTopElement", ReturnType = typeof(SecurityElement))]
398 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SecurityElement), Member = "SearchForTextOfLocalName", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
399 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "DiscardWhiteSpaces", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
400 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Convert), Member = "FromBase64String", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(byte[]))]
401 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
402 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Environment), Member = "GetResourceString", MemberParameters = new object[]
403 {
404 typeof(string),
405 typeof(object[])
406 }, ReturnType = typeof(string))]
407 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CryptographicException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
408 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 51)]
409 public override void FromXmlString(string xmlString)
410 {
411 throw null;
412 }
413
414 [global::Cpp2ILInjected.Token(Token = "0x6001966")]
415 [global::Cpp2ILInjected.Address(RVA = "0x1B082C4", Offset = "0x1B082C4", Length = "0x434")]
416 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
417 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
418 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Text.StringBuilder), Member = ".ctor", ReturnType = typeof(void))]
419 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Text.StringBuilder), Member = "Append", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(global::System.Text.StringBuilder))]
420 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Convert), Member = "ToBase64String", MemberParameters = new object[] { typeof(byte[]) }, ReturnType = typeof(string))]
421 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
422 {
423 typeof(string),
424 typeof(string),
425 typeof(string)
426 }, ReturnType = typeof(string))]
427 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 23)]
428 public override string ToXmlString(bool includePrivateParameters)
429 {
430 throw null;
431 }
432
433 [global::Cpp2ILInjected.Token(Token = "0x6001967")]
435
436 [global::Cpp2ILInjected.Token(Token = "0x6001968")]
437 public abstract void ImportParameters(RSAParameters parameters);
438
439 [global::Cpp2ILInjected.Token(Token = "0x6001969")]
440 [global::Cpp2ILInjected.Address(RVA = "0x1B086F8", Offset = "0x1B086F8", Length = "0xB8")]
441 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
442 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
443 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RSA), Member = "Create", ReturnType = typeof(RSA))]
444 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AsymmetricAlgorithm), Member = "Dispose", ReturnType = typeof(void))]
445 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
446 public static RSA Create(int keySizeInBits)
447 {
448 throw null;
449 }
450
451 [global::Cpp2ILInjected.Token(Token = "0x600196A")]
452 [global::Cpp2ILInjected.Address(RVA = "0x1B087B0", Offset = "0x1B087B0", Length = "0xE4")]
453 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
454 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
455 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RSA), Member = "Create", ReturnType = typeof(RSA))]
456 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AsymmetricAlgorithm), Member = "Dispose", ReturnType = typeof(void))]
457 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
458 public static RSA Create(RSAParameters parameters)
459 {
460 throw null;
461 }
462
463 [global::Cpp2ILInjected.Token(Token = "0x600196B")]
464 [global::Cpp2ILInjected.Address(RVA = "0x1B08894", Offset = "0x1B08894", Length = "0x118")]
465 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
466 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
467 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ReadOnlySpan<>), Member = "ToArray", ReturnType = "T[]")]
468 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ReadOnlySpan<>), Member = "CopyTo", MemberParameters = new object[] { "System.Span`1<T>" }, ReturnType = typeof(void))]
469 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
470 public virtual bool TryDecrypt(global::System.ReadOnlySpan<byte> data, global::System.Span<byte> destination, RSAEncryptionPadding padding, out int bytesWritten)
471 {
472 throw null;
473 }
474
475 [global::Cpp2ILInjected.Token(Token = "0x600196C")]
476 [global::Cpp2ILInjected.Address(RVA = "0x1B089AC", Offset = "0x1B089AC", Length = "0x118")]
477 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
478 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
479 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ReadOnlySpan<>), Member = "ToArray", ReturnType = "T[]")]
480 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ReadOnlySpan<>), Member = "CopyTo", MemberParameters = new object[] { "System.Span`1<T>" }, ReturnType = typeof(void))]
481 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
482 public virtual bool TryEncrypt(global::System.ReadOnlySpan<byte> data, global::System.Span<byte> destination, RSAEncryptionPadding padding, out int bytesWritten)
483 {
484 throw null;
485 }
486
487 [global::Cpp2ILInjected.Token(Token = "0x600196D")]
488 [global::Cpp2ILInjected.Address(RVA = "0x1B08AC4", Offset = "0x1B08AC4", Length = "0x260")]
489 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
490 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
491 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Span<>), Member = "op_Implicit", MemberParameters = new object[] { "T[]" }, ReturnType = "System.Span`1<T>")]
492 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ReadOnlySpan<>), Member = "CopyTo", MemberParameters = new object[] { "System.Span`1<T>" }, ReturnType = typeof(void))]
493 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 19)]
494 protected virtual bool TryHashData(global::System.ReadOnlySpan<byte> data, global::System.Span<byte> destination, HashAlgorithmName hashAlgorithm, out int bytesWritten)
495 {
496 throw null;
497 }
498
499 [global::Cpp2ILInjected.Token(Token = "0x600196E")]
500 [global::Cpp2ILInjected.Address(RVA = "0x1B08D24", Offset = "0x1B08D24", Length = "0x128")]
501 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
502 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
503 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ReadOnlySpan<>), Member = "ToArray", ReturnType = "T[]")]
504 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ReadOnlySpan<>), Member = "CopyTo", MemberParameters = new object[] { "System.Span`1<T>" }, ReturnType = typeof(void))]
505 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
506 public virtual bool TrySignHash(global::System.ReadOnlySpan<byte> hash, global::System.Span<byte> destination, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding, out int bytesWritten)
507 {
508 throw null;
509 }
510
511 [global::Cpp2ILInjected.Token(Token = "0x600196F")]
512 [global::Cpp2ILInjected.Address(RVA = "0x1B08E4C", Offset = "0x1B08E4C", Length = "0x1E8")]
513 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
514 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
515 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "IsNullOrEmpty", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
516 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RSASignaturePadding), Member = "op_Equality", MemberParameters = new object[]
517 {
518 typeof(RSASignaturePadding),
519 typeof(RSASignaturePadding)
520 }, ReturnType = typeof(bool))]
521 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ThrowHelper), Member = "ThrowArgumentOutOfRangeException", ReturnType = typeof(void))]
522 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Span<>), Member = "op_Implicit", MemberParameters = new object[] { "System.Span`1<T>" }, ReturnType = "System.ReadOnlySpan`1<T>")]
523 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RSA), Member = "HashAlgorithmNameNullOrEmpty", ReturnType = typeof(global::System.Exception))]
524 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
525 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
526 public virtual bool TrySignData(global::System.ReadOnlySpan<byte> data, global::System.Span<byte> destination, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding, out int bytesWritten)
527 {
528 throw null;
529 }
530
531 [global::Cpp2ILInjected.Token(Token = "0x6001970")]
532 [global::Cpp2ILInjected.Address(RVA = "0x1B09034", Offset = "0x1B09034", Length = "0x32C")]
533 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
534 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
535 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "IsNullOrEmpty", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
536 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RSASignaturePadding), Member = "op_Equality", MemberParameters = new object[]
537 {
538 typeof(RSASignaturePadding),
539 typeof(RSASignaturePadding)
540 }, ReturnType = typeof(bool))]
541 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Span<>), Member = "op_Implicit", MemberParameters = new object[] { "T[]" }, ReturnType = "System.Span`1<T>")]
542 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ThrowHelper), Member = "ThrowArgumentOutOfRangeException", ReturnType = typeof(void))]
543 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RSA), Member = "HashAlgorithmNameNullOrEmpty", ReturnType = typeof(global::System.Exception))]
544 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
545 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 27)]
546 public virtual bool VerifyData(global::System.ReadOnlySpan<byte> data, global::System.ReadOnlySpan<byte> signature, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
547 {
548 throw null;
549 }
550
551 [global::Cpp2ILInjected.Token(Token = "0x6001971")]
552 [global::Cpp2ILInjected.Address(RVA = "0x1B09360", Offset = "0x1B09360", Length = "0xA4")]
553 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
554 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
555 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ReadOnlySpan<>), Member = "ToArray", ReturnType = "T[]")]
556 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
557 public virtual bool VerifyHash(global::System.ReadOnlySpan<byte> hash, global::System.ReadOnlySpan<byte> signature, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
558 {
559 throw null;
560 }
561
562 [global::Cpp2ILInjected.Token(Token = "0x6001972")]
563 [global::Cpp2ILInjected.Address(RVA = "0x1B09404", Offset = "0x1B09404", Length = "0x38")]
564 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
565 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.PlatformNotSupportedException), Member = ".ctor", ReturnType = typeof(void))]
566 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
567 public virtual byte[] ExportRSAPrivateKey()
568 {
569 throw null;
570 }
571
572 [global::Cpp2ILInjected.Token(Token = "0x6001973")]
573 [global::Cpp2ILInjected.Address(RVA = "0x1B0943C", Offset = "0x1B0943C", Length = "0x38")]
574 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
575 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.PlatformNotSupportedException), Member = ".ctor", ReturnType = typeof(void))]
576 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
577 public virtual byte[] ExportRSAPublicKey()
578 {
579 throw null;
580 }
581
582 [global::Cpp2ILInjected.Token(Token = "0x6001974")]
583 [global::Cpp2ILInjected.Address(RVA = "0x1B09474", Offset = "0x1B09474", Length = "0x38")]
584 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
585 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.PlatformNotSupportedException), Member = ".ctor", ReturnType = typeof(void))]
586 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
587 public virtual void ImportRSAPrivateKey(global::System.ReadOnlySpan<byte> source, out int bytesRead)
588 {
589 throw null;
590 }
591
592 [global::Cpp2ILInjected.Token(Token = "0x6001975")]
593 [global::Cpp2ILInjected.Address(RVA = "0x1B094AC", Offset = "0x1B094AC", Length = "0x38")]
594 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
595 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.PlatformNotSupportedException), Member = ".ctor", ReturnType = typeof(void))]
596 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
597 public virtual void ImportRSAPublicKey(global::System.ReadOnlySpan<byte> source, out int bytesRead)
598 {
599 throw null;
600 }
601
602 [global::Cpp2ILInjected.Token(Token = "0x6001976")]
603 [global::Cpp2ILInjected.Address(RVA = "0x1B094E4", Offset = "0x1B094E4", Length = "0x38")]
604 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
605 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.PlatformNotSupportedException), Member = ".ctor", ReturnType = typeof(void))]
606 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
607 public virtual bool TryExportRSAPrivateKey(global::System.Span<byte> destination, out int bytesWritten)
608 {
609 throw null;
610 }
611
612 [global::Cpp2ILInjected.Token(Token = "0x6001977")]
613 [global::Cpp2ILInjected.Address(RVA = "0x1B0951C", Offset = "0x1B0951C", Length = "0x38")]
614 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
615 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.PlatformNotSupportedException), Member = ".ctor", ReturnType = typeof(void))]
616 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
617 public virtual bool TryExportRSAPublicKey(global::System.Span<byte> destination, out int bytesWritten)
618 {
619 throw null;
620 }
621 }
622}
class f__AnonymousType0<< Count > j__TPar
static global::System.Exception DerivedClassMustOverride()
Definition RSA.cs:266
static RSA Create(int keySizeInBits)
Definition RSA.cs:446
virtual byte[] EncryptValue(byte[] rgb)
Definition RSA.cs:361
virtual bool TryExportRSAPrivateKey(global::System.Span< byte > destination, out int bytesWritten)
Definition RSA.cs:607
virtual byte[] DecryptValue(byte[] rgb)
Definition RSA.cs:350
virtual byte[] Decrypt(byte[] data, RSAEncryptionPadding padding)
Definition RSA.cs:86
virtual bool VerifyData(global::System.ReadOnlySpan< byte > data, global::System.ReadOnlySpan< byte > signature, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
Definition RSA.cs:546
virtual byte[] SignData(global::System.IO.Stream data, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
Definition RSA.cs:173
virtual byte[] Encrypt(byte[] data, RSAEncryptionPadding padding)
Definition RSA.cs:76
static new RSA Create()
Definition RSA.cs:55
static global::System.Exception HashAlgorithmNameNullOrEmpty()
Definition RSA.cs:339
virtual void ImportRSAPrivateKey(global::System.ReadOnlySpan< byte > source, out int bytesRead)
Definition RSA.cs:587
RSAParameters ExportParameters(bool includePrivateParameters)
virtual byte[] HashData(byte[] data, int offset, int count, HashAlgorithmName hashAlgorithm)
Definition RSA.cs:116
virtual byte[] ExportRSAPrivateKey()
Definition RSA.cs:567
virtual byte[] ExportRSAPublicKey()
Definition RSA.cs:577
virtual bool TrySignData(global::System.ReadOnlySpan< byte > data, global::System.Span< byte > destination, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding, out int bytesWritten)
Definition RSA.cs:526
byte[] SignData(byte[] data, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
Definition RSA.cs:136
virtual bool VerifyData(byte[] data, int offset, int count, byte[] signature, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
Definition RSA.cs:202
bool VerifyData(global::System.IO.Stream data, byte[] signature, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
Definition RSA.cs:220
static new RSA Create(string algName)
Definition RSA.cs:66
virtual void ImportRSAPublicKey(global::System.ReadOnlySpan< byte > source, out int bytesRead)
Definition RSA.cs:597
virtual bool TryEncrypt(global::System.ReadOnlySpan< byte > data, global::System.Span< byte > destination, RSAEncryptionPadding padding, out int bytesWritten)
Definition RSA.cs:482
virtual byte[] HashData(global::System.IO.Stream data, HashAlgorithmName hashAlgorithm)
Definition RSA.cs:126
bool VerifyData(byte[] data, byte[] signature, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
Definition RSA.cs:183
override void FromXmlString(string xmlString)
Definition RSA.cs:409
virtual byte[] SignHash(byte[] hash, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
Definition RSA.cs:96
override string ToXmlString(bool includePrivateParameters)
Definition RSA.cs:428
virtual bool VerifyHash(byte[] hash, byte[] signature, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
Definition RSA.cs:106
static RSA Create(RSAParameters parameters)
Definition RSA.cs:458
virtual bool TryExportRSAPublicKey(global::System.Span< byte > destination, out int bytesWritten)
Definition RSA.cs:617
virtual bool TryDecrypt(global::System.ReadOnlySpan< byte > data, global::System.Span< byte > destination, RSAEncryptionPadding padding, out int bytesWritten)
Definition RSA.cs:470
void ImportParameters(RSAParameters parameters)
virtual bool TryHashData(global::System.ReadOnlySpan< byte > data, global::System.Span< byte > destination, HashAlgorithmName hashAlgorithm, out int bytesWritten)
Definition RSA.cs:494
virtual bool VerifyHash(global::System.ReadOnlySpan< byte > hash, global::System.ReadOnlySpan< byte > signature, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
Definition RSA.cs:557
virtual bool TrySignHash(global::System.ReadOnlySpan< byte > hash, global::System.Span< byte > destination, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding, out int bytesWritten)
Definition RSA.cs:506
virtual byte[] SignData(byte[] data, int offset, int count, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
Definition RSA.cs:155