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

◆ IsLegalSize() [13/13]

static bool System.Security.Cryptography.KeySizeHelpers.IsLegalSize ( this int size,
KeySizes[] legalSizes,
out bool validatedByZeroSkipSizeKeySizes )
inlinestatic

Definition at line 33 of file KeySizeHelpers.cs.

34 {
35 for (int i = 0; i < legalSizes.Length; i++)
36 {
37 if (size.IsLegalSize(legalSizes[i], out validatedByZeroSkipSizeKeySizes))
38 {
39 return true;
40 }
41 }
42 validatedByZeroSkipSizeKeySizes = false;
43 return false;
44 }