Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2004-06-11Add license and copyright to all source files in corlibDuncan Mak
svn path=/trunk/mcs/; revision=29249
2004-06-10* ToBase64Transform.cs: Uncomment finalizer to fix public APIGert Driesen
signature svn path=/trunk/mcs/; revision=29204
2004-05-292004-05-29 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* CspProviderFlags.cs: Reverted previous patch as UseExistingKey isn't part of the 1.0/1.1 framework. svn path=/trunk/mcs/; revision=28440
2004-05-29* CspProviderFlags.cs: Added missing enum field UseExistingKeyGert Driesen
svn path=/trunk/mcs/; revision=28433
2004-05-272004-05-27 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* HashAlgorithm.cs: Added missing exception handling to ComputeHash, TransformBlock and TransformFinalBlock. svn path=/trunk/mcs/; revision=28252
2004-05-272004-05-26 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* CryptoStream.cs: Fixed possible integer overflow. * FromBase64Transform.cs: Better exception handling and fixed possible integer overflow. * ToBase64Transform.cs: Better exception handling and fixed possible integer overflow. svn path=/trunk/mcs/; revision=28213
2004-05-262004-05-26 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* RNGCryptoServiceProvider.cs: Changed RNG interface with the runtime so it could be used in a thread-safe way with CryptoAPI. svn path=/trunk/mcs/; revision=28143
2004-05-072004-05-07 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* DSACryptoServiceProvider.cs: Fixed SignData to hash data before signing it (thanks to Jens Thiel for spotting this). svn path=/trunk/mcs/; revision=26932
2004-05-072004-05-07 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* RSACryptoServiceProvider.cs: Fixed OID related exception in SignData. svn path=/trunk/mcs/; revision=26923
2004-05-072004-05-07 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* ToBase64Transform.cs: Input block may be smaller than a full block when calling TransformFinalBlock (fix 2 CryptoStream unit tests). svn path=/trunk/mcs/; revision=26911
2004-05-072004-05-07 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* CipherMode.cs: Moved XML comments to monodoc. * CryptoConfig.cs: Changed Array.Copy to Buffer.BlockCopy. * CryptoStream.cs: Changed Array.Copy to Buffer.BlockCopy. * DSA.cs: Changed Array.Copy to Buffer.BlockCopy. * ICryptoTransform.cs: Moved XML comments to monodoc. * PasswordDeriveBytes.cs: Changed Array.Copy to Buffer.BlockCopy. * FromBase64Transform.cs: Moved XML comments to monodoc. svn path=/trunk/mcs/; revision=26907
2004-05-062004-05-06 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* RSAOAEPKeyExchangeDeformatter.cs: Fixed wrt completed unit tests. * RSAOAEPKeyExchangeFormatter.cs: Fixed wrt completed unit tests. * RSAPKCS1KeyExchangeDeformatter.cs: Fixed wrt completed unit tests. Added globalization to exceptions. * RSAPKCS1KeyExchangeFormatter.cs: Fixed wrt completed unit tests. * RSAPKCS1SignatureDeformatter.cs: Fixed wrt completed unit tests. Added globalization to exceptions. * RSAPKCS1SignatureFormatter.cs: Fixed wrt completed unit tests. Added globalization to exceptions. svn path=/trunk/mcs/; revision=26862
2004-05-062004-05-06 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* Rijndael.cs: Source clean up. * RijndaelManaged.cs: Moved XML comments to monodoc. Added globalization to exceptions. svn path=/trunk/mcs/; revision=26849
2004-05-062004-05-06 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* RNGCryptoServiceProvider.cs: Removed TODO and documented them in mono doc. Now call runtime when a seed is provided. * RSA.cs: Added globalization to exceptions. Removed check for <RSAKeyValue> as it is not checked by MS implementation. * SignatureDescription.cs: Moved XML comments to monodoc. Added globalization to exceptions. Removed TODO and added notes to monodoc. * SymmetricAlgorithm.cs: Moved XML comments to monodoc. Added globalization to exceptions. * ToBase64Tranform.cs: Added missing exception handling. Moved XML comments to monodoc. svn path=/trunk/mcs/; revision=26848
2004-05-062004-05-06 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* TripleDES.cs: Added globalization to exceptions. * TripleDESCryptoServiceProvider.cs: Changed Array.Copy to Buffer.BlockCopy. Zeroize decrypted data. svn path=/trunk/mcs/; revision=26846
2004-05-062004-05-06 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* SHA1.cs: Moved XML comments to monodoc. * SHA1CryptoServiceProvider.cs: Moved XML comments to monodoc. Removed CLSCompliance attributes from private fields. * SHA256.cs: Moved XML comments to monodoc. * SHA256Managed.cs: Moved XML comments to monodoc. Removed CLSCompliance attributes from private fields. * SHA384.cs: Moved XML comments to monodoc. * SHA512.cs: Moved XML comments to monodoc. svn path=/trunk/mcs/; revision=26845
2004-05-062004-05-06 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* RC2.cs: Fixed KeySize to change it's value and the EffectiveKeySize when the key is changed. * RC2CryptoServiceProvider.cs: Added globalization to exceptions. Fixed the KeySize must be equal with EffectiveKeySize to match MS implementation. svn path=/trunk/mcs/; revision=26844
2004-05-052004-05-05 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* HashAlgorithm.cs: Moved XML comments to monodoc. Added globalization to exceptions. * KeyedHashAlgorithm.cs: Added globalization to exceptions. * KeySizes.cs: Moved XML comments to monodoc. * MaskGenerationMethod.cs: Source clean up. * MD5.cs: Moved XML comments to monodoc. * MD5CryptoServiceProvider.cs: Removed CLSCompliance attributes from private fields. Changed constants from enum to array. Zeroize data on Dispose. * PaddingMode.cs: Moved XML comments to monodoc. * PasswordDeriveBytes.cs: Added globalization to exceptions. Removed TODO and documented as "not supported" in MonoDoc. * RandomNumberGenerator.cs: Source clean up. svn path=/trunk/mcs/; revision=26773
2004-05-052004-05-05 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* DSACryptoServiceProvider.cs: Added globalization to exceptions. * HMACSHA1.cs: Cleanup. * SHA1CryptoServiceProvider.cs: Removed unused private methods. * SHA1Managed.cs: Removed unused private methods. * SHA384Managed.cs: Don't zeroize buffer on first initialization. * SHA512Managed.cs: Don't zeroize buffer on first initialization. svn path=/trunk/mcs/; revision=26763
2004-05-052004-05-05 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* SHA256Managed.cs: Updated to use shared constants. * SHA384Managed.cs: Updated to use shared constants. * SHA512Managed.cs: Updated to use shared constants. * SHAConstants.cs: New. Shared constants for SHA implementations. svn path=/trunk/mcs/; revision=26759
2004-05-052004-05-05 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* Base64Constants.cs: New. Convert code into tables for better base64 performance. * FromBase64Transform.cs: Updated to use the new tables. Source code cleanup. * ToBase64Transform.cs: Updated to use the new tables. Added globalization. Commented finalizer as it isn't required in this case. svn path=/trunk/mcs/; revision=26753
2004-05-032004-05-03 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* CryptoConfig.cs: Specify version and public key token when loading System.Security.dll for XML Digital Signature classes. svn path=/trunk/mcs/; revision=26629
2004-04-30const/readonly lovin'Ben Maurer
svn path=/trunk/mcs/; revision=26349
2004-04-292004-04-29 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* DES.cs: Removed redundant weak/semi-weak key check in Key property. * DESCryptoServiceProvider.cs: Implementation already had 100% coverage. svn path=/trunk/mcs/; revision=26294
2004-04-282004-04-28 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* DSACryptoServiceProvider.cs: Changed delegate signature. * RSACryptoServiceProvider.cs: Changed delegate signature. svn path=/trunk/mcs/; revision=26164
2004-04-282004-04-28 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* DSA.cs: Moved XML comments to monodoc. Added globalization to exceptions. Already had 100% coverage. * DSAParameters.cs: Moved XML comments to monodoc. * DSASignatureDeformetter.cs: Added globalization to exceptions. Limited catch to expected exception. Already had 100% coverage. * DSASignatureFormatter.cs: Added globalization to exceptions. Limited catch to expected exception. Already had 100% coverage. svn path=/trunk/mcs/; revision=26135
2004-04-272004-04-26 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* CryptoConfig.cs: Oops - forgot to commit svn path=/trunk/mcs/; revision=26026
2004-04-272004-04-26 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* DES.cs: Fixes to weak/semi-weak checking to pass new unit tests (it requires to set odd parity on keys before comparing). svn path=/trunk/mcs/; revision=26025
2004-04-272004-04-26 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* AsymmetricAlgorithm.cs: Moved XML comments to monodoc. Added globalization to exceptions. Already had 100% coverage. * AsymmetricKeyExchangeDeformatter.cs: Moved XML comments to monodoc. Already had 100% coverage. * AsymmetricKeyExchangeFormatter.cs: Moved XML comments to monodoc. Already had 100% coverage. * AsymmetricSignatureDeformatter.cs: Moved XML comments to monodoc. Already had 100% coverage. * AsymmetricSignatureFormatter.cs: Moved XML comments to monodoc. Already had 100% coverage. * CryptoAPITransform.cs: Unused by Mono (added note to monodoc). Class will stay at 0% coverage. * CryptoConfig.cs: Added globalization to exceptions. 98% coverage. * CryptographicException.cs: Added globalization to exceptions. Already had 100% coverage. * CryptoStream.cs: Added globalization to exceptions. Removed (unused) field _previousBlock to get 100% coverage. * CspParameters.cs: Moved XML comments to monodoc. Already had 100% coverage. * CspProviderFlags.cs: Moved XML comments to monodoc. * DeriveBytes.cs: Moved XML comments to monodoc. Already had 100% coverage. svn path=/trunk/mcs/; revision=26022
2004-04-252004-04-25 Andreas Nahr <ClassDevelopment@A-SoftTech.com>Andreas N
* DSACryptoServiceProvider.cs: Call invariant compare svn path=/trunk/mcs/; revision=25952
2004-04-232004-04-22 Martin Baulig <martin@ximian.com>Martin Baulig
Renamed the `NET_1_2' conditional to `NET_2_0' in all files. svn path=/trunk/mcs/; revision=25877
2004-04-092004-04-08 Bernie Solomon <bernard@ugsolutions.com>Bernie Solomon
* DSA.cs: Use Mono.Security.BitConverterLE svn path=/trunk/mcs/; revision=25241
2004-04-062004-04-05 Bernie Solomon <bernard@ugsolutions.com>Bernie Solomon
* DESCryptoServiceProvider.cs: Use BitConverter.IsLittleEndian to fix for big endian machines. svn path=/trunk/mcs/; revision=25066
2004-03-102004-03-10 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* FromBase64Transform.cs: Now throws ObjectDisposedException and return true for CanReuseTransform (as MS implementation). svn path=/trunk/mcs/; revision=23895
2004-03-092004-03-09 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* DSA.cs : fixed incorrectly modified catch for debugging. svn path=/trunk/mcs/; revision=23836
2004-03-092004-03-09 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* DSA.cs : In ToXmlString(), sequence of Seed and PgenCounter is optional. svn path=/trunk/mcs/; revision=23835
2004-02-262004-02-26 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* DES.cs: Same fix as for SymmetricAlgorithm (get_Key is overridden to check for weak keys). Also ensured that no weak keys would be generated. * SymmetricAlgorithm.cs: Return a copy of the key (and IV) so it doesn't get destroyed when dispose is called (in this case the key zeroization is the caller's responsability). Match MS implementation. * TripleDES.cs: Same fix as for SymmetricAlgorithm (get_Key is overridden to check for weak keys). Fix bugzilla #54868. svn path=/trunk/mcs/; revision=23484
2004-02-122004-02-12 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* CryptoStream.cs: Remove the _blockSize assumptions because some Transforms could be different on Input/Output. Added a special case for cascading CryptoStreams in FlushFinalBlock. svn path=/trunk/mcs/; revision=23024
2004-02-092004-02-09 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* SymmetricAlgorithm.cs: Reintroduced the patch from 2003-08-24 to fix IV length exception for stream ciphers (e.g. RC4). I overwrote it by accident some time ago :( svn path=/trunk/mcs/; revision=22915
2004-02-092004-02-09 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* DSACryptoServiceProvider.cs: Fixed support for key pair persistence. It now requires (like MS) to call Clear to delete an existing container. PersistKeyInCsp default value also changes if a CspParameters is supplied (or not) to the constructor. * RSACryptoServiceProvider.cs: Same fixes as DSA. svn path=/trunk/mcs/; revision=22899
2004-02-082004-02-08 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* HashAlgorithm.cs: Changed the ComputeHash(Stream) method to (a) not allocate the whole stream memory (big memory saver as suggested by Peter Williams in bugzilla entry #54022) and (b) to never use Stream. Length and Stream.Position because they aren't implemented for every stream class (similar issue to the CryptoStream patch). * MD5CryptoServiceProvider.cs: Moved a buffer allocation from ProcessBlock to constructor to reduce memory allocation. Optimization suggested by Peter Williams in bugzilla entry #54024. svn path=/trunk/mcs/; revision=22881
2004-02-062004-02-06 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* DSACryptoServiceProvider.cs: Added keypair persistence support. Corrected dispose so object cannot be disposed multiple time. Added PublicOnly property (as internal before 1.2, public after). * RSACryptoServiceProvider.cs: Added keypair persistence support. Corrected dispose so object cannot be disposed multiple time. Added PublicOnly property (as internal before 1.2, public after). svn path=/trunk/mcs/; revision=22844
2004-02-062004-02-06 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* SymmetricAlgorithm.cs: Removed class SymmetricTransform from file and moved it to Mono.Security.Cryptography namespace. The transform class will also be included in Mono.Security assembly. svn path=/trunk/mcs/; revision=22835
2004-02-062004-02-06 David Sheldon <dave-mono@earth.li>David Sheldon
* FromBase64Transform.cs: Improved code layout to match coding style, and removed the Byte comparison with -1. svn path=/trunk/mcs/; revision=22833
2004-02-042004-02-04 Sebastien Pouliot <spouliot@videotron.ca>Sebastien Pouliot
* CryptoStream.cs: New implementation - should fix all known issues with the class (Read/WriteByte, reading by non-multiple of the block size, using Stream.Length and Stream.Position ...). * SymmetricAlgorithm.cs: Return an empty array when there's nothing to return (required for CryptoStream to work). svn path=/trunk/mcs/; revision=22770
2004-01-31Oops, forgot to make this change before committing.David Sheldon
2003-01-31 David Sheldon <dave-mono@earth.li> * FromBase64Transform.cs: Removed needless catch and rethrow. svn path=/trunk/mcs/; revision=22655
2004-01-312003-01-31 David Sheldon <dave-mono@earth.li>David Sheldon
* FromBase64Transform.cs: Fixes to what happens if a character in the input stream is not in the lookup table. IndexOutOfRangeException was wrong. 2004-01-31 David Sheldon <dave-mono@earth.li> * ConvertTest.cs: Added test for malformed Base64. Bug 52928 svn path=/trunk/mcs/; revision=22654
2003-12-152003-12-15 Sebastien Pouliot <spouliot@videotron.ca>Sebastien Pouliot
* CryptoConfig.cs: Now use internal Environment.GetMachineConfigPath() to find machine.config. Initialization removed from static constructor to speed up 98% of software that do not requires it. svn path=/trunk/mcs/; revision=21198
2003-12-152003-12-15 Sebastien Pouliot <spouliot@videotron.ca>Sebastien Pouliot
* SymmetricAlgorithm.cs: Fixed padding for None and Zeros modes. Unit tests for padding modes are now in PaddingModeTest.cs. svn path=/trunk/mcs/; revision=21162
2003-12-112003-12-10 Zoltan Varga <vargaz@freemail.hu>Zoltan Varga
* HMAC.cs: Fix compilation warnings. svn path=/trunk/mcs/; revision=20999