2010-03-16 Jb Evain * X509KeyStorageFlags.cs, X509ContentType.cs, X509Certificate.cs X509Certificate20.cs: use MOONLIGHT symbol to disambiguate MonoTouch and Moonlight code. 2009-09-22 Sebastien Pouliot * X509Certificate20.cs: Don't depend on SecureString for NET_2_1 2009-05-02 Sebastien Pouliot * 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 * 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 * X509Certificate[20].cs: Silverlight 2.0 does not implement either IDeserializationCallback or ISerializable interfaces for this type. 2008-08-08 Sebastien Pouliot * 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 * X509Certificate.cs: Fix parameter names 2008-01-12 Sebastien Pouliot * 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 * 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 * 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 * 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 * X509Certificate.cs: Ensure we can load certificates from read-only files (fix bug #79616). Refactored to avoid code duplication. 2006-08-08 Sebastien Pouliot * X509Certificate.cs: A unrequired password can be supplied to the 2.0 ctors. 2006-07-31 Atsushi Enomoto * 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 * X509ContentType.cs: Removed extra [Serializable] (2.0). 2005-09-25 Sebastien Pouliot * X509Certificate.cs: Fix date/time reporting for NET_2_0 profile (bug fixed in 2.0). 2005-04-27 Sebastien Pouliot * X509Certificate.cs: Updated features for 2.0. 2005-04-24 Sebastien Pouliot * 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 * 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 * 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 * 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 * 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 * 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 * X509Certificate.cs: Removed old (commented) Authenticode stuff. Added new stuff for 1.2 (stub). 2003-10-12 Sebastien Pouliot * X509Certificate.cs: Implements CreateFromSignedFile using Authenticode related classes. 2003-06-02 Sebastien Pouliot * X509Certificate.cs: Implements X509Certificate(IntPtr) constructor for compatibility with CryptoAPI. 2003-04-23 Sebastien Pouliot * X509Certificate.cs: Fixed issues for null certificate (special case where object exists without any certificate) which made PublisherTest fails. 2003-03-15 Sebastien Pouliot * X509Certificate.cs: Now use Mono.Security.X509.X509Certificate. 2003-02-08 Sebastien Pouliot * X509Certificate.cs: Changes to refer Mono.Security (for ASN1) 2002-12-27 Sebastien Pouliot * ASN1.cs: New. Updated ASN1 classes for X509Certificate that can now be reused for other tools (like Cert2Spc). Classes are marked internal so they cannot be reused from outside corlib (for compatibility with MS implementation). * X509Certificate.cs: Removed all ASN1 classes from file. 2002-12-26 Sebastien Pouliot * X509Certificate.cs: Fixed the date issue (again). Time was converted to local time then ajusted to Pacific time. Now time is kept (internally) as UTC and correct (-8) to Pacific when shown. Changed Authenticode signature detection and removed debugging code. 2002-12-22 Sebastien Pouliot * X509Certificate.cs: Completed CreateFromSignedFile. Added a new internal constructor so Publisher (and the related classes) can create a X509Certificate object which return null dates (for both GetEffectiveDateString and GetExpirationDateString methods). 2002-12-15 Sebastien Pouliot * X509Certificate.cs: Fixed the date issue. MS implementation always return the local time for Pacific (GMT-8). Added ToString() and changed some protected to private to please corcompare. 2002-11-03 Sebastien Pouliot * X509Certificate.cs: Updated some DN cases and some minor time issues. GetEffectiveDateString and GetExpirationDateString still don't match MS implementation (however they seems, most of the time, to be on par with the Windows Certificate Viewer - crtmgr.exe). 2002-11-02 Sebastien Pouliot * ChangeLog: New. First entry ;-) * X509Certificates.cs: New. Almost complete - except CryptoAPI link, CreateFromSignedFile and some date issues.