Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

180 lines
6.4 KiB
Plaintext

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
SignedData for v3 SubjectKeyIdentifier.
2003-11-06 Sebastien Pouliot <spouliot@videotron.ca>
* StrongName.cs: Now supports MZ headers bigger than 128 bytes.
2003-10-11 Sebastien Pouliot <spouliot@videotron.ca>
* StrongName.cs: Added Hash, Sign and Verify.
2003-09-01 Sebastien Pouliot <spouliot@videotron.ca>
* PKCS7.cs: Updated to use Mono.Security.X509.X509Certificate and to
support countersignatures.
2003-06-19 Nick Drochak <ndrochak@gol.com>
* StrongName.cs: Work around for mcs? bug 45127.
2003-03-08 Sebastien Pouliot <spouliot@videotron.ca>
* StrongName.cs: New. Partial implementation for StrongNames.
2003-03-06 Sebastien Pouliot <spouliot@videotron.ca>
* 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).