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