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

◆ FindCertificateRoot()

X509Certificate Mono.Security.X509.X509Chain.FindCertificateRoot ( X509Certificate potentialRoot)
inlineprivate

Definition at line 178 of file X509Chain.cs.

179 {
180 if (potentialRoot != null)
181 {
182 int num = this.TrustAnchors.IndexOf(potentialRoot);
184 bool flag = enumerator.MoveNext();
185 X509Certificate x509Certificate = enumerator.Current;
186 bool flag2 = this.IsParent(potentialRoot, x509Certificate);
187 long num2 = 0L;
188 int num3 = 7;
189 if (enumerator != null)
190 {
191 }
192 if (num2 == 0L && num3 == 0)
193 {
194 bool isSelfSigned = potentialRoot.IsSelfSigned;
195 int num4 = 32;
197 throw new OutOfMemoryException();
198 }
199 }
200 else
201 {
202 int num5 = 1;
204 }
205 throw new OutOfMemoryException();
206 }
class f__AnonymousType0<< Count > j__TPar
new X509CertificateCollection.X509CertificateEnumerator GetEnumerator()
X509CertificateCollection TrustAnchors
Definition X509Chain.cs:52
bool IsParent(X509Certificate child, X509Certificate parent)
Definition X509Chain.cs:233

References Mono.Security.X509.X509CertificateCollection.X509CertificateEnumerator.Current, Mono.Security.X509.X509CertificateCollection.GetEnumerator(), Mono.Security.X509.X509CertificateCollection.IndexOf(), Mono.Security.X509.X509Chain.IsParent(), j__TPar, System.L, Mono.Security.X509.X509CertificateCollection.X509CertificateEnumerator.MoveNext(), and Mono.Security.X509.X509Chain.TrustAnchors.