2 references to ValidKeySize
System.Security.Cryptography (2)
System\Security\Cryptography\SymmetricAlgorithm.cs (2)
96if (bitLength > int.MaxValue || !ValidKeySize((int)bitLength)) 114if (!ValidKeySize(value))