4 references to ValidKeySize
System.Security.Cryptography (4)
System\Security\Cryptography\AesCng.Windows.cs (1)
300if (bitLength > int.MaxValue || !ValidKeySize((int)bitLength))
System\Security\Cryptography\SymmetricAlgorithm.cs (3)
96if (bitLength > int.MaxValue || !ValidKeySize((int)bitLength)) 114if (!ValidKeySize(value)) 230if (bitLength > int.MaxValue || !ValidKeySize((int)bitLength))