terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ ImportParameters()

override void Mono.Security.Cryptography.DSAManaged.ImportParameters ( DSAParameters parameters)
inline

Definition at line 177 of file DSAManaged.cs.

178 {
179 if (!this.m_disposed)
180 {
181 if (parameters.Q == null || parameters.G == null)
182 {
183 string text = Locale.GetText("Missing mandatory DSA parameters (P, Q or G).");
184 return;
185 }
186 byte[] array;
187 if (parameters.X == null)
188 {
189 array = parameters.Y;
190 if (array == null)
191 {
192 return;
193 }
194 }
195 byte[] array2 = parameters.Q;
196 byte[] array3 = parameters.G;
197 if (parameters.X != null)
198 {
199 return;
200 }
201 if (parameters.Y != null)
202 {
203 return;
204 }
205 BigInteger bigInteger = this.g;
206 BigInteger bigInteger2 = this.p;
209 if (parameters.J != null)
210 {
211 return;
212 }
213 BigInteger bigInteger4 = this.p;
214 if (array == null)
215 {
216 }
219 BigInteger bigInteger7 = this.q;
221 this.j_missing = true;
222 this.j = array;
223 int num;
224 if (parameters.Seed != null)
225 {
226 num = parameters.Counter;
227 this.counter = num;
228 return;
229 }
230 if (num == 0)
231 {
232 }
236 return;
237 }
238 else
239 {
240 string text2 = Locale.GetText("Keypair was disposed");
241 }
242 }
class f__AnonymousType0<< Count > j__TPar
static string GetText(string msg)
Definition Locale.cs:8
static BigInteger[] multiByteDivide(BigInteger bi1, BigInteger bi2)

References System.array, System.Security.Cryptography.DSAParameters.Counter, Mono.Security.Cryptography.DSAManaged.g, System.Security.Cryptography.DSAParameters.G, Locale.GetText(), System.Security.Cryptography.DSAParameters.J, j__TPar, Mono.Security.Cryptography.DSAManaged.m_disposed, Mono.Math.BigInteger.Kernel.multiByteDivide(), Mono.Security.Cryptography.DSAManaged.p, Mono.Security.Cryptography.DSAManaged.q, System.Security.Cryptography.DSAParameters.Q, System.Security.Cryptography.DSAParameters.Seed, System.text, System.Security.Cryptography.DSAParameters.X, and System.Security.Cryptography.DSAParameters.Y.