Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ TryGuessRsaKeySpec()

static bool Internal.Cryptography.Pal.CertificatePal.TryGuessRsaKeySpec ( CspParameters cspParameters,
out int keySpec )
inlinestaticprivate

Definition at line 966 of file CertificatePal.cs.

967 {
968 int[] array = new int[4] { 1, 24, 12, 2 };
969 int[] array2 = array;
970 foreach (int providerType in array2)
971 {
972 cspParameters.ProviderType = providerType;
973 try
974 {
976 {
977 keySpec = cspParameters.KeyNumber;
978 return true;
979 }
980 }
982 {
983 }
984 }
985 keySpec = 0;
986 return false;
987 }

References System.array.

Referenced by Internal.Cryptography.Pal.CertificatePal.TryGuessKeySpec().