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