86217bd8cb05bc6b1148253a59084a0fa7f0b2fc
[mono.git] / mcs / class / corlib / System.Security.Cryptography.X509Certificates / ChangeLog
1 2010-03-16  Jb Evain  <jbevain@novell.com>
2
3         * X509KeyStorageFlags.cs, X509ContentType.cs, X509Certificate.cs
4         X509Certificate20.cs: use MOONLIGHT symbol to disambiguate
5         MonoTouch and Moonlight code.
6
7 2009-09-22  Sebastien Pouliot  <sebastien@ximian.com>
8
9         * X509Certificate20.cs: Don't depend on SecureString for NET_2_1
10
11 2009-05-02  Sebastien Pouliot  <sebastien@ximian.com>
12
13         * X509Certificate.cs: Remove code to initialize from an handle
14         in NET_2_1 since this is only possible from Windows and would be
15         SC anyway.
16
17 2009-04-30  Sebastien Pouliot  <sebastien@ximian.com> 
18
19         * X509Certificate.cs: Remove CreateFromSignedFile from NET_2_1 
20         since it's unneeded and bring more code and [SecuritySafeCritical]
21         API into the assemblies.
22
23 2008-08-18  Sebastien Pouliot  <sebastien@ximian.com>
24
25         * X509Certificate[20].cs: Silverlight 2.0 does not implement either
26         IDeserializationCallback or ISerializable interfaces for this type.
27
28 2008-08-08  Sebastien Pouliot  <sebastien@ximian.com>
29
30         * X509Certificate20.cs: Remove reference to X509ContentType.Pfx and
31         SerializedCert since they are not available in SL 2.0
32         * X509ContentType.cs: Remove values not available in SL 2.0
33         * X509KeyStorageFlags.cs: Remove values not available in SL 2.0
34
35 2008-07-02  Andreas Nahr  <ClassDevelopment@A-SoftTech.com>
36
37         * X509Certificate.cs: Fix parameter names
38
39 2008-01-12  Sebastien Pouliot  <sebastien@ximian.com>
40
41         * X509Certificate.cs: Don't wrap our own COMException inside another
42         one. This will provide a better error message to the user (or tool)
43
44 2007-01-05  Sebastien Pouliot  <sebastien@ximian.com>
45
46         * X509Certificate.cs: Now that the ASN.1 converted DateTime is 
47         "clearly" UTC (in 2.0) we need to adjust GetEffectiveDateString and 
48         GetExpirationDateString methods to return the local time.
49
50 2006-11-17  Sebastien Pouliot  <sebastien@ximian.com>
51
52         * X509Certificate.cs: Fix Equals to throw a CryptographicException, in
53         2.0 profile, if the certificate instance is empty.
54         * X509Certificate20.cs: Fix Reset method to reset every fields (as the
55         instance can be reused in 2.0). Updated MonoTODO attributes.
56
57 2006-11-08  Sebastien Pouliot  <sebastien@ximian.com>
58
59         * X509Certificate.cs: Refactored 2.0 support (partial class) and added
60         some missing features. All unit tests now works in both 1.x and 2.0.
61         * X509Certificate20.cs: Partial class for 2.0 specific properties and
62         methods for X509Certificate class.
63
64 2006-10-08  Sebastien Pouliot  <sebastien@ximian.com>
65
66         * X509Certificate.cs: Ensure we can load certificates from read-only
67         files (fix bug #79616). Refactored to avoid code duplication.
68
69 2006-08-08  Sebastien Pouliot  <sebastien@ximian.com>
70
71         * X509Certificate.cs: A unrequired password can be supplied to the 
72         2.0 ctors.
73
74 2006-07-31  Atsushi Enomoto  <atsushi@ximian.com>
75
76         * X509Certificate.cs :
77           In 2.0 IntPtr constructor reject IntPtr.Zero as invalid handle.
78           In 2.0 copy constructor rejects null argument.
79           Equals() should return false if the argument cert is null.
80           Also if both x509 and raw data are null it caused NRE.
81
82 2005-11-09  Sebastien Pouliot  <sebastien@ximian.com>
83
84         * X509ContentType.cs: Removed extra [Serializable] (2.0).
85
86 2005-09-25  Sebastien Pouliot  <sebastien@ximian.com>
87
88         * X509Certificate.cs: Fix date/time reporting for NET_2_0 profile (bug
89         fixed in 2.0).
90
91 2005-04-27  Sebastien Pouliot  <sebastien@ximian.com>
92
93         * X509Certificate.cs: Updated features for 2.0.
94
95 2005-04-24  Sebastien Pouliot  <sebastien@ximian.com>
96
97         * X509Certificate.cs: Add [ComVisible (true)] to class, add new Issuer
98         and Subject properties. Removed some [ComVisible (false)] on methods.
99         * X509ContentType.cs: Add [ComVisible (true)] to enum.
100         * X509KeyStorageFlags.cs: Add [ComVisible (true)] to enum.
101
102 2005-03-24  Sebastien Pouliot  <sebastien@ximian.com>
103
104         * X509Certificate.cs: Added Demand for UnmanagedCode to ctor(IntPtr).
105         Return "empty" certificate when IntPtr.Zero is used with ctor(IntPtr).
106         Don't wrap SecurityException inside COMException for Authenticode.
107
108 2004-11-30  Sebastien Pouliot  <sebastien@ximian.com>
109
110         * X509Certificate.cs: Added ComVisible attributes to match 2.0 October
111         Preview. Prepared Import and Export to be plugged with PKCS#12 code.
112         * X509ContentType.cs: Fixed typo (dnd) in comments.
113
114 2004-09-07  Sebastien Pouliot  <sebastien@ximian.com>
115
116         * X509Certificate.cs: CreateFromSignedFile now throw the COMException
117         if the specified file isn't signed (before this was done by 
118         AuthenticodeDeformatter). More details are available on failure.
119
120 2004-07-08  Sebastien Pouliot  <sebastien@ximian.com>
121
122         * X509Certificate.cs: Added new Equals(Object). Moved [Serializable]
123         so it's compiled by all profiles. Added missing MonoTODO.
124         * X509ContentType.cs: Added new (from 1.2) Pkcs12 enum member. Added
125         missing [Serializable] attribute.
126         * X509KeyStorageFlags.cs: Specified all flags values. Added missing
127         [Serializable] attribute.
128
129 2004-07-07  Sebastien Pouliot  <sebastien@ximian.com>
130
131         * X509Certificate.cs: Fixed NET_2_0 directives.
132         * X509ContentType.cs: New enum in Fx 2.0.
133         * X509KeyStorageFlags.cs: New flags in Fx 2.0.
134
135 2003-12-15  Sebastien Pouliot  <spouliot@videotron.ca>
136
137         * X509Certificate.cs: Removed old (commented) Authenticode stuff.
138         Added new stuff for 1.2 (stub).
139
140 2003-10-12  Sebastien Pouliot  <spouliot@videotron.ca>
141
142         * X509Certificate.cs: Implements CreateFromSignedFile using
143         Authenticode related classes.
144
145 2003-06-02  Sebastien Pouliot  <spouliot@videotron.ca>
146
147         * X509Certificate.cs: Implements X509Certificate(IntPtr)
148         constructor for compatibility with CryptoAPI.
149
150 2003-04-23  Sebastien Pouliot  <spouliot@videotron.ca>
151
152         * X509Certificate.cs: Fixed issues for null certificate 
153         (special case where object exists without any certificate)
154         which made PublisherTest fails.
155
156 2003-03-15  Sebastien Pouliot  <spouliot@videotron.ca>
157
158         * X509Certificate.cs: Now use Mono.Security.X509.X509Certificate.
159
160 2003-02-08  Sebastien Pouliot  <spouliot@videotron.ca>
161
162         * X509Certificate.cs: Changes to refer Mono.Security (for ASN1)
163
164 2002-12-27  Sebastien Pouliot  <spouliot@videotron.ca>
165
166         * ASN1.cs: New. Updated ASN1 classes for X509Certificate that can
167         now be reused for other tools (like Cert2Spc). Classes are marked
168         internal so they cannot be reused from outside corlib (for 
169         compatibility with MS implementation).
170         * X509Certificate.cs: Removed all ASN1 classes from file.       
171
172 2002-12-26  Sebastien Pouliot  <spouliot@videotron.ca>
173
174         * X509Certificate.cs: Fixed the date issue (again). Time was 
175         converted to local time then ajusted to Pacific time. Now time
176         is kept (internally) as UTC and correct (-8) to Pacific when shown.
177         Changed Authenticode signature detection and removed debugging code.
178
179 2002-12-22  Sebastien Pouliot  <spouliot@videotron.ca>
180
181         * X509Certificate.cs: Completed CreateFromSignedFile. Added a new 
182         internal constructor so Publisher (and the related classes) can 
183         create a X509Certificate object which return null dates (for both 
184         GetEffectiveDateString and GetExpirationDateString methods).
185
186 2002-12-15  Sebastien Pouliot  <spouliot@videotron.ca>
187
188         * X509Certificate.cs: Fixed the date issue. MS implementation always
189         return the local time for Pacific (GMT-8). Added ToString() and changed
190         some protected to private to please corcompare.
191
192 2002-11-03  Sebastien Pouliot  <spouliot@videotron.ca>
193
194         * X509Certificate.cs: Updated some DN cases and some minor time issues.
195         GetEffectiveDateString and GetExpirationDateString still don't match 
196         MS implementation (however they seems, most of the time, to be on par 
197         with the Windows Certificate Viewer - crtmgr.exe).
198
199 2002-11-02  Sebastien Pouliot  <spouliot@videotron.ca>
200
201         * ChangeLog: New. First entry ;-)
202         * X509Certificates.cs: New. Almost complete - except 
203         CryptoAPI link, CreateFromSignedFile and some date issues.