2006-07-25 Sebastien Pouliot <sebastien@ximian.com>
[mono.git] / mcs / class / Mono.Security / Mono.Security.X509 / ChangeLog
1 2006-07-25  Sebastien Pouliot  <sebastien@ximian.com>
2
3         * X509CRL.cs: Fix the case where no entry are present in the CRL (as
4         the structure is optional) *and* when there are no x.509 certificate
5         extensions.
6
7 2006-01-24  Sebastien Pouliot  <sebastien@ximian.com>
8
9         * PKCS12.cs: Consider String.Empty as a null password (e.g. don't
10         throw an IndexOutOfRangeException). Fix part of bug #77342.
11
12 2006-01-05  Sebastien Pouliot  <sebastien@ximian.com>
13
14         * X509Extension.cs: Extension data may be encapsulated (i.e. ASN.1
15         data inside the octet string) if it comes from the X509Certificate 
16         parser.
17
18 2006-01-04  Sebastien Pouliot  <sebastien@ximian.com>
19
20         * X509Extension.cs: Added setter for Critical property (fix #77154).
21         Fixed asymmetry between encoding and decoding (fix #75781).
22
23 2005-12-16  Sebastien Pouliot  <sebastien@ximian.com> 
24
25         * X509Chain.cs: Fix chain building. Patch from Vincent Cote-Roy.
26
27 2005-11-18  Sebastien Pouliot  <sebastien@ximian.com> 
28
29         * X509Extension.cs: Changed default ctor to protected to help 
30         extensibility outside of Mono.Security.dll (fix bug #76742).
31
32 2005-11-04  Sebastien Pouliot  <sebastien@ximian.com> 
33  
34         * PKCS12.cs: It's now possible to add multiple keys of the same size
35         inside a pkcs12 file. Fix bug #76627.
36
37 2005-11-04  Sebastien Pouliot  <sebastien@ximian.com>
38
39         * PKCS12.cs: Added MaximumPasswordLength property to allow decoding 
40         the password with a length limits like MS PFXImportCertStore does.
41         In this case you just have to assign the value CryptoApiPasswordLimit
42         to the new static property.
43
44 2005-10-11  Sebastien Pouliot  <sebastien@ximian.com> 
45  
46         * X509Certificate.cs: Fixed bug #76407. ValidFrom and ValidUntil are
47         local date/time so IsCurrent most also use a local date/time.
48         * X509CRL.cs: ValidFrom and ValidUntil are local date/time so 
49         IsCurrent most also use a local date/time.
50
51 2005-10-06  Sebastien Pouliot  <sebastien@ximian.com>
52
53         * X509Chain.cs: Fixed the case where no chain is present (self signed)
54
55 2005-09-09  Sebastien Pouliot  <sebastien@ximian.com>
56
57         * X509Certificate.cs: Fixed version property (bug #76012). Added
58         ISerializable (for 2.0 so we're not breaking current compatibility).
59
60 2005-08-29  Sebastien Pouliot  <sebastien@ximian.com>
61
62         * X501Name.cs: Fixed quoted (bug #75780) and escaped values. Added
63         parsing for "direct" OID values. Plugged DC and UID with new X520 
64         classes.
65         * X520Attributes.cs: Added support for SerialNumber (fix bug #75783),
66         DomainComponent, UserId and Oid.
67
68 2005-08-12  Sebastien Pouliot  <sebastien@ximian.com>
69
70         * X520Attributes.cs: Don't select PRINTABLESTRING for non 7bits 
71         values. Fix bug #75782. Based on patch from Daniel Granath.
72
73 2005-06-29  Sebastien Pouliot  <sebastien@ximian.com>
74
75         * X509CRL.cs: Fix the case where no entry are present in the CRL (as
76         the structure is optional).
77
78 2005-04-26  Sebastien Pouliot  <sebastien@ximian.com>
79
80         * X509Certificate.cs: DSA and RSA properties are now cached. In 2.0
81         they also have a set accessor.
82         * PKCS12.cs: Modified code to allow providing the password as a byte
83         array (the new constructor is available in 2.0).
84
85 2005-02-25  Sebastien Pouliot  <sebastien@ximian.com>
86
87         * X501Name.cs: Added support for multiple entries in a same set.
88
89 2005-01-11  Sebastien Pouliot  <sebastien@ximian.com>
90
91         * X509Certificate.cs: Fixed NullReferenceException when asking for
92         data that wasn't a proper X.509 certificate.
93
94 2004-12-13  Sebastien Pouliot  <sebastien@ximian.com>
95
96         * X509Certificate.cs: Directly use the MD2 class when compiled in 
97         Mono.Security.dll assembly (even if not configured in machine.config).
98
99 2004-09-17  Sebastien Pouliot  <sebastien@ximian.com>
100
101         * PKCS12.cs: Fixed all level 4 compilation warnings.
102         * X501Name.cs: Fixed all level 4 compilation warnings.
103         * X509Certificate.cs: Fixed all level 4 compilation warnings.
104         * X509CertificateBuilder.cs: Fixed all level 4 compilation warnings.
105         * X509Extension.cs: In synch with corlib version. Fixed all level 4 
106         compilation warnings.
107         * X520Attributes.cs: Updated to check upperbounds - which fixed level
108         4 compilation warnings.
109
110 2004-09-07  Sebastien Pouliot  <sebastien@ximian.com>
111
112         * X509Chain.cs: Fixed a bug when constructing a certificate chain from
113         a collection (endless loop). Fixed bug when Reset-ing an empty chain.
114
115 2004-08-10  Sebastien Pouliot  <sebastien@ximian.com>
116
117         * X509Store.cs: Now returns empty collection/list for certificates/
118         CRL when access to a store is denied.
119
120 2004-07-15  Sebastien Pouliot  <sebastien@ximian.com>
121
122         * X501Name.cs: Support for E (email) in FromString.
123         * X520Attributes.cs: Added X520.EmailAddress.
124         Both patches fix bug #61241 and were contributed by Ianier Munoz.
125
126 2004-05-27  Sebastien Pouliot  <sebastien@ximian.com>
127
128         * X509Certificate.cs: Rethrow original exception when parsing X.509 
129         certificates (inside a CryptographicException) so people can see if 
130         their changes affects certificate decoding.
131
132 2004-05-12  Jesper Pedersen  <jep@itplus.dk>
133
134         * PKCS12.cs: Removed file exists check from SaveToFile(). Removed 
135         Equals() and GetHashCode(). Clone the original iteration count.
136         
137 2004-05-06  Jesper Pedersen  <jep@itplus.dk>
138
139         * PKCS12.cs: Fixed synchronization with X509CertificateCollection in 
140         GetBytes ().
141
142 2004-05-05  Jesper Pedersen  <jep@itplus.dk>
143
144         * PKCS12.cs: Added support for SafeBag attributes. Added support for 
145         Clone() (ICloneable), Equals and GetHashCode. New methods:
146         - AddCertificate (X509Certificate cert)
147         - AddCertificate (X509Certificate cert, IDictionary attributes)
148         - RemoveCertificate (X509Certificate cert)
149         - RemoveCertificate (X509Certificate cert, IDictionary attributes)
150         - AddPkcs8ShroudedKeyBag (AsymmetricAlgorithm aa)
151         - AddPkcs8ShroudedKeyBag (AsymmetricAlgorithm aa, IDictionary attributes)
152         - RemovePkcs8ShroudedKeyBag (AsymmetricAlgorithm aa)
153         - AddKeyBag (AsymmetricAlgorithm aa)
154         - AddKeyBag (AsymmetricAlgorithm aa, IDictionary attributes)
155         - RemoveKeyBag (AsymmetricAlgorithm aa)
156         - AsymmetricAlgorithm GetAsymmetricAlgorithm (IDictionary attrs)
157         - X509Certificate GetCertificate (IDictionary attrs)
158         - IDictionary GetAttributes (AsymmetricAlgorithm aa) 
159         - IDictionary GetAttributes (X509Certificate cert)
160
161 2004-04-22  Sebastien Pouliot  <sebastien@ximian.com>
162
163         * PKCS12.cs: FxCop-ized. CLS compliance.
164         * X501Name.cs: FxCop-ized.
165         * X509Builder.cs: FxCop-ized. Replaced Array.Copy with 
166         Buffer.BlockCopy.
167         * X509CRL.cs: FxCop-ized. Replaced Array.Copy with Buffer.BlockCopy.
168         * X509Certificate.cs: FxCop-ized. Replaced Array.Copy with 
169         Buffer.BlockCopy. Removed unused private method GetHash.
170         * X509CertificateBuilder.cs: Ajusted with changes. Replaced 
171         Array.Copy with Buffer.BlockCopy.
172         * X509CertificateCollection.cs: Added INSIDE_CORLIB as the class is
173         shared with corlib assembly.
174         * X509Chain.cs: FxCop-ized. Removed old ITrustAnchor support.
175         * X509ChainStatusFlags.cs: Added missing [Flags].
176         * X509Extension.cs: FxCop-ized. Added Equals, GetHashCode methods.
177         * X509Extensions.cs: FxCop-ized. Sealed class, renamed to 
178         X509ExtensionCollection and inherit from CollectionBase. Added missing
179         methods.
180         * X509Store.cs: FxCop-ized.
181         * X509StoreManager.cs: FxCop-ized. Sealed class.
182         * X509Stores.cs: Added INSIDE_CORLIB as the class is shared with 
183         corlib assembly.
184         * X520Attributes.cs: FxCop-ized. Added INSIDE_CORLIB.
185
186 2004-04-02  Lluis Sanchez Gual  <lluis@ximian.com>
187
188         * X509Chain.cs: Fixed build for net_1_0 profile.
189
190 2004-03-17  Jesper Pedersen  <jep@itplus.dk>
191
192         * PKCS12.cs: Fixed sequence problem in Pkcs8ShroudedKeyBag. Fixed key
193         bag implementation in GetBytes. Moved key bag implementation in 
194         GetBytes to fit OpenSSL. Added NULL digest in MAC (GetBytes) to fit
195         OpenSSL. Added SaveToFile method.
196
197 2004-03-10  Sebastien Pouliot  <sebastien@ximian.com>
198
199         * PKCS12.cs: Completed GetBytes() so it is now possible to encode
200         / encrypt PKCS12 files.
201
202 2004-02-26  Sebastien Pouliot  <sebastien@ximian.com>
203
204         * X509Store.cs: Changed not to use base64 in filenames as it can 
205         conflict with path separators. Now use plain hex. Now catch
206         incorrectly encoded certificates / CRL in stores. Added Name property.
207
208 2004-02-24  Sebastien Pouliot  <sebastien@ximian.com>
209
210         * X509Certificate.cs: Add support for the OID "1.3.14.3.2.29" (SHA1 
211         with RSA). Added a fix for "really" null algorithm parameters.
212         * X509CertificateCollection.cs: Fixed Contains and IndexOf (worked
213         on objects but not for the same certificate in a different object).
214
215 2004-02-23  Sebastien Pouliot  <sebastien@ximian.com>
216
217         * TestAnchors.cs: Removed - no need to be hardcoded anymore.
218         * X509Chain.cs: Updated to use the new store for trusted roots.
219         * X509CRL.cs: New. Certificate Revocation List v1/v2 support.
220         * X509Store.cs: New. Managed each individual store (with or
221         without CRL support).
222         * X509StoreManager.cs: New. Certificate Store Manager to access
223         user and machine stores and to merge them when required.
224         * X509Stores.cs: New. Certificate stores group for either the
225         current user or the local machine.
226
227 2004-02-20  Sebastien Pouliot  <sebastien@ximian.com>
228
229         * X509Chain.cs: Added an option to use a pre-built chain (like TLS
230         offers) to save time rebuilding it. Added some validations and more
231         detailled status. Still a LOT to do!
232         * X509ChainStatusFlags.cs: New. Status code for the results of the
233         chain building and verification.
234
235 2003-12-15  Sebastien Pouliot  <spouliot@videotron.ca>
236
237         * TrustAnchors.cs: Added a new trusted root, Thawte, for code signing.
238
239 2003-12-07  Sebastien Pouliot  <spouliot@videotron.ca>
240
241         * PKCS12.cs: New. PKCS#12 implementation. Only decoding is working
242         right now.
243
244 2003-09-01  Sebastien Pouliot  <spouliot@videotron.ca>
245
246         * ITrustAnchors.cs: New. Interface to trust anchors.
247         * TestAnchors.cs: New. Include 2 tests anchors: Microsoft Root Agency
248         (for Windows compatibility) and Mono Test Root.
249         * TrustAnchors.cs: New. Include some widely used (commercial) code 
250         signing root certificates.
251         * X509CertificateCollection.cs: New. Collection for Mono's X509 
252         certificates.
253         * X509Chain.cs: New. MINIMAL certificate chaining engine to support
254         Authenticode(tm). VERY PARTIAL IMPLEMENTATION!!!
255
256 2003-03-15  Sebastien Pouliot  <spouliot@videotron.ca>
257
258         * X501Name.cs: New. X.501 Distinguished Names stuff
259         * X509Builder.cs: New. Abstract class for building X.509 related
260         structures (like certificates and CRLs).
261         * X509Certificate.cs: New. A more complete class to handle X.509
262         certificates.
263         * X509CertificateBuilder.cs: New. Class to build X.509 certificates.
264         * X509Extension.cs: New. A base class for all X.509 extensions.
265         * X509Extensions.cs: New. X509Extension collection.
266         * X520Attributes.cs: New. X.520 attributes (mainly for X501 names)