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