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