7 overrides of KeySize
System.Security.Cryptography (7)
System\Security\Cryptography\AesCryptoServiceProvider.cs (1)
47public override int KeySize
System\Security\Cryptography\AesManaged.cs (1)
46public override int KeySize
System\Security\Cryptography\DESCryptoServiceProvider.Unix.cs (1)
67public override int KeySize
System\Security\Cryptography\RC2.cs (1)
39public override int KeySize
System\Security\Cryptography\RijndaelImplementation.cs (1)
65public override int KeySize
System\Security\Cryptography\RijndaelManaged.cs (1)
61public override int KeySize
System\Security\Cryptography\TripleDESCryptoServiceProvider.Wrap.cs (1)
45public override int KeySize
30 writes to KeySize
System.Security.Cryptography (16)
src\libraries\Common\src\System\Security\Cryptography\PasswordBasedEncryption.cs (8)
119cipher.KeySize = 128; 125cipher.KeySize = 128; 131cipher.KeySize = 40; 254cipher.KeySize = 128; 259cipher.KeySize = 192; 264cipher.KeySize = 256; 269cipher.KeySize = 192; 611aes.KeySize = correctKeySize * 8;
System\Security\Cryptography\AesCryptoServiceProvider.cs (1)
50set { _impl.KeySize = value; }
System\Security\Cryptography\AesManaged.cs (1)
49set { _impl.KeySize = value; }
System\Security\Cryptography\DESCryptoServiceProvider.Unix.cs (1)
70set { _impl.KeySize = value; }
System\Security\Cryptography\RC2.cs (1)
47base.KeySize = value;
System\Security\Cryptography\RijndaelImplementation.cs (1)
68set { _impl.KeySize = value; }
System\Security\Cryptography\RijndaelManaged.cs (1)
64set { _impl.KeySize = value; }
System\Security\Cryptography\SymmetricAlgorithm.cs (1)
100this.KeySize = (int)bitLength;
System\Security\Cryptography\TripleDESCryptoServiceProvider.Wrap.cs (1)
48set { _impl.KeySize = value; }
System.Security.Cryptography.Pkcs (14)
Internal\Cryptography\Pal\AnyOS\ManagedPal.cs (6)
108alg.KeySize = rc2Params.GetEffectiveKeyBits(); 146alg.KeySize = algorithmIdentifier.KeyLength; 150alg.KeySize = KeyLengths.Rc2_128Bit; 186alg.KeySize = 128; 190alg.KeySize = 192; 194alg.KeySize = 256;
src\libraries\Common\src\System\Security\Cryptography\PasswordBasedEncryption.cs (8)
119cipher.KeySize = 128; 125cipher.KeySize = 128; 131cipher.KeySize = 40; 254cipher.KeySize = 128; 259cipher.KeySize = 192; 264cipher.KeySize = 256; 269cipher.KeySize = 192; 611aes.KeySize = correctKeySize * 8;
21 references to KeySize
System.Security.Cryptography (14)
src\libraries\Common\src\System\Security\Cryptography\PasswordBasedEncryption.cs (5)
326int keySizeBytes = cipher.KeySize / 8; 545byte[] key = pbkdf2.GetBytes(cipher.KeySize / 8); 872if (cipher.KeySize > 256 || cipher.BlockSize > 256) 875$"Unexpected cipher characteristics by {cipher.GetType().FullName}, KeySize={cipher.KeySize}, BlockSize={cipher.BlockSize}"); 886Span<byte> key = stackalloc byte[cipher.KeySize / 8];
System\Security\Cryptography\AesCryptoServiceProvider.cs (1)
49get { return _impl.KeySize; }
System\Security\Cryptography\AesImplementation.cs (1)
37Key = RandomNumberGenerator.GetBytes(KeySize / BitsPerByte);
System\Security\Cryptography\AesManaged.cs (1)
48get { return _impl.KeySize; }
System\Security\Cryptography\DESCryptoServiceProvider.Unix.cs (1)
69get { return _impl.KeySize; }
System\Security\Cryptography\DesImplementation.cs (1)
48byte[] key = new byte[KeySize / BitsPerByte];
System\Security\Cryptography\RijndaelImplementation.cs (1)
67get { return _impl.KeySize; }
System\Security\Cryptography\RijndaelManaged.cs (1)
63get { return _impl.KeySize; }
System\Security\Cryptography\TripleDESCryptoServiceProvider.Wrap.cs (1)
47get { return _impl.KeySize; }
System\Security\Cryptography\TripleDesImplementation.cs (1)
47Key = RandomNumberGenerator.GetBytes(KeySize / BitsPerByte);
System.Security.Cryptography.Pkcs (6)
Internal\Cryptography\Pal\AnyOS\ManagedPal.Encrypt.cs (1)
161Rc2CbcParameters rc2Params = new Rc2CbcParameters(alg.IV, alg.KeySize);
src\libraries\Common\src\System\Security\Cryptography\PasswordBasedEncryption.cs (5)
326int keySizeBytes = cipher.KeySize / 8; 545byte[] key = pbkdf2.GetBytes(cipher.KeySize / 8); 872if (cipher.KeySize > 256 || cipher.BlockSize > 256) 875$"Unexpected cipher characteristics by {cipher.GetType().FullName}, KeySize={cipher.KeySize}, BlockSize={cipher.BlockSize}"); 886Span<byte> key = stackalloc byte[cipher.KeySize / 8];
System.Security.Cryptography.Xml (1)
System\Security\Cryptography\Xml\EncryptedXml.cs (1)
635switch (symKey.KeySize)