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