* DES.cs:
* DESCryptoServiceProvider.cs:
* RC2.cs:
* RC2CryptoServiceProvider.cs:
* TripleDES.cs:
* TripleDESCryptoServiceProvider.cs:
Remove !MOONLIGHT check since we need those for SSL
svn path=/trunk/mcs/; revision=157053
2010-01-07 Sebastien Pouliot <[email protected]>
* Convert.cs: Fix line endings in ToBase64String (bug #568778)
and also the default line length. Code changed to not require
a BinaryReader over a MemoryStream to reduce memory requirements.
In Test/System:
2010-01-07 Sebastien Pouliot <[email protected]>
* ConvertTest.cs: Add test case for #568778 and the default
line length.
In System.Security.Cryptography:
2010-01-07 Sebastien Pouliot <[email protected]>
* ToBase64Transform.cs: Static-ify some methods to make it easier
to use from System.Convert
svn path=/trunk/mcs/; revision=149171
2009-09-22 Sebastien Pouliot <[email protected]>
* CryptoStreamTest.cs: Add (nunit-ized) test cases provided by
Santa Marta (via Atsushi) as repro for bugs #539288 and #539229
In System.Security.Cryptography:
2009-09-22 Sebastien Pouliot <[email protected]>
* CryptoStream.cs: Fix [Input|Output]BlockSize for custom streams.
Patches by Santa Marta (via Atsushi).
[Fix bug #539288 and #539229]
svn path=/trunk/mcs/; revision=142435
* CryptoConfig_2_1.cs: Add SHA1 support in MapNameToOID in order to
be able to verify the codecs signature integrity.
svn path=/trunk/mcs/; revision=138901
2009-04-29 Sebastien Pouliot <[email protected]>
* PKCS1.cs: Make this work under NET_2_1 where SHA384 and SHA512
are not available in the BCL.
In System.Security.Cryptography:
2009-04-29 Sebastien Pouliot <[email protected]>
* DES.cs, DESCryptoServiceProvider.cs: Do not include in NET_2_1
* HMACMD5.cs, HMACRIPEMD160.cs, HMACSHA384.cs, HMACSHA512.cs: Do
not include in NET_2_1
* MACTripleDES.cs: Do not include in NET_2_1
* RC2.cs, RC2CryptoServiceProvider.cs: Do not include in NET_2_1
* Rijndael.cs, RijndaelManaged.cs, RijndaelManagedTransform.cs:
Do not include in NET_2_1 (AES is available in System.Core.dll)
* RIPEMD160.cs, RIPEMD160Managed.cs: Do not include in NET_2_1
* SHA1CryptoServiceProvider.cs: Do not include in NET_2_1, however
SHA1Managed is available.
* SHA384.cs, SHA384Managed.cs: Do not include in NET_2_1
* SHA512.cs, SHA512Managed.cs: Do not include in NET_2_1
* TripleDES.cs, TripleDESCryptoServiceProvider.cs: Do not include
in NET_2_1
svn path=/trunk/mcs/; revision=133013
2009-04-29 Sebastien Pouliot <[email protected]>
* corlib.dll.sources: Add CryptoConfig_2_1.cs (partial class) to
the build
In System.Security.Cryptography:
2009-04-29 Sebastien Pouliot <[email protected]>
* CryptoConfig.cs: Change to partial class and don't include this
part (#ifdef out) in the NET_2_1 build.
* CryptoConfig_2_1.cs: Partial class that contains only what's
needed for Moonlight (NET_2_1). This disallow dynamically replacing
cryptographic algorithms using machine.config
svn path=/trunk/mcs/; revision=132992
* RSAPKCS1KeyExchangeFormatter.cs: Throw an ArgumentNullException if the
key is null in SetKey, and also in the constructor with the key
as parameter. Fixes the bug #408738.
svn path=/trunk/mcs/; revision=107830
* RSACryptoServiceProvider.cs: Remove MonoTODO that were fixed a
while ago. Provide better MonoTODO messages for the next version
of MoMA.
* RijndaelManagedTransform.cs: Provide better MonoTODO messages
for the next version of MoMA.
svn path=/trunk/mcs/; revision=104581
* AsymmetricAlgorithm.cs: Add shared GetNamedParam helper method.
* DSA.cs, RSA.cs: Rework FromXmlString to be more "careless" like
MS implementation. Fix#355464
svn path=/trunk/mcs/; revision=101003
* SHA1CryptoServiceProvider.cs: Reduce by half the number of required
memory allocations to produce a hash (in >90% of the cases) by reusing
an existing memory buffer (instead of always allocating a new one).
svn path=/trunk/mcs/; revision=77161
* DSACryptoServiceProvider.cs: Implement the ImportCspBlob and
ExportCspBlob methods by calling into CryptoConvert.
svn path=/trunk/mcs/; revision=76980
* Rfc2898DeriveBytes.cs: Fixed endian bug in F (thanks to Roei Erez)
and reduced the number of memory allocations.
svn path=/trunk/mcs/; revision=74843
* CryptoStream.cs: Rework Write to buffer the last block correctly.
The new code also reduce memory allocations. Fix for #81008.
svn path=/trunk/mcs/; revision=73712
* HMAC.cs: Handle BlockSizeValue correctly.
* HMACSHA384.cs: Add support for forthcoming ProduceLegacyHmacValues
property (in the next service pack).
* HMACSHA512.cs: Add support for forthcoming ProduceLegacyHmacValues
property (in the next service pack).
svn path=/trunk/mcs/; revision=72894
* CryptoConfig.cs: Add support for (2.0) X.509 extensions in
CreateFromName method. This allows the framework to be extensible with
new certificate extensions (syntax is missing from machine.config).
svn path=/trunk/mcs/; revision=67524
* CryptoConfig.cs: Use SmallXmlParser with a custom handler to reduce
memory requirements to process machine.config. Fix#79653 (beagle).
svn path=/trunk/mcs/; revision=66639
* CryptoConfig.cs: Accept lower/mixed-case algorithm names in
CreateFromName and MapNameToOID methods (fix bug #79641). Removed OID
mappings in 2.0 for DSA and 3DES (they were part of the betas but not
in the final 2.0 release of the framework).
svn path=/trunk/mcs/; revision=66547
* RSAOAEPKeyExchangeDeformatter.cs: Throw a CryptographicException,
instead of returning null, when a padding error occurs on decryption.
* RSAPKCS1KeyExchangeDeformatter.cs: Throw a CryptographicException,
instead of returning null, when a padding error occurs on decryption.
svn path=/trunk/mcs/; revision=65098
* AsymmetricSignatureDeformatter.cs: Set the hash algorithm name from
the hash instance. Fix for bug #78744 by Diego Mesa Tabares.
svn path=/trunk/mcs/; revision=62172
* HashAlgorithm.cs: Changed the order of BlockCopy + HashCore to
HashCore + BlockCopy. Fx 2.0 now allows using a null output buffer
(without exception) while previous 1.x versions crashed the runtime
(mono won't crash the runtime, so we always do like 2.0).
svn path=/trunk/mcs/; revision=61765
* AsymmetricKeyExchangeDeformatter.cs: Under 2.0 the ctor is
protected.
* AsymmetricKeyExchangeFormatter.cs: Under 2.0 the ctor is protected.
* AsymmetricSignatureDeformatter.cs: Under 2.0 the ctor is protected.
* AsymmetricSignatureFormatter.cs: Under 2.0 the ctor is protected.
* DES.cs: Under 2.0 the ctor is protected.
* HashAlgorithm.cs: Under 2.0 the HashValue field is protected
internal.
* RandomNumberGenerator.cs: Under 2.0 the ctor is protected.
* RC2.cs: Under 2.0 the ctor is protected.
* Rijndael.cs: Under 2.0 the ctor is protected.
* RSA.cs: Under 2.0 the ctor is protected.
* SHA256.cs: Under 2.0 the ctor is protected.
* SHA384.cs: Under 2.0 the ctor is protected.
* SHA512.cs: Under 2.0 the ctor is protected.
* SymmetricAlgorithm.cs: Under 2.0 the ctor is protected.
* TripleDES.cs: Under 2.0 the ctor is protected.
svn path=/trunk/mcs/; revision=61270