11 references to ValidKeySize
mscorlib (6)
system\security\cryptography\des.cs (1)
56if (!ValidKeySize(value.Length * 8)) { // must convert bytes to bits
system\security\cryptography\rc2.cs (1)
54if (ValidKeySize(value))
system\security\cryptography\rc2cryptoserviceprovider.cs (1)
126if (!ValidKeySize(keySizeValue))
system\security\cryptography\symmetricalgorithm.cs (2)
141if (!ValidKeySize(value.Length * 8)) 161if (!ValidKeySize(value))
system\security\cryptography\tripledes.cs (1)
55if (!ValidKeySize(value.Length * 8)) { // must convert bytes to bits
System.Core (5)
System\Security\Cryptography\AesCryptoServiceProvider.cs (3)
101if (!ValidKeySize(keyValue.Length * 8)) { 164if (!ValidKeySize(key.Length * 8)) { 230if (!ValidKeySize(key.Length * 8)) {
System\Security\Cryptography\AesManaged.cs (2)
95if (!ValidKeySize(key.Length * 8)) { 116if (!ValidKeySize(key.Length * 8)) {