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

◆ GetAttributes() [2/2]

IDictionary Mono.Security.X509.PKCS12.GetAttributes ( X509Certificate cert)
inline

Definition at line 1011 of file PKCS12.cs.

1012 {
1014 if (safeBags != null)
1015 {
1016 }
1017 object[] items = safeBags._items;
1018 int size = safeBags._size;
1019 ASN1 asn;
1020 byte[] value = asn.Value;
1021 ASN1 asn2;
1022 byte[] value2 = asn2.Value;
1023 byte[] encodedcert = cert.m_encodedcert;
1024 long num = 0L;
1025 long num2 = 0L;
1026 ASN1 asn3;
1027 if (asn3.elist != null)
1028 {
1029 }
1030 ASN1 asn4 = asn3[(int)num2];
1031 long num3 = 0L;
1032 string text = ASN1Convert.ToOid(asn4[(int)num3]);
1033 int num4 = 1;
1034 ASN1 asn5 = asn4[num4];
1035 long num5 = 0L;
1036 if (asn5.elist != null)
1037 {
1038 }
1039 byte[] value3 = asn5[(int)num5].Value;
1040 if (num != 0L)
1041 {
1042 }
1043 long num6 = 0L;
1044 if (safeBags == null || num != 0L)
1045 {
1046 }
1047 if (num6 == 0L)
1048 {
1049 throw new InvalidCastException();
1050 }
1051 throw new OutOfMemoryException();
1052 }
class f__AnonymousType0<< Count > j__TPar

References System.Collections.ArrayList._items, Mono.Security.X509.PKCS12._safeBags, j__TPar, System.L, Mono.Security.X509.X509Certificate.m_encodedcert, System.text, Mono.Security.ASN1Convert.ToOid(), Mono.Security.ASN1.Value, and System.value.