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