Merge pull request #131 from txdv/master
[mono.git] / mcs / class / corlib / Mono.Security / ChangeLog
1 2010-05-10  Sebastien Pouliot  <sebastien@ximian.com>
2
3         * ASN1.cs: Keep it public for Moonlight. Other types in other 
4         assemblies needs it and the linker will eventually internalize
5         everything.
6
7 2010-03-24  Sebastien Pouliot  <sebastien@ximian.com>
8
9         * ASN1Convert.cs: Specify CultureInfo.InvariantCulture (instead of 
10         null) to avoid crash on Windows. Patch by Yoni Shalom.
11
12 2010-03-16  Jb Evain  <jbevain@novell.com>
13
14         * StrongName.cs: use MOONLIGHT symbol to disambiguate
15         MonoTouch and Moonlight code.
16
17 2009-09-22  Sebastien Pouliot  <sebastien@ximian.com> 
18
19         * StrongName.cs: Moonlight NET_2_1 cannot depend on machine.config
20         * StrongNameManager_2_1.cs: Minimal version for NET_2_1
21
22 2009-04-30  Sebastien Pouliot  <sebastien@ximian.com> 
23
24         * StrongName.cs: Adapt to work with only RSAManaged when built 
25         for NET_2_1, i.e. remove use of RSACryptoServiceProvider
26
27 2008-09-12  Sebastien Pouliot  <sebastien@ximian.com>
28
29         * ASN1.cs: Use File.Create instead of OpenWrite to make sure nothing
30         else if left at the end of the file.
31
32 2008-04-25  Sebastien Pouliot  <sebastien@ximian.com>
33
34         * StrongName.cs: New test cases to verify signatures from streams.
35         Patch from Dave Hillier <daveh@lindenlab.com>
36
37 2008-03-10  Stephane Delcroix  <sdelcroix@novell.com>
38
39         * Uri.cs: port the changes I did in System.Uri in r97844.
40
41 2007-03-11  Zoltan Varga  <vargaz@gmail.com>
42
43         * ASN1Convert.cs: Fix a warning.
44
45 2007-02-12  Sebastien Pouliot  <sebastien@ximian.com>
46
47         * ASN1Convert.cs: Add support for decoding ASN.1 dates with an UTC 
48         offset (e.g. 990630000000+1000) as some certificates use this format.
49
50 2007-01-05  Sebastien Pouliot  <sebastien@ximian.com>
51
52         * ASN1Convert.cs: Added comment to FromDateTime to specify that, under
53         1.x, the DateTime must be a local (not UTC) date time. Fixed ToDateTime
54         to return a DateTimeKind.Utc DateTime under 2.0.
55
56 2006-08-17  Sebastien Pouliot  <sebastien@ximian.com>
57
58         * StrongName.cs: Fix the (very unlikely) case where an MD5 public key
59         token is requested (part of the spec, never seen in the wild).
60
61 2006-06-14  Sebastien Pouliot  <sebastien@ximian.com>
62
63         * ASN1.cs: Switch condition not to use the cached data if there is a
64         collection being used. Skip extra 0 at the end of the byte[] buffer.
65
66 2006-01-04  Sebastien Pouliot  <sebastien@ximian.com>
67
68         * ASN1Convert.cs: Fix convertion of integer 0 to ASN.1.
69
70 2005-11-07  Sebastien Pouliot  <sebastien@ximian.com>
71
72         * StrongName.cs: Synch with Mono.Security.dll to get support for 
73         strongname keypairs different from 1024 bits.
74
75 2005-10-06  Sebastien Pouliot  <sebastien@ximian.com>
76
77         * ASN1Convert.cs: Better handle big integer than cannot be interpreted
78         as a negative number (don't extend). Fix bug #75778.
79
80 2004-12-15  Sebastien Pouliot  <sebastien@ximian.com>
81
82         * ASN1.cs: Fixed warning for unused variable.
83
84 2004-10-29  Sebastien Pouliot  <sebastien@ximian.com>
85
86         * ASN1.cs: Throw an NotSupportedException when "undefined length 
87         encoding" is used (#68903 but it's not a fix ;-). Fixed GetBytes to
88         encode structures bigger than 64k (fix #68907). Simplified ToString
89         and added Length to help debugging.
90         * PKCS7.cs: Added a flag to avoid resigning a structure (which was
91         duplicating some attributes).
92
93 2004-09-16  Sebastien Pouliot  <sebastien@ximian.com>
94
95         * ASN1.cs: Fixed warning (l4) for unused variable.
96         * PKCS7.cs: Fixed warning (l4) for unused variable.
97         * Uri.cs: Fixed warning (l4) for unused variables. Remove sealed from
98         class to reduce number of warnings.
99
100 2004-08-30  Sebastien Pouliot  <sebastien@ximian.com>
101
102         * Uri.cs: Copied from System.dll assembly and started adaptation for
103         it's reuse inside the security classes (CAS).
104
105 2004-06-08  Sebastien Pouliot  <sebastien@ximian.com>
106
107         * StrongName.cs: Added corlib specific code to load configuration
108         from machine.config to allow public key token remapping to work
109         with (for example) gacutil.
110         * StrongNameManager.cs: Now load configuration from machine.config.
111
112 2004-05-19  Sebastien Pouliot  <sebastien@ximian.com>
113
114         * PKCS7.cs: In sync with Mono.Security.dll version.
115
116 2004-05-18  Sebastien Pouliot  <sebastien@ximian.com>
117
118         * ASN1Convert.cs: In sync with Mono.Security.dll version.
119         * StrongName.cs: In sync with Mono.Security.dll version.
120
121 2004-05-03  Sebastien Pouliot  <sebastien@ximian.com>
122
123         * ASN1.cs: Fixed NullReferenceException in xmldsig standalone tests.
124
125 2004-04-28  Sebastien Pouliot  <sebastien@ximian.com>
126
127         * ASN1.cs: In sync with Mono.Security.dll version.
128         * ASN1Convert.cs: In sync with Mono.Security.dll version.
129         * PKCS7.cs: In sync with Mono.Security.dll version.
130         * StrongName.cs: In sync with Mono.Security.dll version.
131
132 2004-04-20  Sebastien Pouliot  <sebastien@ximian.com>
133
134         * ASN1.cs: Added SaveToFile for easier debugging. Patch from
135         Jesper Pedersen.
136         * StrongName.cs: Removed compilation warning (unused variable).
137
138 2004-04-08  Bernie Solomon  <bernard@ugsolutions.com>
139
140         * BitConverterLE.cs: added which always does
141         little endian conversion
142         * StrongName.cs: Use BitConverterLE
143         * ASN1Convert.cs: Use BitConverterLE
144
145 2004-04-06  Sebastien Pouliot  <sebastien@ximian.com>
146
147         * StrongName.cs: Added support for ECMA "key" to StringName(byte[])
148         constructor.
149
150 2004-03-31  Sebastien Pouliot  <sebastien@ximian.com>
151
152         * StrongName.cs: Update to include new static method that can be 
153         called from the runtime to validate strongname signatures. 
154         Refactored the existing class to reduce code duplication.
155         * StrongNameManager.cs: New. This class keeps the configuration
156         required to map a public key token to an alternative public key
157         (e.g. ECMA public key token -> Mono public key) and to skip
158         strongname validation for specific assemblies/token/users.
159
160 2004-03-24  Sebastien Pouliot  <sebastien@ximian.com>
161
162         * StrongName.cs: Added CanSign property for AssemblyBuilder. Current
163         Fx design requires an exception to know if the private key is present
164         in an RSA instance. In some case (inside corlib) we can do without...
165
166 2004-03-23  Sebastien Pouliot  <sebastien@ximian.com>
167
168         * StrongName.cs: Added exceptions for null or invalid keys.
169
170 2004-03-17  Sebastien Pouliot  <sebastien@ximian.com>
171
172         * ASN1.cs: Class synched with Mono.Security.
173         * ASN1Convert.cs: Class synched with Mono.Security.
174
175 2003-10-18  Sebastien Pouliot  <spouliot@videotron.ca>
176
177         * StrongName.cs: Added from Mono.Security assembly for StrongName
178         support in AssemblyBuilder.
179
180 2003-10-12  Sebastien Pouliot  <spouliot@videotron.ca>
181
182         * PKCS7.cs: Added from Mono.Security assembly for Authenticode
183         support in X509Certificate.CreateFromSignedFile
184
185 2003-03-15  Sebastien Pouliot  <spouliot@videotron.ca>
186
187         * ASN1.cs: Improved version.
188         * ASN1Convert.cs: New. Helper class to convert between .NET 
189         types and ASN.1 structures.
190
191 2003-02-08  Sebastien Pouliot  <spouliot@videotron.ca>
192
193         * ASN1.cs: Renamed namespace to match new location.
194