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