merging the Mainsoft branch to the trunk
[mono.git] / mcs / class / System.Security / System.Security.Cryptography.X509Certificates / ChangeLog
1 2005-04-27  Sebastien Pouliot  <sebastien@ximian.com>
2
3         * X509BasicConstraintsExtension.cs: Now throw ArgumentNullException in 
4         CopyFrom (fixed in beta2).
5         * X509CertificateEx.cs: Throw a CryptographicException in the RawData
6         property if no certificate is loaded in the instance.
7         * X509EnhancedKeyUsageExtension.cs: Now throw ArgumentNullException in 
8         CopyFrom (fixed in beta2).
9         * X509Extension.cs: Now throw ArgumentNullException in CopyFrom (fixed
10         in beta2).
11         * X509KeyUsageExtension.cs: Now throw ArgumentNullException in 
12         CopyFrom (fixed in beta2).
13         * X509Store.cs: Re-added certificate creation to get the exception.
14         * X509SubjectKeyIdentifierExtension.cs: Throw ArgumentNullException in
15         CopyFrom (fixed in beta2). Fix SubjectKeyIdentifier to return an empty
16         string (not null) after (unsucessful) decoding.
17
18 2005-04-26  Sebastien Pouliot  <sebastien@ximian.com>
19
20         * X509CertificateEx.cs: Used new features from Mono.Security.dll to 
21         load certificates and private keys from PKCS#12.
22
23 2005-04-24  Sebastien Pouliot  <sebastien@ximian.com>
24
25         * X509CertificateEx.cs: Added new constructors and Import methods that
26         accept SecureString for passwords. Added new property HasPrivateKey and
27         Verify method.
28         * X509CertificateExCollection.cs: Added new constructor that accept a
29         single X509Certificate2.
30         * X509EnhancedKeyUsageExtension.cs: Fixed compiler warnings.
31         * X509KeyUsageExtension.cs: Fixed new enum name for CrlSign. 
32         * X509KeyUsageFlags.cs: Fixed values and removed [Serializable].
33         * X509NameType.cs: Fixed values and removed [Serializable].
34         * X509Store.cs: Added new constructor that accept an IntPtr and the 
35         StoreHandle property. Fixed compiler warnings.
36
37 2005-04-23  Sebastien Pouliot  <sebastien@ximian.com>
38
39         * X509CertificateEx.cs, X509CertificateExCollection.cs, 
40         X509CertificateExEnumerator.cs, X509Chain.cs, X509ChainElement.cs,
41         X509ChainPolicy.cs, X509Store.cs: Changed all references of
42         X509CertificateEx to X509Certificate2 to match beta2.
43
44 2005-01-17  Sebastien Pouliot  <sebastien@ximian.com>
45
46         * X509BasicConstraintsExtension.cs: Completed implementation.
47         * X509Chain.cs: Updated to Dec CTP definitions.
48         * X509ChainPolicy.cs: Updated to Dec CTP definitions.
49         * X500DistinguishedNameFlags.cs: Added new ForceUTF8Encoding.
50         * X509EnhancedKeyUsageExtension.cs: New. Complete implementation.
51         * X509Extension.cs: Completed implementation.
52         * X509ExtensionCollection.cs: Updated to Dec CTP definitions.
53         * X509KeyUsageExtension.cs: Completed implementation.
54         * X509RevocationFlag.cs: Minus 1 on each member.
55         * X509SubjectKeyIdentifierExtension.cs: Completed implementation 
56         except for the new constructor accepting a public key.
57         * X509SubjectKeyIdentifierHashAlgorithm.cs: New enum.
58
59 2004-09-03  Tim Coleman <tim@timcoleman.com>
60         * X509KeyUsageExtension.cs: New stub class
61         * X509SubjectKeyIdentifierExtension.cs: New stub class
62         * PublicKey.cs X509BasicConstraintsExtension.cs X509CertificateEx.cs
63         * X509CertificateExCollection.cs X509Extension.cs
64         * X509ExtensionCollection.cs:
65                 Bring these more in line with 2.0
66
67 2004-07-08  Sebastien Pouliot  <sebastien@ximian.com>
68
69         * OpenFlags.cs: Fixed flags values. Added missing attributes.
70         * StoreLocation.cs: Fixed enum values. Added missing [Serializable].
71         * StoreName.cs: Fixed enum values. Added missing [Serializable].
72         * X500DistinguishedName.cs: New. X.501 DN.
73         * X500DistinguishedNameFlags.cs: New. X.501 DN flags.
74         * X509CertificateEx.cs: Updated to Fx 2.0 beta 1. Added MonoTODO.
75         * X509Chain.cs: Added missing Reset method.
76         * X509ChainStatusFlags.cs: Fixed flags values. Added missing attrs.
77         * X509Extension.cs: Fixed API.
78         * X509ExtensionCollection.cs: Fixed API and implemented.
79         * X509FindType.cs: Fixed enum values. Added missing [Serializable].
80         * X509IncludeOption.cs: Added missing [Serializable].
81         * X509KeyUsageFlags.cs: : Fixed flags values. Added missing attrs.
82         * X509NameType.cs: Fixed enum values. Added missing [Serializable].
83         * X509RevocationFlag.cs: Fixed enum values. Added missing [Serializable].
84         * X509RevocationMode.cs: Added missing [Serializable].
85         * X509SelectionFlag.cs: Added missing [Serializable].
86         * X509VerificationFlags.cs: Fixed flags values. Added missing attrs.
87
88 2004-07-07  Sebastien Pouliot  <sebastien@ximian.com>
89
90         * X509Store.cs: Removed old store code (as it has changed a lot in 
91         Mono.Security).
92
93 2003-12-07  Sebastien Pouliot  <spouliot@videotron.ca>
94
95         * PublicKey.cs: New (1.2). Class that encapsulate an ASN.1 encoded 
96         public key. 
97         * X509BasicConstraintsExtension.cs: New (1.2). X.509 certification 
98         extension for BasicConstraints.
99         * X509CertificateEx.cs: New (1.2). Augmented class to use X.509 
100         certificates.
101         * X509CertificateExCollection.cs: New (1.2). Collection class for 
102         X509CertificateEx.
103         * X509CertificateExEnumerator.cs: New (1.2). Enumerator class for 
104         X509CertificateEx.
105         * X509ChainElement.cs: New (1.2). Information (certificate, status, 
106         informations) for a member of a certificate chain.
107         * X509ChainElementCollection.cs: New (1.2). Collection class for 
108         X509ChainElement.
109         * X509ChainElementEnumerator.cs: New (1.2). Enumerator class for 
110         X509ChainElement.
111         * X509ChainStatus.cs: New (1.2). Chain status (many can apply to a 
112         single X509ChainElement).
113         * X509Extension.cs: New (1.2). Base class for all certificate 
114         extensions.
115         * X509ExtensionCollection.cs: New (1.2). Collection class for 
116         X509Extension.
117         * X509ExtensionEnumerator.cs: New (1.2). Enumerator class for 
118         X509Extension.
119
120 2003-11-08  Sebastien Pouliot  <spouliot@videotron.ca>
121
122         * OpenFlags.cs: New (1.2). Enumeration for certificate stores.
123         * StoreLocation.cs: New (1.2). Enumeration for certificate stores.
124         * StoreName.cs: New (1.2). Enumeration for certificate stores.
125         * X509Chain.cs: New (1.2). Class to build a certificate chain up to a 
126         trusted anchor.
127         * X509ChainElement.cs: New (1.2). Element from the chain (certificate,
128         status and information) - only stubbed for now.
129         * X509ChainElementCollection.cs: New (1.2). Collection class for 
130         X509ChainElement.
131         * X509ChainElementEnumerator.cs: New (1.2). Enumerator class for 
132         X509ChainElement.
133         * X509ChainPolicy.cs: New (1.2). Policy to build a certificate chain.
134         * X509ChainStatusFlags.cs: New (1.2). Enumeration for chain status.
135         * X509FindType.cs: New (1.2). Enumeration for how to find X.509 
136         certificates in stores.
137         * X509IncludeOption.cs: New (1.2). Enumeration for options about which
138         certificate(s) to store within a (pkcs7) structure.
139         * X509KeyUsageFlags.cs: New (1.2). Enumeration for specifying valid 
140         usage for a keypair.
141         * X509NameType.cs: New (1.2). Enumeration for different types of name
142         that can be present inside a certificate.
143         * X509RevocationFlag.cs: New (1.2). Enumeration for specifying which
144         certificates should be verified for revocation in a chain.
145         * X509RevocationMode.cs: New (1.2). Enumeration for specifying how the
146         revocation process should find it's informations.
147         * X509SelectionFlag.cs: New (1.2). Enumeration about how to select 
148         certificates (ui-related).
149         * X509Store.cs: New (1.2). X.509 certificate store access - not complete.
150         * X509VerificationFlags.cs: New (1.2). Enumeration for parameters 
151         affecting the verification of a certificate chain.