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