[corlib] Fixes security tests failures
[mono.git] / mcs / class / corlib / System.Security.Cryptography.X509Certificates / ChangeLog
index 86be09eef0aab49ec929953a3bd8c1005539af97..86217bd8cb05bc6b1148253a59084a0fa7f0b2fc 100644 (file)
@@ -1,6 +1,136 @@
+2010-03-16  Jb Evain  <jbevain@novell.com>
+
+       * X509KeyStorageFlags.cs, X509ContentType.cs, X509Certificate.cs
+       X509Certificate20.cs: use MOONLIGHT symbol to disambiguate
+       MonoTouch and Moonlight code.
+
+2009-09-22  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * X509Certificate20.cs: Don't depend on SecureString for NET_2_1
+
+2009-05-02  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * X509Certificate.cs: Remove code to initialize from an handle
+       in NET_2_1 since this is only possible from Windows and would be
+       SC anyway.
+
+2009-04-30  Sebastien Pouliot  <sebastien@ximian.com> 
+
+       * X509Certificate.cs: Remove CreateFromSignedFile from NET_2_1 
+       since it's unneeded and bring more code and [SecuritySafeCritical]
+       API into the assemblies.
+
+2008-08-18  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * X509Certificate[20].cs: Silverlight 2.0 does not implement either
+       IDeserializationCallback or ISerializable interfaces for this type.
+
+2008-08-08  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * X509Certificate20.cs: Remove reference to X509ContentType.Pfx and
+       SerializedCert since they are not available in SL 2.0
+       * X509ContentType.cs: Remove values not available in SL 2.0
+       * X509KeyStorageFlags.cs: Remove values not available in SL 2.0
+
+2008-07-02  Andreas Nahr  <ClassDevelopment@A-SoftTech.com>
+
+       * X509Certificate.cs: Fix parameter names
+
+2008-01-12  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * X509Certificate.cs: Don't wrap our own COMException inside another
+       one. This will provide a better error message to the user (or tool)
+
+2007-01-05  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * X509Certificate.cs: Now that the ASN.1 converted DateTime is 
+       "clearly" UTC (in 2.0) we need to adjust GetEffectiveDateString and 
+       GetExpirationDateString methods to return the local time.
+
+2006-11-17  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * X509Certificate.cs: Fix Equals to throw a CryptographicException, in
+       2.0 profile, if the certificate instance is empty.
+       * X509Certificate20.cs: Fix Reset method to reset every fields (as the
+       instance can be reused in 2.0). Updated MonoTODO attributes.
+
+2006-11-08  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * X509Certificate.cs: Refactored 2.0 support (partial class) and added
+       some missing features. All unit tests now works in both 1.x and 2.0.
+       * X509Certificate20.cs: Partial class for 2.0 specific properties and
+       methods for X509Certificate class.
+
+2006-10-08  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * X509Certificate.cs: Ensure we can load certificates from read-only
+       files (fix bug #79616). Refactored to avoid code duplication.
+
+2006-08-08  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * X509Certificate.cs: A unrequired password can be supplied to the 
+       2.0 ctors.
+
+2006-07-31  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * X509Certificate.cs :
+         In 2.0 IntPtr constructor reject IntPtr.Zero as invalid handle.
+         In 2.0 copy constructor rejects null argument.
+         Equals() should return false if the argument cert is null.
+         Also if both x509 and raw data are null it caused NRE.
+
+2005-11-09  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * X509ContentType.cs: Removed extra [Serializable] (2.0).
+
+2005-09-25  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * X509Certificate.cs: Fix date/time reporting for NET_2_0 profile (bug
+       fixed in 2.0).
+
+2005-04-27  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * X509Certificate.cs: Updated features for 2.0.
+
+2005-04-24  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * X509Certificate.cs: Add [ComVisible (true)] to class, add new Issuer
+       and Subject properties. Removed some [ComVisible (false)] on methods.
+       * X509ContentType.cs: Add [ComVisible (true)] to enum.
+       * X509KeyStorageFlags.cs: Add [ComVisible (true)] to enum.
+
+2005-03-24  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * X509Certificate.cs: Added Demand for UnmanagedCode to ctor(IntPtr).
+       Return "empty" certificate when IntPtr.Zero is used with ctor(IntPtr).
+       Don't wrap SecurityException inside COMException for Authenticode.
+
+2004-11-30  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * X509Certificate.cs: Added ComVisible attributes to match 2.0 October
+       Preview. Prepared Import and Export to be plugged with PKCS#12 code.
+       * X509ContentType.cs: Fixed typo (dnd) in comments.
+
 2004-09-07  Sebastien Pouliot  <sebastien@ximian.com>
 
-       * X509Certificate.cs: Merge changes from HEAD.
+       * X509Certificate.cs: CreateFromSignedFile now throw the COMException
+       if the specified file isn't signed (before this was done by 
+       AuthenticodeDeformatter). More details are available on failure.
+
+2004-07-08  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * X509Certificate.cs: Added new Equals(Object). Moved [Serializable]
+       so it's compiled by all profiles. Added missing MonoTODO.
+       * X509ContentType.cs: Added new (from 1.2) Pkcs12 enum member. Added
+       missing [Serializable] attribute.
+       * X509KeyStorageFlags.cs: Specified all flags values. Added missing
+       [Serializable] attribute.
+
+2004-07-07  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * X509Certificate.cs: Fixed NET_2_0 directives.
+       * X509ContentType.cs: New enum in Fx 2.0.
+       * X509KeyStorageFlags.cs: New flags in Fx 2.0.
 
 2003-12-15  Sebastien Pouliot  <spouliot@videotron.ca>