1 2010-03-24 Sebastien Pouliot <sebastien@ximian.com>
3 * ASN1Convert.cs: Specify CultureInfo.InvariantCulture (instead of
4 null) to avoid crash on Windows. Patch by Yoni Shalom.
6 2008-09-12 Sebastien Pouliot <sebastien@ximian.com>
8 * ASN1.cs: Use File.Create instead of OpenWrite to make sure nothing
9 else if left at the end of the file.
11 2008-04-25 Sebastien Pouliot <sebastien@ximian.com>
13 * StrongName.cs: Add support for verifying strongnames on a stream.
14 Patch from Dave Hillier <daveh@lindenlab.com>
16 2007-05-09 Sebastien Pouliot <sebastien@ximian.com>
18 * ASN1Convert.cs: Synch with corlib (remove warnings)
20 2007-02-12 Sebastien Pouliot <sebastien@ximian.com>
22 * ASN1Convert.cs: Add support for decoding ASN.1 dates with an UTC
23 offset (e.g. 990630000000+1000) as some certificates use this format.
25 2007-01-05 Sebastien Pouliot <sebastien@ximian.com>
27 * ASN1Convert.cs: Added comment to FromDateTime to specify that, under
28 1.x, the DateTime must be a local (not UTC) date time. Fixed ToDateTime
29 to return a DateTimeKind.Utc DateTime under 2.0.
31 2006-08-17 Sebastien Pouliot <sebastien@ximian.com>
33 * StrongName.cs: Fix the (very unlikely) case where an MD5 public key
34 token is requested (part of the spec, never seen in the wild).
36 2006-06-14 Sebastien Pouliot <sebastien@ximian.com>
38 * ASN1.cs: Switch condition not to use the cached data if there is a
39 collection being used. Skip extra 0 at the end of the byte[] buffer.
41 2006-01-04 Sebastien Pouliot <sebastien@ximian.com>
43 * ASN1Convert.cs: Fix convertion of integer 0 to ASN.1.
45 2005-11-04 Sebastien Pouliot <sebastien@ximian.com>
47 * StrongName.cs: Added new constructor to specify the strongname key
48 size (which can vary from 384 bits to 16384 bits in 2.0). Fixed
49 PublicKey property not to assume a 1024 bits public key. Verification
50 was *already* working for any key length (so *much* older version of
51 Mono can verify new assemblies signatures without problem :-).
53 2005-10-06 Sebastien Pouliot <sebastien@ximian.com>
55 * ASN1Convert.cs: Better handle big integer than cannot be interpreted
56 as a negative number (don't extend). Fix bug #75778.
58 2005-10-03 Sebastien Pouliot <sebastien@ximian.com>
60 * PKCS7.cs: Ensure that attributes (authenticated and unauthenticated)
61 are sorted as required in ASN.1 SET with DER encoding. Kind of hackish
62 because this should be done in the ASN.1 encoder - but it solves
63 interop problems with BouncyCastle. Patch (modified) from Daniel
64 Granath <dgranath#gmail.com>.
66 2004-10-29 Sebastien Pouliot <sebastien@ximian.com>
68 * ASN1.cs: Throw an NotSupportedException when "undefined length
69 encoding" is used (#68903 but it's not a fix ;-). Fixed GetBytes to
70 encode structures bigger than 64k (fix #68907). Simplified ToString
71 and added Length to help debugging.
72 * PKCS7.cs: Added a flag to avoid resigning a structure (which was
73 duplicating some attributes).
75 2004-09-17 Sebastien Pouliot <sebastien@ximian.com>
77 * ASN1.cs: In synch with corlib version. Fixed all level 4 compilation
79 * PKCS7.cs: In synch with corlib version. Fixed all level 4
82 2004-06-08 Sebastien Pouliot <sebastien@ximian.com>
84 * StrongName.cs: Synch with corlib (the new code isn't even compiled)
85 in Mono.Security assembly.
87 2004-05-19 Jesper Pedersen <jep@itplus.dk>
89 * PKCS7.cs: Added SignedData.VerifySignature(AsymmetricAlgorithm aa).
90 Added support for calculating signature from SignedData content (i.e.
91 when UseAuthenticatedAttributes is false). Added contentType to
92 AuthenticatedAttributes (when SignedData.UseAuthenticatedAttributes
95 2004-05-11 Sebastien Pouliot <sebastien@ximian.com>
97 * ASN1Convert.cs: Added better exceptions. Fixed bugs found by new
99 * StrongName.cs: Fixed GetBytes() when creating a new strongname.
100 Removed unrequired :base() from a constructor. Removed debugging
103 2004-05-03 Sebastien Pouliot <sebastien@ximian.com>
105 * ASN1.cs: Fixed NullReferenceException in xmldsig standalone tests.
107 2004-04-22 Sebastien Pouliot <sebastien@ximian.com>
109 * ASN1.cs: FxCop-ized. CLS compliance.
110 * ASN1Convert.cs: FxCop-ized. CLS compliance.
111 * PKCS7.cs: FxCop-ized. CLS compliance.
112 * StrongName: FxCop-ized. CLS compliance.
114 2004-04-20 Sebastien Pouliot <sebastien@ximian.com>
116 * ASN1.cs: Added SaveToFile for easier debugging. Patch from
118 * BitConverterLE.cs: New. Added Little-Endian BitConverter from
119 Bernie Solomon to sync versions with corlib.
120 * StrongName.cs: Synched with corlib version. Adds ECMA key fixes,
121 endian fixes from Bernie Solomon and removed compilation warning.
123 2004-03-31 Sebastien Pouliot <sebastien@ximian.com>
125 * StrongName.cs: Update to include new static method that can be
126 called from the runtime to validate strongname signatures.
127 Refactored the existing class to reduce code duplication.
129 2004-03-24 Sebastien Pouliot <sebastien@ximian.com>
131 * StrongName.cs: Added CanSign property for AssemblyBuilder. Current
132 Fx design requires an exception to know if the private key is present
133 in an RSA instance. In some case (inside corlib) we can do without...
135 2004-03-23 Sebastien Pouliot <sebastien@ximian.com>
137 * StrongName.cs: Added exceptions for null or invalid keys.
139 2004-03-17 Jesper Pedersen <jep@itplus.dk>
141 * ASN1.cs: Implemented ASN1::ToString (byte dump)
142 * ASN1Convert.cs: Fixed engine problem in ASN1Convert::FromInt32
144 2003-12-07 Sebastien Pouliot <spouliot@videotron.ca>
146 * PKCS7.cs: Implemented EncryptedData, EnvelopedData and updated
147 SignedData for v3 SubjectKeyIdentifier.
149 2003-11-06 Sebastien Pouliot <spouliot@videotron.ca>
151 * StrongName.cs: Now supports MZ headers bigger than 128 bytes.
153 2003-10-11 Sebastien Pouliot <spouliot@videotron.ca>
155 * StrongName.cs: Added Hash, Sign and Verify.
157 2003-09-01 Sebastien Pouliot <spouliot@videotron.ca>
159 * PKCS7.cs: Updated to use Mono.Security.X509.X509Certificate and to
160 support countersignatures.
162 2003-06-19 Nick Drochak <ndrochak@gol.com>
164 * StrongName.cs: Work around for mcs? bug 45127.
166 2003-03-08 Sebastien Pouliot <spouliot@videotron.ca>
168 * StrongName.cs: New. Partial implementation for StrongNames.
170 2003-03-06 Sebastien Pouliot <spouliot@videotron.ca>
172 * ASN1.cs: Updated ASN1 class (from corlib). This file will,
173 eventually, be automagically synched with corlib.
174 * ASN1Convert.cs: New. Helper class to convert from and to
176 * PKCS7.cs: New. Basic implementation of CMS (Cryptographic
177 Message Syntax Standard).