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

◆ TryGuessDsaKeySpec()

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

Definition at line 989 of file CertificatePal.cs.

990 {
991 int[] array = new int[2] { 13, 3 };
992 int[] array2 = array;
993 foreach (int providerType in array2)
994 {
995 cspParameters.ProviderType = providerType;
996 try
997 {
999 {
1000 keySpec = cspParameters.KeyNumber;
1001 return true;
1002 }
1003 }
1005 {
1006 }
1007 }
1008 keySpec = 0;
1009 return false;
1010 }

References System.array.

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