[corlib] Improve CancellationTokenSource test
[mono.git] / mcs / class / Mono.Security / Mono.Security / ChangeLog
index 0957a9d91e157967b7023999b83207a207f3c1a1..fba575945bf34ae5a0e673f6b3a7ff9f88116832 100644 (file)
@@ -1,3 +1,146 @@
+2010-03-24  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * ASN1Convert.cs: Specify CultureInfo.InvariantCulture (instead of 
+       null) to avoid crash on Windows. Patch by Yoni Shalom.
+
+2008-09-12  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * ASN1.cs: Use File.Create instead of OpenWrite to make sure nothing
+       else if left at the end of the file.
+
+2008-04-25  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * StrongName.cs: Add support for verifying strongnames on a stream.
+       Patch from Dave Hillier <daveh@lindenlab.com>
+
+2007-05-09  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * ASN1Convert.cs: Synch with corlib (remove warnings)
+
+2007-02-12  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * ASN1Convert.cs: Add support for decoding ASN.1 dates with an UTC 
+       offset (e.g. 990630000000+1000) as some certificates use this format.
+
+2007-01-05  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * ASN1Convert.cs: Added comment to FromDateTime to specify that, under
+       1.x, the DateTime must be a local (not UTC) date time. Fixed ToDateTime
+       to return a DateTimeKind.Utc DateTime under 2.0.
+
+2006-08-17  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * StrongName.cs: Fix the (very unlikely) case where an MD5 public key
+       token is requested (part of the spec, never seen in the wild).
+
+2006-06-14  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * ASN1.cs: Switch condition not to use the cached data if there is a
+       collection being used. Skip extra 0 at the end of the byte[] buffer.
+
+2006-01-04  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * ASN1Convert.cs: Fix convertion of integer 0 to ASN.1.
+
+2005-11-04  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * StrongName.cs: Added new constructor to specify the strongname key 
+       size (which can vary from 384 bits to 16384 bits in 2.0). Fixed 
+       PublicKey property not to assume a 1024 bits public key. Verification
+       was *already* working for any key length (so *much* older version of 
+       Mono can verify new assemblies signatures without problem :-).
+
+2005-10-06  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * ASN1Convert.cs: Better handle big integer than cannot be interpreted
+       as a negative number (don't extend). Fix bug #75778.
+
+2005-10-03  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * PKCS7.cs: Ensure that attributes (authenticated and unauthenticated)
+       are sorted as required in ASN.1 SET with DER encoding. Kind of hackish
+       because this should be done in the ASN.1 encoder - but it solves
+       interop problems with BouncyCastle. Patch (modified) from Daniel 
+       Granath <dgranath#gmail.com>.
+
+2004-10-29  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * ASN1.cs: Throw an NotSupportedException when "undefined length 
+       encoding" is used (#68903 but it's not a fix ;-). Fixed GetBytes to
+       encode structures bigger than 64k (fix #68907). Simplified ToString
+       and added Length to help debugging.
+       * PKCS7.cs: Added a flag to avoid resigning a structure (which was
+       duplicating some attributes).
+
+2004-09-17  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * ASN1.cs: In synch with corlib version. Fixed all level 4 compilation
+       warnings.
+       * PKCS7.cs: In synch with corlib version. Fixed all level 4 
+       compilation warnings.
+
+2004-06-08  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * StrongName.cs: Synch with corlib (the new code isn't even compiled)
+       in Mono.Security assembly.
+
+2004-05-19  Jesper Pedersen  <jep@itplus.dk>
+
+       * PKCS7.cs: Added SignedData.VerifySignature(AsymmetricAlgorithm aa).
+       Added support for calculating signature from SignedData content (i.e.
+       when UseAuthenticatedAttributes is false). Added contentType to 
+       AuthenticatedAttributes (when SignedData.UseAuthenticatedAttributes 
+       is true).
+
+2004-05-11  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * ASN1Convert.cs: Added better exceptions. Fixed bugs found by new
+       unit tests.
+       * StrongName.cs: Fixed GetBytes() when creating a new strongname. 
+       Removed unrequired :base() from a constructor. Removed debugging 
+       Console.WriteLine.
+
+2004-05-03  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * ASN1.cs: Fixed NullReferenceException in xmldsig standalone tests.
+
+2004-04-22  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * ASN1.cs: FxCop-ized. CLS compliance.
+       * ASN1Convert.cs: FxCop-ized. CLS compliance.
+       * PKCS7.cs: FxCop-ized. CLS compliance.
+       * StrongName: FxCop-ized. CLS compliance.
+
+2004-04-20  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * ASN1.cs: Added SaveToFile for easier debugging. Patch from
+       Jesper Pedersen.
+       * BitConverterLE.cs: New. Added Little-Endian BitConverter from 
+       Bernie Solomon to sync versions with corlib.
+       * StrongName.cs: Synched with corlib version. Adds ECMA key fixes,
+       endian fixes from Bernie Solomon and removed compilation warning.
+
+2004-03-31  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * StrongName.cs: Update to include new static method that can be 
+       called from the runtime to validate strongname signatures. 
+       Refactored the existing class to reduce code duplication.
+
+2004-03-24  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * StrongName.cs: Added CanSign property for AssemblyBuilder. Current
+       Fx design requires an exception to know if the private key is present
+       in an RSA instance. In some case (inside corlib) we can do without...
+
+2004-03-23  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * StrongName.cs: Added exceptions for null or invalid keys.
+
+2004-03-17  Jesper Pedersen  <jep@itplus.dk>
+
+       * ASN1.cs: Implemented ASN1::ToString (byte dump)
+       * ASN1Convert.cs: Fixed engine problem in ASN1Convert::FromInt32
+
 2003-12-07  Sebastien Pouliot  <spouliot@videotron.ca>
 
        * PKCS7.cs: Implemented EncryptedData, EnvelopedData and updated