[corlib] Improve CancellationTokenSource test
[mono.git] / mcs / class / Mono.Security / Mono.Security / ChangeLog
1 2010-03-24  Sebastien Pouliot  <sebastien@ximian.com>
2
3         * ASN1Convert.cs: Specify CultureInfo.InvariantCulture (instead of 
4         null) to avoid crash on Windows. Patch by Yoni Shalom.
5
6 2008-09-12  Sebastien Pouliot  <sebastien@ximian.com>
7
8         * ASN1.cs: Use File.Create instead of OpenWrite to make sure nothing
9         else if left at the end of the file.
10
11 2008-04-25  Sebastien Pouliot  <sebastien@ximian.com>
12
13         * StrongName.cs: Add support for verifying strongnames on a stream.
14         Patch from Dave Hillier <daveh@lindenlab.com>
15
16 2007-05-09  Sebastien Pouliot  <sebastien@ximian.com>
17
18         * ASN1Convert.cs: Synch with corlib (remove warnings)
19
20 2007-02-12  Sebastien Pouliot  <sebastien@ximian.com>
21
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.
24
25 2007-01-05  Sebastien Pouliot  <sebastien@ximian.com>
26
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.
30
31 2006-08-17  Sebastien Pouliot  <sebastien@ximian.com>
32
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).
35
36 2006-06-14  Sebastien Pouliot  <sebastien@ximian.com>
37
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.
40
41 2006-01-04  Sebastien Pouliot  <sebastien@ximian.com>
42
43         * ASN1Convert.cs: Fix convertion of integer 0 to ASN.1.
44
45 2005-11-04  Sebastien Pouliot  <sebastien@ximian.com>
46
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 :-).
52
53 2005-10-06  Sebastien Pouliot  <sebastien@ximian.com>
54
55         * ASN1Convert.cs: Better handle big integer than cannot be interpreted
56         as a negative number (don't extend). Fix bug #75778.
57
58 2005-10-03  Sebastien Pouliot  <sebastien@ximian.com>
59
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>.
65
66 2004-10-29  Sebastien Pouliot  <sebastien@ximian.com>
67
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).
74
75 2004-09-17  Sebastien Pouliot  <sebastien@ximian.com>
76
77         * ASN1.cs: In synch with corlib version. Fixed all level 4 compilation
78         warnings.
79         * PKCS7.cs: In synch with corlib version. Fixed all level 4 
80         compilation warnings.
81
82 2004-06-08  Sebastien Pouliot  <sebastien@ximian.com>
83
84         * StrongName.cs: Synch with corlib (the new code isn't even compiled)
85         in Mono.Security assembly.
86
87 2004-05-19  Jesper Pedersen  <jep@itplus.dk>
88
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 
93         is true).
94
95 2004-05-11  Sebastien Pouliot  <sebastien@ximian.com>
96
97         * ASN1Convert.cs: Added better exceptions. Fixed bugs found by new
98         unit tests.
99         * StrongName.cs: Fixed GetBytes() when creating a new strongname. 
100         Removed unrequired :base() from a constructor. Removed debugging 
101         Console.WriteLine.
102
103 2004-05-03  Sebastien Pouliot  <sebastien@ximian.com>
104
105         * ASN1.cs: Fixed NullReferenceException in xmldsig standalone tests.
106
107 2004-04-22  Sebastien Pouliot  <sebastien@ximian.com>
108
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.
113
114 2004-04-20  Sebastien Pouliot  <sebastien@ximian.com>
115
116         * ASN1.cs: Added SaveToFile for easier debugging. Patch from
117         Jesper Pedersen.
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.
122
123 2004-03-31  Sebastien Pouliot  <sebastien@ximian.com>
124
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.
128
129 2004-03-24  Sebastien Pouliot  <sebastien@ximian.com>
130
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...
134
135 2004-03-23  Sebastien Pouliot  <sebastien@ximian.com>
136
137         * StrongName.cs: Added exceptions for null or invalid keys.
138
139 2004-03-17  Jesper Pedersen  <jep@itplus.dk>
140
141         * ASN1.cs: Implemented ASN1::ToString (byte dump)
142         * ASN1Convert.cs: Fixed engine problem in ASN1Convert::FromInt32
143
144 2003-12-07  Sebastien Pouliot  <spouliot@videotron.ca>
145
146         * PKCS7.cs: Implemented EncryptedData, EnvelopedData and updated 
147         SignedData for v3 SubjectKeyIdentifier.
148         
149 2003-11-06  Sebastien Pouliot  <spouliot@videotron.ca>
150
151         * StrongName.cs: Now supports MZ headers bigger than 128 bytes.
152
153 2003-10-11  Sebastien Pouliot  <spouliot@videotron.ca>
154
155         * StrongName.cs: Added Hash, Sign and Verify.
156
157 2003-09-01  Sebastien Pouliot  <spouliot@videotron.ca>
158
159         * PKCS7.cs: Updated to use Mono.Security.X509.X509Certificate and to
160         support countersignatures.
161
162 2003-06-19  Nick Drochak <ndrochak@gol.com>
163
164         * StrongName.cs: Work around for mcs? bug 45127.
165
166 2003-03-08  Sebastien Pouliot  <spouliot@videotron.ca>
167
168         * StrongName.cs: New. Partial implementation for StrongNames.
169
170 2003-03-06  Sebastien Pouliot  <spouliot@videotron.ca>
171
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
175         ASN1 structures.
176         * PKCS7.cs: New. Basic implementation of CMS (Cryptographic 
177         Message Syntax Standard).
178  
179