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