New tests.
[mono.git] / mcs / class / System / System.Security.Cryptography.X509Certificates / ChangeLog
index 7a100461ec11071a1c3dff7b0b4838eb7dcc109d..f84b86149104f17fc17cd45875aeffcfb1c0b61b 100644 (file)
@@ -1,3 +1,174 @@
+2010-03-16  Jb Evain  <jbevain@novell.com>
+
+       * X509Chain.cs: use MOONLIGHT symbol to disambiguate MonoTouch
+       and Moonlight code.
+
+2010-03-11 Gonzalo Paniagua Javier <gonzalo@novell.com>
+
+       * OSX509Certificates.cs: moved here from Mono.Security.
+
+2009-07-10 Gonzalo Paniagua Javier <gonzalo@novell.com>
+
+       * X509Chain.cs: revert my last change here since it caused 2 tests to
+       fail.
+
+2009-07-02 Gonzalo Paniagua Javier <gonzalo@novell.com>
+
+       * X509Certificate2.cs:
+       * X509Chain.cs: changes to make everything compile with latest changes
+       and fixed typo in IsChainComplete().
+
+2008-06-26  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * X509Certificate2.cs: Allow password-less ctor to (try to) open 
+       PKCS#12 files (with an empty password).
+       [Fix bug #403610]
+
+2008-06-03  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * X509Certificate2.cs: Allow PrivateKey property to be set to null.
+       [Fix bug #396620]
+
+2008-05-18  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * X509Chain.cs: Use String.IsNullOrEmpty inside 2.0 code.
+       [Found using Gendarme]
+
+2008-04-09  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * X500DistinguishedName.cs: Fixed line endings.
+       * X509Chain.cs: Fixed line endings.
+
+2008-01-13  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * X509Certificate2.cs: NotAfter and NotBefore must return local time.
+
+2007-05-09  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * X509Certificate2.cs: Leave a small stub (PrivateKey property) if
+       SECURITY_DEP isn't defined. This will let Mono.Security.dll build
+       correctly under 2.0 while enabling the use of X509Certificate2 to add
+       support for X.509 client certificates in SSL/TLS.
+
+2006-12-07  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * X500DistinguishedName.cs: Add an internal method to compare 
+       (canonized) DN so the class can be used in X509Chain.
+       * X509Certificate2.cs: Expose the internal certificate (from Mono.
+       Security.dll) as X509Certificate2 isn't complete enough to implement
+       chaining.
+       * X509Chain.cs: A (working) *subset( of RFC3280 path building and 
+       validation. 
+       * X509ChainElementCollection.cs: Add help method Contains and change
+       Add not to require a flag parameter.
+       * X509ChainElement.cs: Keeps flags compressed (as flags!) and add
+       a method to uncompress them when validation is complete.
+       * X509Store.cs: Expose the internal store (from Mono.Security.dll) as
+       internal. Map Trust and Root as the same store (for compatibility).
+
+2006-11-24  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * X509Certificate2.cs: Modified Verify to use CryptoConfig to create
+       the X509Chain used to verify the certificate. This makes it possible
+       to change the default chaining (certificate path creation and 
+       validation) algorithm.
+       * X509Chain.cs: Started implementation based on the options and error 
+       codes defined. Work in progress (incomplete and needs a lot more test
+       cases).
+       * X509ChainElementCollection.cs: Added internal methods to Add and
+       Clear the collection.
+       * X509ChainElement.cs: Implemented, MonoTODO removed.
+       * X509ChainPolicy.cs: Add missing checks on enum-based properties. 
+       Renamed fields to match guidelines.
+       * X509ChainStatus.cs: Provide a default StatusInformation value based 
+       on the Status.
+
+2006-11-22  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * X509Certificate2Collection.cs: Remove comment that proved to be 
+       false (unit tests prove otherwise).
+       * X509Store.cs: Integrate the new 2.0 stores with the existing stores
+       that Mono used since 1.0.
+
+2006-11-17  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * X509Certificate2Collection.cs: Implement Export (to DER encoded 
+       format), Find (for most X509FindType), Import (for single 
+       certificates), RemoveRange (but it's not transactional).
+       * X509Certificate2.cs: Fix Reset method to reset every field.
+       * X509ExtensionCollection.cs: Implement missing CopyTo. Fix exception
+       handling to match new unit tests.
+       * X509ExtensionEnumerator.cs: Fix recursion.
+       * X509SubjectKeyIdentifierExtension.cs: Add support for ctors
+       accepting a PublicKey instance.
+
+2006-11-13  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * X509Certificate2.cs: Throw a CryptographicException for (most) 
+       properties if the certificate is "empty". Implement GetNameInfo for
+       X509NameType.SimpleName, EmailName and DnsName. Add detection for 
+       X509ContentType.Pkcs7 in GetCertContentType.
+
+2006-11-08  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * X500DistinguishedName.cs: Fix most common cases. Some flags are 
+       still not supported.
+       * X509Certificate2.cs: Fix importing PKCS#12 certificates (with keys)
+       in some cases. Implement GetCertContentType for Cert, Pfx and Pkcs12.
+       Implement ToString methods.
+       * X509ExtensionCollection.cs: Add an internal ctor that can populate
+       the collection from extensions coming from an Mono.Security.X509.
+       X509Certificate. CryptoConfig is used to allow extensibility to the
+       X509Extension class.
+
+2006-10-08  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * X509Certificate2.cs: Ensure we can load certificates from read-only
+       files (fix bug #79616).
+
+2006-10-05  Andrew Skiba  <andrews@mainsoft.com>
+
+       * X509CertificateCollection.cs: remove IEnumerable private imple-
+       mentation to match MSDN.
+       
+2006-09-20  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * X509Certificate2.cs : in .ctor(X509Certificate) call base copy .ctor()
+         as well. Fixed bug #79455.
+
+2006-09-12  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * PublicKey.cs: Never return the private key in the Key property, even
+       if it was available when creating the public key.
+
+2006-09-11  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * X509Certificate2.cs : implemented HasPrivateKey. Return null
+         when the corresponding RSA or DSA has no private key.
+
+2006-09-05  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * X509Certificate2.cs: Call import in ctor to be sure the private key
+       will be decoded. Last fix for #79269.
+
+2006-08-02  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * X509Certificate2.cs: A unrequired password can be supplied to the 
+       2.0 ctors. Fix bug #79028.
+
+2006-08-02  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * X509Certificate2.cs : .ctor(string, string) and .ctor(string,
+         SecureString) should call proper base constructor method for each.
+         Implemented IssuerName. Fixed bug #78986.
+
+2006-03-11  Miguel de Icaza  <miguel@novell.com>
+
+       * X509Chain.cs: Flagged member as internal to avoid unused warning.
+
+       * X500DistinguishedName.cs: Comment out unused names and move
+       temporary unused variables inside the comments that were removed 
+
 2005-11-24  Sebastien Pouliot  <sebastien@ximian.com>
 
        * X500DistinguishedName.cs: Added validation (still missing parsing).