2007-01-05 Sebastien Pouliot * 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 * 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 * 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 * ASN1Convert.cs: Fix convertion of integer 0 to ASN.1. 2005-11-04 Sebastien Pouliot * 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 * 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 * 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 . 2004-10-29 Sebastien Pouliot * 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 * 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 * StrongName.cs: Synch with corlib (the new code isn't even compiled) in Mono.Security assembly. 2004-05-19 Jesper Pedersen * 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 * 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 * ASN1.cs: Fixed NullReferenceException in xmldsig standalone tests. 2004-04-22 Sebastien Pouliot * 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 * 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 * 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 * 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 * StrongName.cs: Added exceptions for null or invalid keys. 2004-03-17 Jesper Pedersen * ASN1.cs: Implemented ASN1::ToString (byte dump) * ASN1Convert.cs: Fixed engine problem in ASN1Convert::FromInt32 2003-12-07 Sebastien Pouliot * PKCS7.cs: Implemented EncryptedData, EnvelopedData and updated SignedData for v3 SubjectKeyIdentifier. 2003-11-06 Sebastien Pouliot * StrongName.cs: Now supports MZ headers bigger than 128 bytes. 2003-10-11 Sebastien Pouliot * StrongName.cs: Added Hash, Sign and Verify. 2003-09-01 Sebastien Pouliot * PKCS7.cs: Updated to use Mono.Security.X509.X509Certificate and to support countersignatures. 2003-06-19 Nick Drochak * StrongName.cs: Work around for mcs? bug 45127. 2003-03-08 Sebastien Pouliot * StrongName.cs: New. Partial implementation for StrongNames. 2003-03-06 Sebastien Pouliot * ASN1.cs: Updated ASN1 class (from corlib). This file will, eventually, be automagically synched with corlib. * ASN1Convert.cs: New. Helper class to convert from and to ASN1 structures. * PKCS7.cs: New. Basic implementation of CMS (Cryptographic Message Syntax Standard).