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