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

◆ Process()

void System.Security.Cryptography.X509Certificates.X509ChainImplMono.Process ( int n)
inlineprivate

Definition at line 335 of file X509ChainImplMono.cs.

336 {
337 X509ChainElement x509ChainElement = this.elements[n];
338 X509Certificate2 certificate = x509ChainElement.certificate;
339 X509Certificate monoCertificate = X509Helper2.GetMonoCertificate(certificate);
341 if (monoCertificate == null)
342 {
343 X509ChainElementCollection x509ChainElementCollection = this.elements;
344 X509ChainElement x509ChainElement2;
345 X509Certificate monoCertificate2 = X509Helper2.GetMonoCertificate(x509ChainElement2.certificate);
346 }
347 AsymmetricAlgorithm asymmetricAlgorithm = this.working_public_key;
348 if (asymmetricAlgorithm != null)
349 {
350 return;
351 }
352 AsymmetricAlgorithm key = certificate.PublicKey.Key;
353 if (key != null)
354 {
355 bool flag = X509Helper2.GetMonoCertificate(certificate).VerifySignature(key);
356 }
357 if (asymmetricAlgorithm != null)
358 {
360 }
361 X509ChainStatusFlags compressed_status_flags = x509ChainElement.compressed_status_flags;
362 x509ChainElement.compressed_status_flags = compressed_status_flags;
363 X509ChainElement x509ChainElement3 = this.bce_restriction;
364 DateTime notBefore = certificate.GetNotBefore();
365 X509ChainElement x509ChainElement4 = this.bce_restriction;
366 DateTime notAfter = certificate.GetNotAfter();
369 if (asymmetricAlgorithm != null)
370 {
371 X500DistinguishedName issuerName = certificate.IssuerName;
372 X500DistinguishedName x500DistinguishedName = this.working_issuer_name;
373 bool flag2 = X500DistinguishedName.AreEqual(issuerName, x500DistinguishedName);
376 return;
377 }
378 }
class f__AnonymousType0<< Count > j__TPar
static bool AreEqual(X500DistinguishedName name1, X500DistinguishedName name2)

References System.Security.Cryptography.X509Certificates.X509ChainElementCollection._list, System.Security.Cryptography.X509Certificates.X500DistinguishedName.AreEqual(), System.Security.Cryptography.X509Certificates.X509ChainImplMono.bce_restriction, System.Security.Cryptography.X509Certificates.X509ChainImplMono.elements, System.Security.Cryptography.X509Certificates.X509Helper2.GetMonoCertificate(), System.Security.Cryptography.X509Certificates.X509Certificate.GetNotAfter(), System.Security.Cryptography.X509Certificates.X509Certificate.GetNotBefore(), System.Security.Cryptography.X509Certificates.X509Certificate2.IssuerName, j__TPar, System.key, System.Security.Cryptography.X509Certificates.PublicKey.Key, System.list, System.Security.Cryptography.X509Certificates.X509Certificate2.PublicKey, System.Security.Cryptography.X509Certificates.X509ChainImplMono.working_issuer_name, and System.Security.Cryptography.X509Certificates.X509ChainImplMono.working_public_key.