2009-06-12 Bill Holmes <billholmes54@gmail.com>
[mono.git] / mcs / class / System / Test / System.Security.Cryptography.X509Certificates / ChangeLog
1 2009-03-26  Sebastien Pouliot  <sebastien@ximian.com>
2
3         * X509ChainPolicyTest.cs: Add a small sleep between the Reset and
4         the second VerificationTime check since it would be possible, on
5         fast hardware, to get the same value (and assert).
6
7 2008-01-13  Gert Driesen  <drieseng@users.sourceforge.net>
8
9         * X509Certificate2Test.cs: Added asserts to ensure NotAfter and
10         NotBefore are in local time.
11         * X509ChainPolicyTest.cs: Added assert to ensure VerificationTime is
12         in local time.
13
14 2007-02-12  Sebastien Pouliot  <sebastien@ximian.com>
15
16         * X509Certificate2Test.cs: Add test case for a certificate using dates
17         with an UTC offset (e.g. 990630000000+1000).
18
19 2006-12-14  Sebastien Pouliot  <sebastien@ximian.com>
20
21         * X500DistinguishedNameTest.cs: Add test case for Teletext/T61String.
22         * X509Certificate2Test.cs: Add test case for Teletext/T61String.
23
24 2006-12-07  Sebastien Pouliot  <sebastien@ximian.com>
25
26         * Pkits_4_01_SignatureVerification.cs: New. PKITS based unit tests.
27         * Pkits_4_02_ValidityPeriod.cs: New. PKITS based unit tests.
28         * Pkits_4_03_VerifyingNameChaining.cs: New. PKITS based unit tests.
29         * Pkits_4_04_BasicCertificateRevocationTests.cs: New. PKITS based unit
30         tests.
31         * Pkits_4_05_VerifyingPathWithSelfIssuedCertificates.cs: New. PKITS 
32         based unit tests (4 RFC3280 compliant tests are NotWorking in Mono).
33         * Pkits_4_06_VerifyingBasicConstraints.cs: New. PKITS based unit 
34         tests.
35         * Pkits_4_07_KeyUsage.cs: New. PKITS based unit tests.
36         * Pkits_4_08_CertificatePolicies.cs: New. Currently empty (TODO).
37         * Pkits_4_09_RequireExplicitPolicy.cs: New. Currently empty (TODO).
38         * Pkits_4_10_PolicyMappings.cs: New. Currently empty (TODO).
39         * Pkits_4_11_InhibitPolicyMapping.cs: New. Currently empty (TODO).
40         * Pkits_4_12_InhibitAnyPolicy.cs: New. Currently empty (TODO).
41         * Pkits_4_13_NameConstraints.cs: New. Currently empty (TODO).
42         * Pkits_4_14_DistributionPoints.cs: New. Currently empty (TODO).
43         * Pkits_4_15_DeltaCRL.cs: New. Currently empty (TODO).
44         * Pkits_4_16_PrivateCertificateExtensions.cs: New. PKITS based unit 
45         tests.
46         * PkitsTest.cs: Common shared code for PKITS test cases.
47         * X500DistinguishedNameTest.cs: Add test cases for RFC3280 mandatory
48         and optional attribute types.
49         * X509Certificate2Test.cs: Change test data to public. Adjust some 
50         test cases not to fail if PKITS data is available.
51         * X509ChainTest.cs: Update test cases to use CheckChainStatus and not 
52         depend on the order of error flags.
53
54 2006-11-24  Sebastien Pouliot  <sebastien@ximian.com>
55
56         * X509ChainPolicyTest.cs: Added test cases for setting invalid enum
57         values to property. Added test case for VerificationTime. Added Reset
58         test cases on collection classes (new one are created, we can't reuse 
59         them).
60         * X509ChainTest.cs: Added test cases for an untrusted root certificate
61         and a certificate that doesn't chain back to a known CA. Added test 
62         case for CryptoConfig.
63
64 2006-11-22  Sebastien Pouliot  <sebastien@ximian.com>
65
66         * X509StoreTest.cs: Add test cases for every method/properties.
67
68 2006-11-17  Sebastien Pouliot  <sebastien@ximian.com>
69
70         * X509Certificate2CollectionTest.cs: New. Unit tests for 
71         X509Certificate2Collection.
72         * X509Certificate2Test.cs: Changed cert_8 to public so it can be 
73         reused in other tests. Added test case for GetNameInfo with SimpleName
74         * X509ExtensionCollectionTest.cs: New. Unit tests for 
75         X509ExtensionCollection.
76         * X509SubjectKeyIdentifierExtensionTest.cs: Added test cases for ctors
77         accepting PublicKey instances.
78
79 2006-11-13  Sebastien Pouliot  <sebastien@ximian.com>
80
81         * X509Certificate2Test.cs: Add property tests when using an "empty"
82         certificate. Add tests for GetNameInfo in all test cases. Add base64
83         certificate decoding tests. Add Pkcs7 import tests.
84
85 2006-11-08  Sebastien Pouliot  <sebastien@ximian.com>
86
87         * X500DistinguishedNameTest.cs: Removed all     NotWorking tags. Added
88         more Decode test cases.
89         * X509BasicConstraintsExtensionTest.cs: Added test case where the 
90         extension is created using CryptoConfig.
91         * X509Certificate2Test.cs: Added test cases for GetCertContentType,
92         DER encoded certificates, PKCS#12 certificates and removed all 
93         NotWorking tags.
94         * X509EnhancedKeyUsageExtensionTest.cs: Added test case where the 
95         extension is created using CryptoConfig.
96         * X509KeyUsageExtensionTest.cs: Added test case where the extension is
97         created using CryptoConfig.
98         * X509SubjectKeyIdentifierExtensionTest.cs: Added test case where the
99         extension is created using CryptoConfig.
100
101 2006-09-12  Sebastien Pouliot  <sebastien@ximian.com>
102
103         * PublicKeyTest.cs: Add a test case where the key comes from a PKCS#12
104         file, i.e. where a private key is also present. PublicKey.Key never
105         returns the private part of the key. Fix bug #79375. Added similar 
106         checks to existing test cases (where a Key is returned).
107
108 2006-09-11  Atsushi Enomoto  <atsushi@ximian.com>
109
110         * X509Certificate2Test.cs : added test for PrivateKey and
111           HasPrivateKey for non-private-inclusive certificate.
112
113 2006-08-08  Sebastien Pouliot  <sebastien@ximian.com>
114
115         * X509Certificate2Test.cs: Activate test cases blocked by bug #79028.
116
117 2006-08-07  Gert Driesen  <drieseng@users.sourceforge.net>
118
119         * X509Certificate2Test.cs: Removed separate test for bug #78986, as it
120         was blocked by bug #79028. Added tests for bug #79028. Modified
121         code to match Mono Coding Guideliness.
122
123 2006-08-07  Gert Driesen  <drieseng@users.sourceforge.net>
124
125         * X509Certificate2Test.cs: Added test for bug #78986.
126
127 2006-04-25  Atsushi Enomoto  <atsushi@ximian.com>
128
129         * X509EnhancedKeyUsageExtensionTest.cs,
130           X509BasicConstraintsExtensionTest.cs,
131           X509SubjectKeyIdentifierExtensionTest.cs,
132           X509KeyUsageExtensionTest.cs,
133           X509ExtensionTest.cs : commented locale-dependent tests
134           (FriendlyName and Format(bool)) out.
135
136 2005-11-24  Sebastien Pouliot  <sebastien@ximian.com>
137
138         * X500DistinguishedNameCas.cs: New. CAS tests (some are disabled).
139         * X500DistinguishedNameTest.cs: New. Unit tests (some are disabled).
140         * X509BasicConstraintsExtensionCas.cs: New (2.0). CAS tests.
141         * X509CertificateCollectionCas.cs: New (2.0). CAS tests.
142         * X509ChainCas.cs: New (2.0). CAS tests.
143         * X509ChainPolicyCas.cs: New (2.0). CAS tests.
144         * X509EnhancedKeyUsageExtensionCas.cs: New (2.0). CAS tests.
145         * X509ExtensionCas.cs: New (2.0). CAS tests.
146         * X509KeyUsageExtensionCas.cs: New (2.0). CAS tests.
147         * X509KeyUsageExtensionTest.cs: Updated test case where MS 2.0 beta 
148         bug was fixed.
149         * X509StoreCas.cs: New (2.0). CAS tests.
150         * X509SubjectKeyIdentifierExtensionCas.cs: New (2.0). CAS tests.
151
152 2005-11-22  Sebastien Pouliot  <sebastien@ximian.com>
153
154         * PublicKeyCas.cs: New (2.0). CAS tests.
155         * PublicKeyTest.cs: New (2.0). Unit tests.
156
157 2005-09-26  Sebastien Pouliot  <sebastien@ximian.com>
158
159         * Most tests moved from System.Security.dll assembly.
160
161 2005-04-27  Sebastien Pouliot  <sebastien@ximian.com>
162
163         * X509CertificateCollectionTest.cs: Re-enable the tests as they now 
164         works on 2.0 beta2 exactly like under Mono.
165
166 2005-04-23  Sebastien Pouliot  <sebastien@ximian.com>
167
168         * X509BasicConstraintsExtensionTest.cs, X509ChainPolicyTest.cs,
169         X509EnhancedKeyUsageExtensionTest.cs, X509ExtensionTest.cs,
170         X509KeyUsageExtensionTest.cs, X509StoreTest.cs, 
171         X509SubjectKeyIdentifierExtensionTest.cs: Changed X509CertificateEx to
172         X509Certificate2 and re-activated some tests on Windows that were 
173         fixed in beta2.
174
175 2005-02-02  Zoltan Varga  <vargaz@freemail.hu>
176
177         * X509CertificateCollectionTest.cs: Disable some tests which fail
178         on 2.0.
179
180 2005-01-17  Sebastien Pouliot  <sebastien@ximian.com>
181
182         * X509BasicConstraintsExtensionTest.cs: New. Unit tests.
183         * X509EnhancedKeyUsageExtensionTest.cs: New. Unit tests.
184         * X509ExtensionTest.cs: New. Unit tests.
185         * X509KeyUsageExtensionTest.cs: New. Unit tests.
186         * X509SubjectKeyIdentifierExtensionTest.cs: New. Unit tests.
187
188 2004-06-05  Sebastien Pouliot  <sebastien@ximian.com>
189
190         * X509CertificateCollectionTest.cs: New. Unit tests for 
191         X509CertificateCollection.
192
193 2003-11-08  Sebastien Pouliot  <spouliot@videotron.ca>
194
195         * X509ChainElementCollectionTest.cs: New. Unit tests for 
196         X509ChainElementCollection.
197         * X509ChainElementEnumeratorTest.cs: New. Unit tests for 
198         X509ChainElementEnumerator.
199         * X509ChainPolicyTest.cs: New. Unit tests for X509ChainPolicy.
200         * X509ChainTest.cs: New. (Incomplete) Unit tests for X509Chain. 
201         * X509StoreTest.cs: New. (Incomplete) Unit tests for X509Store.