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