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