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