2005-01-10 Sebastien Pouliot <sebastien@ximian.com>
authorSebastien Pouliot <sebastien@ximian.com>
Tue, 11 Jan 2005 01:18:39 +0000 (01:18 -0000)
committerSebastien Pouliot <sebastien@ximian.com>
Tue, 11 Jan 2005 01:18:39 +0000 (01:18 -0000)
commit856abd7608cbfe0746c63bcf597bff6ff1d8953c
tree48dd3cdfd5aa696292d572f8d150a5daeefd5a6a
parent1633c9eacc0ead66362a1979cf78f8b39278c08a
2005-01-10  Sebastien Pouliot  <sebastien@ximian.com>

* CryptoConfig.cs: Change the OID for SHA-2 algorithms to match 2.0
and added new OID for asymmetric and symmetric algorithms.
* CspKeyContainerInfo.cs: Added CryptoKeySecurity property. This will
always return null until we support access control for key containers.
* CspParameters.cs: Added new constructors and propertys for access
control and password (2.0).
* DSASignatureDeformatter.cs: Throw ArgumentNullException in NET_2_0
if a null key is specified.
* DSASignatureFormatter.cs: Throw ArgumentNullException in NET_2_0 if
a null key is specified.
* HashAlgorithm.cs: Fix the reported exceptions for output buffers.
* HMAC.cs: Change the .Clear (which calls Dispose) to a .Initialize.
* MACTripleDES.cs: Removed unrequired private field _padding.
* PasswordDeriveBytes.cs: Added 4 new constructors where the password
is a byte[] (as it seems MS won't be using SecureString for this).
* RIPEMD160Managed.cs: Removed overriden Dispose method to match 2.0.
Clear buffers when initializing (e.g. re-using the hash instance).
* Rfc2898DeriveBytes.cs: Added a new constructor where the password
is a byte[] (as it seems MS won't be using SecureString for this).
* RSAPKCS1SignatureDeformatter.cs: Throw ArgumentNullException in
NET_2_0 if a null key is specified.
* RSAPKCS1SignatureFormatter.cs: Throw ArgumentNullException in
NET_2_0 if a null key is specified.
* ToBase64Transform.cs: Fix the reported exceptions for output buffers.

svn path=/trunk/mcs/; revision=38667
15 files changed:
mcs/class/corlib/System.Security.Cryptography/ChangeLog
mcs/class/corlib/System.Security.Cryptography/CryptoConfig.cs
mcs/class/corlib/System.Security.Cryptography/CspKeyContainerInfo.cs
mcs/class/corlib/System.Security.Cryptography/CspParameters.cs
mcs/class/corlib/System.Security.Cryptography/DSASignatureDeformatter.cs
mcs/class/corlib/System.Security.Cryptography/DSASignatureFormatter.cs
mcs/class/corlib/System.Security.Cryptography/HMAC.cs
mcs/class/corlib/System.Security.Cryptography/HashAlgorithm.cs
mcs/class/corlib/System.Security.Cryptography/MACTripleDES.cs
mcs/class/corlib/System.Security.Cryptography/PasswordDeriveBytes.cs
mcs/class/corlib/System.Security.Cryptography/RIPEMD160Managed.cs
mcs/class/corlib/System.Security.Cryptography/RSAPKCS1SignatureDeformatter.cs
mcs/class/corlib/System.Security.Cryptography/RSAPKCS1SignatureFormatter.cs
mcs/class/corlib/System.Security.Cryptography/Rfc2898DeriveBytes.cs
mcs/class/corlib/System.Security.Cryptography/ToBase64Transform.cs