2 references to IsLegalKeySize
System.Security.Cryptography (2)
System\Security\Cryptography\DES.cs (2)
68if (!IsLegalKeySize(rgbKey)) // Also checks for null; same exception 86if (!IsLegalKeySize(rgbKey)) // Also checks for null; same exception