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
DSA.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 = "0x20002D7")]
14 public abstract class DSA : AsymmetricAlgorithm
15 {
16 [global::Cpp2ILInjected.Token(Token = "0x6001875")]
17 [global::Cpp2ILInjected.Address(RVA = "0x1AFB7FC", Offset = "0x1AFB7FC", Length = "0x8")]
18 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Mono.Security.Cryptography.DSAManaged), Member = ".ctor", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
19 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CryptoConfig), Member = "CreateFromName", MemberParameters = new object[]
20 {
21 typeof(string),
22 typeof(object[])
23 }, ReturnType = typeof(object))]
24 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DSACryptoServiceProvider), Member = ".ctor", ReturnType = typeof(void))]
25 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DSACryptoServiceProvider), Member = ".ctor", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
26 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DSACryptoServiceProvider), Member = ".ctor", MemberParameters = new object[]
27 {
28 typeof(int),
30 }, ReturnType = typeof(void))]
31 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 5)]
32 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
33 protected DSA()
34 {
35 throw null;
36 }
37
38 [global::Cpp2ILInjected.Token(Token = "0x6001876")]
39 [global::Cpp2ILInjected.Address(RVA = "0x1AFB804", Offset = "0x1AFB804", Length = "0x54")]
40 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Mono.Security.Cryptography.CryptoConvert), Member = "FromCapiPrivateKeyBlobDSA", MemberParameters = new object[]
41 {
42 typeof(byte[]),
43 typeof(int)
44 }, ReturnType = typeof(DSA))]
45 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Mono.Security.Cryptography.CryptoConvert), Member = "FromCapiPublicKeyBlobDSA", MemberParameters = new object[]
46 {
47 typeof(byte[]),
48 typeof(int)
49 }, ReturnType = typeof(DSA))]
50 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DSA), Member = "Create", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(DSA))]
51 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DSA), Member = "Create", MemberParameters = new object[] { typeof(DSAParameters) }, ReturnType = typeof(DSA))]
52 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Mono.Security.Cryptography.PKCS8.PrivateKeyInfo", Member = "DecodeDSA", MemberParameters = new object[]
53 {
54 "System.Byte[]",
55 typeof(DSAParameters)
56 }, ReturnType = typeof(DSA))]
57 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 5)]
58 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DSACryptoServiceProvider), Member = ".ctor", ReturnType = typeof(void))]
59 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
60 public new static DSA Create()
61 {
62 throw null;
63 }
64
65 [global::Cpp2ILInjected.Token(Token = "0x6001877")]
66 [global::Cpp2ILInjected.Address(RVA = "0x1AFB858", Offset = "0x1AFB858", Length = "0xA4")]
67 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
68 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
69 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CryptoConfig), Member = "CreateFromName", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(object))]
70 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
71 public new static DSA Create(string algName)
72 {
73 throw null;
74 }
75
76 [global::Cpp2ILInjected.Token(Token = "0x6001878")]
77 public abstract byte[] CreateSignature(byte[] rgbHash);
78
79 [global::Cpp2ILInjected.Token(Token = "0x6001879")]
80 public abstract bool VerifySignature(byte[] rgbHash, byte[] rgbSignature);
81
82 [global::Cpp2ILInjected.Token(Token = "0x600187A")]
83 [global::Cpp2ILInjected.Address(RVA = "0x1AFB8FC", Offset = "0x1AFB8FC", Length = "0x24")]
84 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
85 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DSA), Member = "DerivedClassMustOverride", ReturnType = typeof(global::System.Exception))]
86 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
87 protected virtual byte[] HashData(byte[] data, int offset, int count, HashAlgorithmName hashAlgorithm)
88 {
89 throw null;
90 }
91
92 [global::Cpp2ILInjected.Token(Token = "0x600187B")]
93 [global::Cpp2ILInjected.Address(RVA = "0x1AFB9A0", Offset = "0x1AFB9A0", Length = "0x24")]
94 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
95 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DSA), Member = "DerivedClassMustOverride", ReturnType = typeof(global::System.Exception))]
96 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
97 protected virtual byte[] HashData(global::System.IO.Stream data, HashAlgorithmName hashAlgorithm)
98 {
99 throw null;
100 }
101
102 [global::Cpp2ILInjected.Token(Token = "0x600187C")]
103 [global::Cpp2ILInjected.Address(RVA = "0x1AFB9C4", Offset = "0x1AFB9C4", Length = "0x70")]
104 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
105 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
106 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
107 public byte[] SignData(byte[] data, HashAlgorithmName hashAlgorithm)
108 {
109 throw null;
110 }
111
112 [global::Cpp2ILInjected.Token(Token = "0x600187D")]
113 [global::Cpp2ILInjected.Address(RVA = "0x1AFBA34", Offset = "0x1AFBA34", Length = "0x140")]
114 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
115 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
116 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "IsNullOrEmpty", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
117 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
118 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
119 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DSA), Member = "HashAlgorithmNameNullOrEmpty", ReturnType = typeof(global::System.Exception))]
120 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
121 public virtual byte[] SignData(byte[] data, int offset, int count, HashAlgorithmName hashAlgorithm)
122 {
123 throw null;
124 }
125
126 [global::Cpp2ILInjected.Token(Token = "0x600187E")]
127 [global::Cpp2ILInjected.Address(RVA = "0x1AFBC14", Offset = "0x1AFBC14", Length = "0xB8")]
128 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
129 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
130 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "IsNullOrEmpty", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
131 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
132 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DSA), Member = "HashAlgorithmNameNullOrEmpty", ReturnType = typeof(global::System.Exception))]
133 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
134 public virtual byte[] SignData(global::System.IO.Stream data, HashAlgorithmName hashAlgorithm)
135 {
136 throw null;
137 }
138
139 [global::Cpp2ILInjected.Token(Token = "0x600187F")]
140 [global::Cpp2ILInjected.Address(RVA = "0x1AFBCCC", Offset = "0x1AFBCCC", Length = "0x74")]
141 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
142 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
143 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
144 public bool VerifyData(byte[] data, byte[] signature, HashAlgorithmName hashAlgorithm)
145 {
146 throw null;
147 }
148
149 [global::Cpp2ILInjected.Token(Token = "0x6001880")]
150 [global::Cpp2ILInjected.Address(RVA = "0x1AFBD40", Offset = "0x1AFBD40", Length = "0x174")]
151 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
152 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
153 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "IsNullOrEmpty", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
154 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
155 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
156 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DSA), Member = "HashAlgorithmNameNullOrEmpty", ReturnType = typeof(global::System.Exception))]
157 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 13)]
158 public virtual bool VerifyData(byte[] data, int offset, int count, byte[] signature, HashAlgorithmName hashAlgorithm)
159 {
160 throw null;
161 }
162
163 [global::Cpp2ILInjected.Token(Token = "0x6001881")]
164 [global::Cpp2ILInjected.Address(RVA = "0x1AFBEB4", Offset = "0x1AFBEB4", Length = "0xEC")]
165 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
166 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
167 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "IsNullOrEmpty", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
168 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
169 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DSA), Member = "HashAlgorithmNameNullOrEmpty", ReturnType = typeof(global::System.Exception))]
170 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
171 public virtual bool VerifyData(global::System.IO.Stream data, byte[] signature, HashAlgorithmName hashAlgorithm)
172 {
173 throw null;
174 }
175
176 [global::Cpp2ILInjected.Token(Token = "0x6001882")]
177 [global::Cpp2ILInjected.Address(RVA = "0x1AFBFA0", Offset = "0x1AFBFA0", Length = "0x6CC")]
178 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
179 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
180 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Security.Util.Parser), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
181 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Security.Util.Parser), Member = "GetTopElement", ReturnType = typeof(SecurityElement))]
182 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SecurityElement), Member = "SearchForTextOfLocalName", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
183 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "DiscardWhiteSpaces", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
184 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Convert), Member = "FromBase64String", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(byte[]))]
185 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "ConvertByteArrayToInt", MemberParameters = new object[] { typeof(byte[]) }, ReturnType = typeof(int))]
186 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
187 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Environment), Member = "GetResourceString", MemberParameters = new object[]
188 {
189 typeof(string),
190 typeof(object[])
191 }, ReturnType = typeof(string))]
192 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CryptographicException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
193 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 66)]
194 public override void FromXmlString(string xmlString)
195 {
196 throw null;
197 }
198
199 [global::Cpp2ILInjected.Token(Token = "0x6001883")]
200 [global::Cpp2ILInjected.Address(RVA = "0x1AFC66C", Offset = "0x1AFC66C", Length = "0x498")]
201 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
202 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
203 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Text.StringBuilder), Member = ".ctor", ReturnType = typeof(void))]
204 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Text.StringBuilder), Member = "Append", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(global::System.Text.StringBuilder))]
205 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Convert), Member = "ToBase64String", MemberParameters = new object[] { typeof(byte[]) }, ReturnType = typeof(string))]
206 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
207 {
208 typeof(string),
209 typeof(string),
210 typeof(string)
211 }, ReturnType = typeof(string))]
212 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "ConvertIntToByteArray", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(byte[]))]
213 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 27)]
214 public override string ToXmlString(bool includePrivateParameters)
215 {
216 throw null;
217 }
218
219 [global::Cpp2ILInjected.Token(Token = "0x6001884")]
221
222 [global::Cpp2ILInjected.Token(Token = "0x6001885")]
223 public abstract void ImportParameters(DSAParameters parameters);
224
225 [global::Cpp2ILInjected.Token(Token = "0x6001886")]
226 [global::Cpp2ILInjected.Address(RVA = "0x1AFB920", Offset = "0x1AFB920", Length = "0x80")]
227 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DSA), Member = "HashData", MemberParameters = new object[]
228 {
229 typeof(byte[]),
230 typeof(int),
231 typeof(int),
233 }, ReturnType = typeof(byte[]))]
234 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DSA), Member = "HashData", MemberParameters = new object[]
235 {
236 typeof(global::System.IO.Stream),
238 }, ReturnType = typeof(byte[]))]
239 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
240 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Environment), Member = "GetResourceString", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
241 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.NotImplementedException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
242 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
243 private static global::System.Exception DerivedClassMustOverride()
244 {
245 throw null;
246 }
247
248 [global::Cpp2ILInjected.Token(Token = "0x6001887")]
249 [global::Cpp2ILInjected.Address(RVA = "0x1AFBB74", Offset = "0x1AFBB74", Length = "0xA0")]
250 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DSA), Member = "SignData", MemberParameters = new object[]
251 {
252 typeof(byte[]),
253 typeof(int),
254 typeof(int),
256 }, ReturnType = typeof(byte[]))]
257 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DSA), Member = "SignData", MemberParameters = new object[]
258 {
259 typeof(global::System.IO.Stream),
260 typeof(HashAlgorithmName)
261 }, ReturnType = typeof(byte[]))]
262 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DSA), Member = "VerifyData", MemberParameters = new object[]
263 {
264 typeof(byte[]),
265 typeof(int),
266 typeof(int),
267 typeof(byte[]),
268 typeof(HashAlgorithmName)
269 }, ReturnType = typeof(bool))]
270 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DSA), Member = "VerifyData", MemberParameters = new object[]
271 {
272 typeof(global::System.IO.Stream),
273 typeof(byte[]),
274 typeof(HashAlgorithmName)
275 }, ReturnType = typeof(bool))]
276 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DSA), Member = "TrySignData", MemberParameters = new object[]
277 {
278 typeof(global::System.ReadOnlySpan<byte>),
279 typeof(global::System.Span<byte>),
280 typeof(HashAlgorithmName),
281 typeof(ref int)
282 }, ReturnType = typeof(bool))]
283 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DSA), Member = "VerifyData", MemberParameters = new object[]
284 {
285 typeof(global::System.ReadOnlySpan<byte>),
286 typeof(global::System.ReadOnlySpan<byte>),
287 typeof(HashAlgorithmName)
288 }, ReturnType = typeof(bool))]
289 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 6)]
290 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Environment), Member = "GetResourceString", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
291 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentException), Member = ".ctor", MemberParameters = new object[]
292 {
293 typeof(string),
294 typeof(string)
295 }, ReturnType = typeof(void))]
296 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
297 internal static global::System.Exception HashAlgorithmNameNullOrEmpty()
298 {
299 throw null;
300 }
301
302 [global::Cpp2ILInjected.Token(Token = "0x6001888")]
303 [global::Cpp2ILInjected.Address(RVA = "0x1AFCB04", Offset = "0x1AFCB04", Length = "0xB4")]
304 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
305 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
306 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DSA), Member = "Create", ReturnType = typeof(DSA))]
307 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AsymmetricAlgorithm), Member = "Dispose", ReturnType = typeof(void))]
308 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
309 public static DSA Create(int keySizeInBits)
310 {
311 throw null;
312 }
313
314 [global::Cpp2ILInjected.Token(Token = "0x6001889")]
315 [global::Cpp2ILInjected.Address(RVA = "0x1AFCBB8", Offset = "0x1AFCBB8", Length = "0xE0")]
316 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
317 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
318 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DSA), Member = "Create", ReturnType = typeof(DSA))]
319 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AsymmetricAlgorithm), Member = "Dispose", ReturnType = typeof(void))]
320 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
321 public static DSA Create(DSAParameters parameters)
322 {
323 throw null;
324 }
325
326 [global::Cpp2ILInjected.Token(Token = "0x600188A")]
327 [global::Cpp2ILInjected.Address(RVA = "0x1AFCC98", Offset = "0x1AFCC98", Length = "0x110")]
328 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
329 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
330 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ReadOnlySpan<>), Member = "ToArray", ReturnType = "T[]")]
331 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ReadOnlySpan<>), Member = "CopyTo", MemberParameters = new object[] { "System.Span`1<T>" }, ReturnType = typeof(void))]
332 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
333 public virtual bool TryCreateSignature(global::System.ReadOnlySpan<byte> hash, global::System.Span<byte> destination, out int bytesWritten)
334 {
335 throw null;
336 }
337
338 [global::Cpp2ILInjected.Token(Token = "0x600188B")]
339 [global::Cpp2ILInjected.Address(RVA = "0x1AFCDA8", Offset = "0x1AFCDA8", Length = "0x25C")]
340 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
341 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
342 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Span<>), Member = "op_Implicit", MemberParameters = new object[] { "T[]" }, ReturnType = "System.Span`1<T>")]
343 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ReadOnlySpan<>), Member = "CopyTo", MemberParameters = new object[] { "System.Span`1<T>" }, ReturnType = typeof(void))]
344 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 19)]
345 protected virtual bool TryHashData(global::System.ReadOnlySpan<byte> data, global::System.Span<byte> destination, HashAlgorithmName hashAlgorithm, out int bytesWritten)
346 {
347 throw null;
348 }
349
350 [global::Cpp2ILInjected.Token(Token = "0x600188C")]
351 [global::Cpp2ILInjected.Address(RVA = "0x1AFD004", Offset = "0x1AFD004", Length = "0x164")]
352 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
353 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
354 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "IsNullOrEmpty", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
355 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ThrowHelper), Member = "ThrowArgumentOutOfRangeException", ReturnType = typeof(void))]
356 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Span<>), Member = "op_Implicit", MemberParameters = new object[] { "System.Span`1<T>" }, ReturnType = "System.ReadOnlySpan`1<T>")]
357 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DSA), Member = "HashAlgorithmNameNullOrEmpty", ReturnType = typeof(global::System.Exception))]
358 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
359 public virtual bool TrySignData(global::System.ReadOnlySpan<byte> data, global::System.Span<byte> destination, HashAlgorithmName hashAlgorithm, out int bytesWritten)
360 {
361 throw null;
362 }
363
364 [global::Cpp2ILInjected.Token(Token = "0x600188D")]
365 [global::Cpp2ILInjected.Address(RVA = "0x1AFD168", Offset = "0x1AFD168", Length = "0x2B4")]
366 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
367 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
368 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "IsNullOrEmpty", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
369 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Span<>), Member = "op_Implicit", MemberParameters = new object[] { "T[]" }, ReturnType = "System.Span`1<T>")]
370 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ThrowHelper), Member = "ThrowArgumentOutOfRangeException", ReturnType = typeof(void))]
371 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DSA), Member = "HashAlgorithmNameNullOrEmpty", ReturnType = typeof(global::System.Exception))]
372 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 22)]
373 public virtual bool VerifyData(global::System.ReadOnlySpan<byte> data, global::System.ReadOnlySpan<byte> signature, HashAlgorithmName hashAlgorithm)
374 {
375 throw null;
376 }
377
378 [global::Cpp2ILInjected.Token(Token = "0x600188E")]
379 [global::Cpp2ILInjected.Address(RVA = "0x1AFD41C", Offset = "0x1AFD41C", Length = "0x8C")]
380 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
381 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
382 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ReadOnlySpan<>), Member = "ToArray", ReturnType = "T[]")]
383 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
384 public virtual bool VerifySignature(global::System.ReadOnlySpan<byte> hash, global::System.ReadOnlySpan<byte> signature)
385 {
386 throw null;
387 }
388 }
389}
class f__AnonymousType0<< Count > j__TPar
byte[] CreateSignature(byte[] rgbHash)
static new DSA Create(string algName)
Definition DSA.cs:71
virtual bool VerifyData(global::System.IO.Stream data, byte[] signature, HashAlgorithmName hashAlgorithm)
Definition DSA.cs:171
virtual bool TrySignData(global::System.ReadOnlySpan< byte > data, global::System.Span< byte > destination, HashAlgorithmName hashAlgorithm, out int bytesWritten)
Definition DSA.cs:359
virtual byte[] HashData(global::System.IO.Stream data, HashAlgorithmName hashAlgorithm)
Definition DSA.cs:97
bool VerifyData(byte[] data, byte[] signature, HashAlgorithmName hashAlgorithm)
Definition DSA.cs:144
static global::System.Exception HashAlgorithmNameNullOrEmpty()
Definition DSA.cs:297
virtual bool TryCreateSignature(global::System.ReadOnlySpan< byte > hash, global::System.Span< byte > destination, out int bytesWritten)
Definition DSA.cs:333
override void FromXmlString(string xmlString)
Definition DSA.cs:194
static DSA Create(DSAParameters parameters)
Definition DSA.cs:321
virtual bool VerifySignature(global::System.ReadOnlySpan< byte > hash, global::System.ReadOnlySpan< byte > signature)
Definition DSA.cs:384
virtual byte[] HashData(byte[] data, int offset, int count, HashAlgorithmName hashAlgorithm)
Definition DSA.cs:87
virtual bool VerifyData(global::System.ReadOnlySpan< byte > data, global::System.ReadOnlySpan< byte > signature, HashAlgorithmName hashAlgorithm)
Definition DSA.cs:373
virtual byte[] SignData(byte[] data, int offset, int count, HashAlgorithmName hashAlgorithm)
Definition DSA.cs:121
virtual bool VerifyData(byte[] data, int offset, int count, byte[] signature, HashAlgorithmName hashAlgorithm)
Definition DSA.cs:158
virtual bool TryHashData(global::System.ReadOnlySpan< byte > data, global::System.Span< byte > destination, HashAlgorithmName hashAlgorithm, out int bytesWritten)
Definition DSA.cs:345
virtual byte[] SignData(global::System.IO.Stream data, HashAlgorithmName hashAlgorithm)
Definition DSA.cs:134
void ImportParameters(DSAParameters parameters)
bool VerifySignature(byte[] rgbHash, byte[] rgbSignature)
DSAParameters ExportParameters(bool includePrivateParameters)
byte[] SignData(byte[] data, HashAlgorithmName hashAlgorithm)
Definition DSA.cs:107
override string ToXmlString(bool includePrivateParameters)
Definition DSA.cs:214
static DSA Create(int keySizeInBits)
Definition DSA.cs:309
static global::System.Exception DerivedClassMustOverride()
Definition DSA.cs:243
static new DSA Create()
Definition DSA.cs:60