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