2e875021be55ba2f05031fd01de8995d416c0a9a
[mono.git] / mcs / class / System / System.Security.Cryptography.X509Certificates / ChangeLog
1 2006-10-05  Andrew Skiba  <andrews@mainsoft.com>
2
3         * X509CertificateCollection.cs: remove IEnumerable private imple-
4         mentation to match MSDN.
5         
6 2006-09-20  Atsushi Enomoto  <atsushi@ximian.com>
7
8         * X509Certificate2.cs : in .ctor(X509Certificate) call base copy .ctor()
9           as well. Fixed bug #79455.
10
11 2006-09-12  Sebastien Pouliot  <sebastien@ximian.com>
12
13         * PublicKey.cs: Never return the private key in the Key property, even
14         if it was available when creating the public key.
15
16 2006-09-11  Atsushi Enomoto  <atsushi@ximian.com>
17
18         * X509Certificate2.cs : implemented HasPrivateKey. Return null
19           when the corresponding RSA or DSA has no private key.
20
21 2006-09-05  Sebastien Pouliot  <sebastien@ximian.com>
22
23         * X509Certificate2.cs: Call import in ctor to be sure the private key
24         will be decoded. Last fix for #79269.
25
26 2006-08-02  Sebastien Pouliot  <sebastien@ximian.com>
27
28         * X509Certificate2.cs: A unrequired password can be supplied to the 
29         2.0 ctors. Fix bug #79028.
30
31 2006-08-02  Atsushi Enomoto  <atsushi@ximian.com>
32
33         * X509Certificate2.cs : .ctor(string, string) and .ctor(string,
34           SecureString) should call proper base constructor method for each.
35           Implemented IssuerName. Fixed bug #78986.
36
37 2006-03-11  Miguel de Icaza  <miguel@novell.com>
38
39         * X509Chain.cs: Flagged member as internal to avoid unused warning.
40
41         * X500DistinguishedName.cs: Comment out unused names and move
42         temporary unused variables inside the comments that were removed 
43
44 2005-11-24  Sebastien Pouliot  <sebastien@ximian.com>
45
46         * X500DistinguishedName.cs: Added validation (still missing parsing).
47         * X509Certificate2Enumerator.cs: Add missing IEnumerator.* methods.
48
49 2005-11-22  Sebastien Pouliot  <sebastien@ximian.com>
50
51         * PublicKey.cs: Completed implementation for both RSA and DSA public
52         keys.
53
54 2005-11-08  Sebastien Pouliot  <sebastien@ximian.com>
55
56         * OpenFlags.cs: Removed extra [Serializable] (not in 2.0).
57         * StoreLocation.cs: Removed extra [Serializable] (not in 2.0).
58         * StoreName.cs: Removed extra [Serializable] (not in 2.0).
59         * X500DistinguishedNameFlags.cs: Removed extra [Serializable] (!2.0).
60         * X509ChainStatusFlags.cs: Removed extra [Serializable] (not in 2.0).
61         * X509FindType.cs: Removed extra [Serializable] (not in 2.0).
62         * X509IncludeOption.cs: Removed extra [Serializable] (not in 2.0).
63         * X509RevocationFlag.cs: Removed extra [Serializable] (not in 2.0).
64         * X509RevocationMode.cs: Removed extra [Serializable] (not in 2.0).
65         * X509SubjectKeyIdentifierHashAlgorithm.cs: Removed extra 
66         [Serializable] (not in 2.0).
67         * X509VerificationFlags.cs: Removed extra [Serializable] (not in 2.0).
68
69 2005-09-27  Sebastien Pouliot  <sebastien@ximian.com>
70
71         * X509Certificate2Collection.cs: Class is not sealed. Removed Select 
72         methods (moved to a new class in System.Security.dll).
73         * X509Certificate2.cs: Removed Display methods (moved to a new class 
74         in System.Security.dll).
75         * X509SelectionFlag.cs: Removed. This enum is still in System.Security
76         * X509NameType.cs: Added new DnsFromAlternativeName value.
77
78 2005-09-26  Sebastien Pouliot  <sebastien@ximian.com>
79
80         * All classes, except X509CertificateCollection, moved from 
81         System.Security.dll assembly as part of 2.0 RC changes.
82
83 2005-04-27  Sebastien Pouliot  <sebastien@ximian.com>
84
85         * X509BasicConstraintsExtension.cs: Now throw ArgumentNullException in 
86         CopyFrom (fixed in beta2).
87         * X509CertificateEx.cs: Throw a CryptographicException in the RawData
88         property if no certificate is loaded in the instance.
89         * X509EnhancedKeyUsageExtension.cs: Now throw ArgumentNullException in 
90         CopyFrom (fixed in beta2).
91         * X509Extension.cs: Now throw ArgumentNullException in CopyFrom (fixed
92         in beta2).
93         * X509KeyUsageExtension.cs: Now throw ArgumentNullException in 
94         CopyFrom (fixed in beta2).
95         * X509Store.cs: Re-added certificate creation to get the exception.
96         * X509SubjectKeyIdentifierExtension.cs: Throw ArgumentNullException in
97         CopyFrom (fixed in beta2). Fix SubjectKeyIdentifier to return an empty
98         string (not null) after (unsucessful) decoding.
99
100 2005-04-26  Sebastien Pouliot  <sebastien@ximian.com>
101
102         * X509CertificateEx.cs: Used new features from Mono.Security.dll to 
103         load certificates and private keys from PKCS#12.
104
105 2005-04-24  Sebastien Pouliot  <sebastien@ximian.com>
106
107         * X509CertificateEx.cs: Added new constructors and Import methods that
108         accept SecureString for passwords. Added new property HasPrivateKey and
109         Verify method.
110         * X509CertificateExCollection.cs: Added new constructor that accept a
111         single X509Certificate2.
112         * X509EnhancedKeyUsageExtension.cs: Fixed compiler warnings.
113         * X509KeyUsageExtension.cs: Fixed new enum name for CrlSign. 
114         * X509KeyUsageFlags.cs: Fixed values and removed [Serializable].
115         * X509NameType.cs: Fixed values and removed [Serializable].
116         * X509Store.cs: Added new constructor that accept an IntPtr and the 
117         StoreHandle property. Fixed compiler warnings.
118
119 2005-04-23  Sebastien Pouliot  <sebastien@ximian.com>
120
121         * X509CertificateEx.cs, X509CertificateExCollection.cs, 
122         X509CertificateExEnumerator.cs, X509Chain.cs, X509ChainElement.cs,
123         X509ChainPolicy.cs, X509Store.cs: Changed all references of
124         X509CertificateEx to X509Certificate2 to match beta2.
125
126 2005-01-17  Sebastien Pouliot  <sebastien@ximian.com>
127
128         * X509BasicConstraintsExtension.cs: Completed implementation.
129         * X509Chain.cs: Updated to Dec CTP definitions.
130         * X509ChainPolicy.cs: Updated to Dec CTP definitions.
131         * X500DistinguishedNameFlags.cs: Added new ForceUTF8Encoding.
132         * X509EnhancedKeyUsageExtension.cs: New. Complete implementation.
133         * X509Extension.cs: Completed implementation.
134         * X509ExtensionCollection.cs: Updated to Dec CTP definitions.
135         * X509KeyUsageExtension.cs: Completed implementation.
136         * X509RevocationFlag.cs: Minus 1 on each member.
137         * X509SubjectKeyIdentifierExtension.cs: Completed implementation 
138         except for the new constructor accepting a public key.
139         * X509SubjectKeyIdentifierHashAlgorithm.cs: New enum.
140
141 2004-09-03  Tim Coleman <tim@timcoleman.com>
142         * X509KeyUsageExtension.cs: New stub class
143         * X509SubjectKeyIdentifierExtension.cs: New stub class
144         * PublicKey.cs X509BasicConstraintsExtension.cs X509CertificateEx.cs
145         * X509CertificateExCollection.cs X509Extension.cs
146         * X509ExtensionCollection.cs:
147                 Bring these more in line with 2.0
148
149 2004-07-08  Sebastien Pouliot  <sebastien@ximian.com>
150
151         * OpenFlags.cs: Fixed flags values. Added missing attributes.
152         * StoreLocation.cs: Fixed enum values. Added missing [Serializable].
153         * StoreName.cs: Fixed enum values. Added missing [Serializable].
154         * X500DistinguishedName.cs: New. X.501 DN.
155         * X500DistinguishedNameFlags.cs: New. X.501 DN flags.
156         * X509CertificateEx.cs: Updated to Fx 2.0 beta 1. Added MonoTODO.
157         * X509Chain.cs: Added missing Reset method.
158         * X509ChainStatusFlags.cs: Fixed flags values. Added missing attrs.
159         * X509Extension.cs: Fixed API.
160         * X509ExtensionCollection.cs: Fixed API and implemented.
161         * X509FindType.cs: Fixed enum values. Added missing [Serializable].
162         * X509IncludeOption.cs: Added missing [Serializable].
163         * X509KeyUsageFlags.cs: : Fixed flags values. Added missing attrs.
164         * X509NameType.cs: Fixed enum values. Added missing [Serializable].
165         * X509RevocationFlag.cs: Fixed enum values. Added missing [Serializable].
166         * X509RevocationMode.cs: Added missing [Serializable].
167         * X509SelectionFlag.cs: Added missing [Serializable].
168         * X509VerificationFlags.cs: Fixed flags values. Added missing attrs.
169
170 2004-07-07  Sebastien Pouliot  <sebastien@ximian.com>
171
172         * X509Store.cs: Removed old store code (as it has changed a lot in 
173         Mono.Security).
174
175 2004-06-05  Sebastien Pouliot  <sebastien@ximian.com>
176
177         * X509CertificateCollection.cs: Fixed Contains which works by value
178         (i.e. not by object reference). Fixed Remove for null and unexisting
179         elements.
180
181 2003-12-07  Sebastien Pouliot  <spouliot@videotron.ca>
182
183         * PublicKey.cs: New (1.2). Class that encapsulate an ASN.1 encoded 
184         public key. 
185         * X509BasicConstraintsExtension.cs: New (1.2). X.509 certification 
186         extension for BasicConstraints.
187         * X509CertificateEx.cs: New (1.2). Augmented class to use X.509 
188         certificates.
189         * X509CertificateExCollection.cs: New (1.2). Collection class for 
190         X509CertificateEx.
191         * X509CertificateExEnumerator.cs: New (1.2). Enumerator class for 
192         X509CertificateEx.
193         * X509ChainElement.cs: New (1.2). Information (certificate, status, 
194         informations) for a member of a certificate chain.
195         * X509ChainElementCollection.cs: New (1.2). Collection class for 
196         X509ChainElement.
197         * X509ChainElementEnumerator.cs: New (1.2). Enumerator class for 
198         X509ChainElement.
199         * X509ChainStatus.cs: New (1.2). Chain status (many can apply to a 
200         single X509ChainElement).
201         * X509Extension.cs: New (1.2). Base class for all certificate 
202         extensions.
203         * X509ExtensionCollection.cs: New (1.2). Collection class for 
204         X509Extension.
205         * X509ExtensionEnumerator.cs: New (1.2). Enumerator class for 
206         X509Extension.
207
208 2003-11-08  Sebastien Pouliot  <spouliot@videotron.ca>
209
210         * OpenFlags.cs: New (1.2). Enumeration for certificate stores.
211         * StoreLocation.cs: New (1.2). Enumeration for certificate stores.
212         * StoreName.cs: New (1.2). Enumeration for certificate stores.
213         * X509Chain.cs: New (1.2). Class to build a certificate chain up to a 
214         trusted anchor.
215         * X509ChainElement.cs: New (1.2). Element from the chain (certificate,
216         status and information) - only stubbed for now.
217         * X509ChainElementCollection.cs: New (1.2). Collection class for 
218         X509ChainElement.
219         * X509ChainElementEnumerator.cs: New (1.2). Enumerator class for 
220         X509ChainElement.
221         * X509ChainPolicy.cs: New (1.2). Policy to build a certificate chain.
222         * X509ChainStatusFlags.cs: New (1.2). Enumeration for chain status.
223         * X509FindType.cs: New (1.2). Enumeration for how to find X.509 
224         certificates in stores.
225         * X509IncludeOption.cs: New (1.2). Enumeration for options about which
226         certificate(s) to store within a (pkcs7) structure.
227         * X509KeyUsageFlags.cs: New (1.2). Enumeration for specifying valid 
228         usage for a keypair.
229         * X509NameType.cs: New (1.2). Enumeration for different types of name
230         that can be present inside a certificate.
231         * X509RevocationFlag.cs: New (1.2). Enumeration for specifying which
232         certificates should be verified for revocation in a chain.
233         * X509RevocationMode.cs: New (1.2). Enumeration for specifying how the
234         revocation process should find it's informations.
235         * X509SelectionFlag.cs: New (1.2). Enumeration about how to select 
236         certificates (ui-related).
237         * X509Store.cs: New (1.2). X.509 certificate store access - not complete.
238         * X509VerificationFlags.cs: New (1.2). Enumeration for parameters 
239         affecting the verification of a certificate chain.
240
241 2003-03-01  Sebastien Pouliot  <spouliot@videotron.ca>
242
243         * X509CertificateCollection.cs: Fixed bugs in AddRange
244         (added the collection not the certificates in the collection).
245
246 2003-01-30  Sebastien Pouliot  <spouliot@videotron.ca>
247
248         * X509CertificateCollection.cs: Replaced the use of the private 
249         ArrayList by the protected InnerList (from CollectionBase) so
250         Count property now works.
251
252 2002-10-21  Miguel de Icaza  <miguel@ximian.com>
253
254         * X509CertificateCollection.cs (Add): New method.
255
256 2002-05-12  Lawrence Pit <loz@cable.a2000.nl>
257
258         * X509CertificateCollection.cs: implemented