1 2006-11-24 Sebastien Pouliot <sebastien@ximian.com>
3 * CryptoConfigTest.cs: Added test case for X509Chain.
5 2006-11-16 Sebastien Pouliot <sebastien@ximian.com>
7 * PasswordDeriveBytesTest.cs: Added test case for bug #79499
9 2006-10-11 Sebastien Pouliot <sebastien@ximian.com>
11 * CryptoConfigTest.cs: Added test cases to ensure lower/mixed-case of
12 algorithm names are supported by CreateFromName and MapNameToOID (fix
13 bug #79641). Updated some OID that were changed (well nulled) in the
14 final 2.0 release of MS framework.
16 2006-09-08 Sebastien Pouliot <sebastien@ximian.com>
18 * RSACryptoServiceProviderTest.cs: Added test cases for decoding bad
19 PKCS1 and OAEP padding - both resulting in a CryptographicException.
20 * RSAOAEPKeyExchangeDeformatterTest.cs: Add test case for bad padding.
21 * RSAPKCS1KeyExchangeDeformatterTest.cs: Add test case for bad padding
23 2006-09-05 Sebastien Pouliot <sebastien@ximian.com>
25 * RSACryptoServiceProviderTest.cs: Test case for #79269 where we
26 ensure a CryptographicException (not a NRE) when decrypting without a
29 2006-07-01 Sebastien Pouliot <sebastien@ximian.com>
31 * RSAPKCS1SignatureDeformatterTest.cs: Added test case where
32 SetHashAlgorithm isn't called and the hash algorithm name is derived
33 from the hash instance. From bug #78744 by Diego Mesa Tabares.
35 2006-06-15 Sebastien Pouliot <sebastien@ximian.com>
37 * HashAlgorithmTest.cs: Added new test cases wrt the output buffer
38 used in TransformBlock (e.g. bug #78647). Updated existing test case
39 to work under 2.0 final.
40 * HMACMD5Test.cs: Fix SetUp to allow new inherited test cases to work
42 * HMACRIPEMD160Test.cs: Fix SetUp to allow new inherited test cases to
44 * HMACSHA1Test.cs: Fix SetUp to allow new inherited test cases to
46 * HMACSHA256Test.cs: Fix SetUp to allow new inherited test cases to
48 * HMACSHA384Test.cs: New. Basic test cases that, cheaply, inherits
49 the HashAlgorithm tests.
50 * HMACSHA512Test.cs: New. Basic test cases that, cheaply, inherits
51 the HashAlgorithm tests.
52 * KeyedHashAlgorithmTest.cs: Ensure we're always using the same key
53 (required for new, inherited, test cases). Fix ToString to match
54 KeyedHashAlgorithm (and not an inherited class).
56 2006-06-01 Sebastien Pouliot <sebastien@ximian.com>
58 * RandomNumberGeneratorTest.cs: Don't forget the last run in Runs.
59 Track both 0 and 1 runs. Changed runs ranges to match FIPS140-2 Change
60 Notice #1 (fixes bug #78560). Updated test cases to NUnit 2.2 format.
62 2005-12-15 Sebastien Pouliot <sebastien@ximian.com>
64 * RijndaelTest.cs: Add test cases for cycling key sizes and block
66 * SymmetricAlgorithm2Test.cs: Added test case for re-setting the
67 BlockSize. Keeping the same value *doesn't* change the current IV
68 (while doing the same on the KeySize *does* change the key).
70 2005-11-22 Sebastien Pouliot <sebastien@ximian.com>
72 * DSATest.cs: Added test case where J isn't imported. In this case we
73 don't export (our internally calculated) J and it's also not part of
76 2005-10-21 Sebastien Pouliot <sebastien@ximian.com>
78 * RC2CryptoServiceProviderTest.cs: New. Unit tests specific to this
79 implementation (not algorithm specific but required to match MS
81 * RijndaelManagedTest.cs: Added unit tests specific to this
82 implementation (not algorithm specific but required to match MS
84 * DESCryptoServiceProviderTest.cs: Added unit tests specific to this
85 implementation (not algorithm specific but required to match MS
87 * TripleDESCryptoServiceProviderTest.cs: New. Unit tests specific to
88 this implementation (not algorithm specific but required to match MS
91 2005-09-29 Sebastien Pouliot <sebastien@ximian.com>
93 * HMACSHA1Test.cs: Use the new ctor(byte[],bool) introduced in 2.0 RC
94 in some of the existing tests (under 2.0).
96 2005-04-27 Sebastien Pouliot <sebastien@ximian.com>
98 * DSACryptoServiceProviderTest.cs: Catch UnauthorizedAccessException
99 directly in UseMachineKeyStore (not just wrapped inside a
100 CryptographicException).
101 * RSACryptoServiceProviderTest.cs: Catch UnauthorizedAccessException
102 directly in UseMachineKeyStore (not just wrapped inside a
103 CryptographicException).
105 2005-04-25 Sebastien Pouliot <sebastien@ximian.com>
107 * CryptoConfigTest.cs: Check that ArgumentNullException is throw in
108 EncodeOID for 2.0. Comment test for RSA OID (2.0).
109 * DESTest.cs: Check that null keys throws CryptographicException in
110 IsWeakKey and IsSemiWeakKey for 2.0.
111 * TripleDESTest.cs: Check that null keys throws CryptographicException
112 in IsWeakKey for 2.0.
113 * SymmetricAlgorithm2Test.cs: Check that a FeedbackSize of zero throws
114 a CryptographicException in 2.0.
116 2005-04-18 Sebastien Pouliot <sebastien@ximian.com>
118 * SymmetricAlgorithm2Test.cs: Added a test case where the FeedBackSize
119 is set to 0 before starting encryption.
121 2005-03-30 Sebastien Pouliot <sebastien@ximian.com>
123 * CryptoStreamTest.cs: Added test case when when no padding is used.
125 2005-03-24 Sebastien Pouliot <sebastien@ximian.com>
127 * CryptoConfigCas.cs: New. CAS unit tests for CryptoConfig.
128 * CryptoAPITransformCas.cs: New. CAS unit tests for CryptoAPITransform.
130 2005-02-10 Sebastien Pouliot <sebastien@ximian.com>
132 * DSATest.cs: Added unit test for Counter == 0. Actualized test cases
133 for NET_2_0 now that we can inherit from DSA outside corlib.
135 2005-01-30 Sebastien Pouliot <sebastien@ximian.com>
137 * PasswordDeriveBytesTest.cs: Changed [Ignore] to [Category
138 ("NotWorking")] to reduce nunit logs.
140 2005-01-19 Sebastien Pouliot <sebastien@ximian.com>
142 * CryptoStreamTest.cs: Added [ExpectedException] for [Ignored] unit
143 tests that were converted to [Category]
145 2005-01-11 Sebastien Pouliot <sebastien@ximian.com>
147 * CryptoConfigTest.cs: Added new RIPEMD160 hash algorithm and new HMAC
148 algorithms (HMACMD5, HMACRIPEMD160, HMACSHA256, HMACSHA384 and
149 HMACSHA512) to the tests.
150 * DSACryptoServiceProviderTest.cs: Fixed VerifySignatureWithoutKey to
151 ensure that Mono didn't create the key before starting verification.
152 * RSACryptoServiceProviderTest.cs: Added tests for PublicOnly in the
153 constructor tests and for VerifyHash with a null OID.
154 * RSAPKCS1SignatureFormatterTest.cs: Fixed signatures values for
155 SHA256, SHA384 and SHA512 for NET_2_0 profile. The older signatures
156 (working only in Mono) can't be used because 2.0 use new OID for those
157 hash algorithms. Note that this still only works with Mono in 2.0!
159 2005-01-10 Sebastien Pouliot <sebastien@ximian.com>
161 * CryptoStreamTest.cs, DSACryptoServiceProviderTest.cs,
162 HashAlgorithmTest.cs, PKCS1MaskGenerationMethodTest.cs,
163 RSAPKCS1KeyExchangeFormatterTest.cs, ToBase64TransformTest.cs:
164 Use [Category ("NotDotNet")] for tests failing only on the MS runtime
165 (so they are now executed on Mono).
167 2005-01-08 Sebastien Pouliot <sebastien@ximian.com>
169 * TripleDESTest.cs: Testing weak key with null throws a NRE.
171 2005-01-06 Sebastien Pouliot <sebastien@ximian.com>
173 * DESTest.cs: Updated weak key and semi-weak key tests with more
175 * TripleDESTest.cs: Added tests when including a DES weak key into
178 2005-01-04 Sebastien Pouliot <sebastien@ximian.com>
180 * CryptoStreamTest.cs: Undo some previous fixes that have changed from
181 2.0 Nov CTP. Stream chaining was working on Nov CTP but are failing
184 2004-12-23 Sebastien Pouliot <sebastien@ximian.com>
186 * CryptoStreamTest.cs: Fixed tests to execute properly on 2.0 Nov CTP.
187 * DSACryptoServiceProviderTest.cs: Fixed tests to execute properly on
189 * PaddingModeTest.cs: Fixed tests to execute properly on 2.0 Nov CTP.
190 * RSACryptoServiceProviderTest.cs: Fixed tests to execute properly on
193 2004-12-23 Sebastien Pouliot <sebastien@ximian.com>
195 * ProtectedDataTest.cs: Moved in System.Security.dll
196 * ProtectedMemoryTest.cs: Moved in System.Security.dll
198 2004-12-06 Sebastien Pouliot <sebastien@ximian.com>
200 * RSACryptoServiceProviderTest.cs: Adjusted unit tests to show that
201 RSACryptoServiceProvider doesn't support private keys without CRT
202 parameters available - except to import the keys.
204 2004-11-09 Sebastien Pouliot <sebastien@ximian.com>
206 * PasswordDeriveBytesTest.cs: Removed test for 69036. This is a MS
207 bug that will be fixed in 2.0 beta 2.
209 2004-11-03 Sebastien Pouliot <sebastien@ximian.com>
211 * DSACryptoServiceProviderTest.cs: Fixed UseMachineKeyStore not to
212 fail if the key container directory wasn't yet created (root).
213 * PasswordDeriveBytesTest.cs: Added tests for NET_2_0, more tests
214 for all constructors, tests for properties and a test for bug 69036.
215 * RSACryptoServiceProviderTest.cs: Fixed UseMachineKeyStore not to
216 fail if the key container directory wasn't yet created (root).
218 2004-08-31 Nick Drochak <ndrochak@gol.com>
220 * DSACryptoServiceProviderTest.cs:
221 * RSACryptoServiceProviderTest.cs: Feed csc smaller bite sizes.
223 2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
225 * DESTest.cs: Added a new test case to check default values.
226 * HMACSHA1.cs: Fixed bad test (and renamed it).
227 * RC2Test.cs: Added a new test case to check default values.
228 * RijndaelTest.cs: Added a new test case to check default values.
229 Convert tests from NUnit 1 to 2.2.
230 * TripleDESTest.cs: Added a new test case to check default values.
231 Convert tests to NUnit 2.2.
233 2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
235 * AllTests2.cs: Updated to NUnit 2.2 Assert.
236 * CipherModeTest.cs: New. Tests supported CipherMode for all
237 SymmetricAlgorithm included in the framework (enum contains two more
238 modes that aren't implemented in any Fx version).
239 * CryptoConfigTest.cs: Ajusted new OID (for old names) in Fx 2.0.
240 * CryptoStreamTest.cs: Fixed different reported exception in Fx 2.0.
242 * CspProviderFlagsTest.cs: New. Test the values of the enum.
243 * DSACryptoServiceProviderTest.cs: Added new tests for new public
244 properties and methods added in Fx 2.0. Duplicated test to import a
245 key pair into a disposed instance (works in Fx 2.0). Removed all
246 [Ignore]s in NET_2_0 as the MS class/runtime has been fixed.
247 * DSASignatureDeformatterTest.cs: Converted from NUnit 1 to 2.2. Fixed
248 different reported exception in Fx 2.0.
249 * DSASignatureFormatterTest.cs: Converted from NUnit 1 to 2.2. Fixed
250 different reported exception in Fx 2.0.
251 * HMACRIPEMD160Test.cs: Fixed tests using TransformFinalBlock.
252 * HMACSHA1Test.cs: Fixed tests so they work on both NET_1_1 and
253 NET_2_0 profiles (as HMACSHA1 changed it's base class).
254 * HashAlgorithmTest.cs: Fixed different reported exception in Fx 2.0.
255 Removed [Ignore] in NET_2_0 as the MS class/runtime has been fixed.
256 * MACTripleDESTest.cs: Fixed tests so they work on both NET_1_1 and
258 * PKCS1MaskGenerationMethodTest.cs: Removed [Ignore] in NET_2_0 as the
259 MS class has been fixed.
260 * PaddingModeTest.cs: Added new tests for the two new padding mode
261 introduced in Fx 2.0. Converted to NUnit 2.2.
262 * PasswordDeriveBytesTest.cs: Removed [ExpectedException] for
263 StrangeBehaviour test as it is fixed in Fx 2.0.
264 * RC2Test.cs: Changed exception from CryptographicException to
265 CryptographicUnexpectedOperationException for Fx 1.1/2.0.
266 * RIPEMD160Test.cs: Fixed tests using TransformFinalBlock.
267 * RSACryptoServiceProviderTest.cs: Added new tests for new public
268 properties and methods added in Fx 2.0. Duplicated test to import a
269 key pair into a disposed instance (works in Fx 2.0). Duplicated test
270 to sign with a null OID (Fx 2.0 use SHA1 oid in this case).
271 * RSAOAEPKeyExchangeDeformatterTest.cs: Changed exception for a key
272 exchange with no key (to match Fx 2.0).
273 * RSAOAEPKeyExchangeFormatterTest.cs: Changed exception for a key
274 exchange with no key (to match Fx 2.0).
275 * RSAPKCS1KeyExchangeFormatterTest.cs: Changed exception for a key
276 exchange with no key (to match Fx 2.0). Removed [Ignore] in NET_2_0 as
277 the MS class/runtime has been fixed.
278 * RSAPKCS1SignatureDeformatterTest.cs: Null keys, in constructor or in
279 SetKey method, now throw an ArgumentNullException in Fx 2.0.
280 * RSAPKCS1SignatureFormatterTest.cs: Null keys, in constructor or in
281 SetKey method, now throw an ArgumentNullException in Fx 2.0.
282 * Rfc2898DeriveBytesTest.cs: Typecasted a null as a string.
283 * SymmetricAlgorithm2Test.cs: In Fx 2.0 an empty IV now throws a
284 CryptographicException.
285 * ToBase64TransformTest.cs: Fixed different reported exception in Fx 2.0.
286 Removed [Ignore] in NET_2_0 as the MS class/runtime has been fixed.
288 2004-06-23 Sebastien Pouliot <sebastien@ximian.com>
290 * CryptoStreamTest.cs: Added two tests for bug #60573. One shows that
291 an encryptor doesn't reduce the number of block on Write while the
292 second shows that a decryptor does reduce the number of blocks on
295 2004-06-16 Sebastien Pouliot <sebastien@ximian.com>
297 * SignatureDescriptionTest.cs: Added missing [TestFixture] :( and
298 cases for the previously undocumented .ctor(SecurityElement) - which
299 is now, backwardly, documented in VS.NET 2005.
301 2004-05-27 Sebastien Pouliot <sebastien@ximian.com>
303 * HashAlgorithmTest.cs: Added new tests to check for more exceptions.
305 2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
307 * CryptoStreamTest.cs: Added new unit tests for overflows.
308 * FromBase64Transform.cs: Added new unit tests for undocumented
309 exceptions (null, overflows...).
310 * ToBase64TransformTest.cs: Added new unit tests for negatives and
313 2004-05-20 Sebastien Pouliot <sebastien@ximian.com>
315 * CryptoStreamTest.cs, DESCryptoServiceProviderTest.cs,
316 DSACryptoServiceProviderTest.cs, DSATest.cs, FromBase64Transform.cs,
317 HMACRIPEMD160Test.cs, MD5Test.cs, PKCS1MaskGenerationMethodTest.cs,
318 RIPEMD160ManagedTest.cs, RNGCryptoServiceProviderTest.cs,
319 RSACryptoServiceProviderTest.cs, RSAOAEPKeyExchangeDeformatterTest.cs,
320 RSAOAEPKeyExchangeFormatterTest.cs, RSAPKCS1KeyExchangeDeformatterTest.cs,
321 RSAPKCS1KeyExchangeFormatterTest.cs, RSAPKCS1SignatureDeformatterTest.cs,
322 RSAPKCS1SignatureFormatterTest.cs, RSATest.cs: SetUp/TearDown are now
323 public (required for new nunit).
325 2004-05-17 Sebastien Pouliot <sebastien@ximian.com>
327 * RNGCryptoServiceProviderTest.cs: Added new tests to see how the
328 constructor behave with null seeds or if they modify the seed.
330 2004-05-07 Sebastien Pouliot <sebastien@ximian.com>
332 * DSACryptoServiceProviderTest.cs: Added a new unit test for SignData
333 (was badly tested) and simplified test to reduce key pair generations.
334 * PasswordDerivceBytesTest.cs: Added new tests to complete
336 * RSACryptoServiceProviderTest.cs: Added new tests to complete
338 * ToBase64TransformTest.cs: Added a (legal) test where the final
339 transform receive data smaller than it's input block (padding).
341 2004-05-06 Sebastien Pouliot <sebastien@ximian.com>
343 * RC2Test.cs: Converted to NUnit 2. Uncommented some tests that throw
344 exceptions to test exception handling (and get more coverage).
345 * RNGCryptoServiceProviderTest.cs: Updated unit tests for exception
347 * RSAOAEPKeyExchangeDeformatterTest.cs: Updated unit tests to complete
349 * RSAOAEPKeyExchangeFormatterTest.cs: Updated unit tests to complete
351 * RSAPKCS1KeyExchangeDeformatterTest.cs: Updated unit tests to
353 * RSAPKCS1KeyExchangeFormatterTest.cs: Updated unit tests to complete
355 * RSAPKCS1SignatureDeformatterTest.cs: Updated unit tests to complete
357 * RSAPKCS1SignatureFormatterTest.cs: Updated unit tests to complete
359 * RSATest.cs: Updated unit tests for importing XML key pairs.
360 * SHA256Test.cs: Corrected Setup attribtue (was [Test]).
361 * SignatureDescriptionTest.cs: Removed unimplemented constructor from
362 tests. Converted to NUnit2.
363 * SymmetricAlgorithm2Test.cs: New. Non generated unit test for better
364 coverage (like exception testing).
365 * ToBase64TransformTest.cs: New. Unit tests to complete coverage of
367 * TripleDESTest.cs: New. Unit tests to complete coverage of TripleDES.
369 2004-04-29 Sebastien Pouliot <sebastien@ximian.com>
371 * DSACryptoServiceProviderTest.cs: New unit tests fo better coverage.
372 * FromBase64Transform.cs: New unit tests for better coverage.
373 * HashAlgorithmTest.cs: New unit tests for better coverage.
374 * HMACSHA1Test.cs: New unit tests for better coverage. Updated to
376 * KeyedHashAlgorithmTest.cs: Coverage already complete. Updated to
378 * SHA1Test.cs: Coverage already complete. Updated to NUnit2.
379 * SHA1CryptoServiceProviderTest.cs: Coverage almost complete. Updated
381 * SHA256Test.cs: Coverage already complete. Updated to NUnit2.
382 * SHA256ManagedTest.cs: Coverage already complete. Updated to NUnit2.
383 * SHA384Test.cs: Coverage already complete. Updated to NUnit2.
384 * SHA384ManagedTest.cs: Coverage almost complete. Updated to NUnit2.
385 * SHA512Test.cs: Coverage already complete. Updated to NUnit2.
386 * SHA512ManagedTest.cs: Coverage almost complete. Updated to NUnit2.
388 2004-04-28 Sebastien Pouliot <sebastien@ximian.com>
390 * DESCryptoServiceProviderTest.cs: New. Completes coverage for
391 DESCryptoServiceProvider class. Calls the FIPS 81 tests for this
393 * DESTest.cs: Added test vectors from FIPS 81.
395 2004-04-26 Sebastien Pouliot <sebastien@ximian.com>
397 * DESTest.cs: New. Unit tests for DES including checks for weak and
398 semi-weak keys (with and without parity applied on keys). Completes
399 coverage for DES class.
401 2004-04-02 Bernie Solomon <bernard@ugsolutions.com>
403 * PasswordDeriveBytesTest.cs: Add ToInt32LE so
404 it works on big endian machines.
406 2004-03-10 Sebastien Pouliot <sebastien@ximian.com>
408 * FromBase64Transform.cs: Two new unit tests showing that the
409 transform doesn't care if it's data is invalid base64. Convert class
412 2004-03-10 Sebastien Pouliot <sebastien@ximian.com>
414 * FromBase64Transform.cs: Converted to NUnit2 format. New unit tests
415 for properties, Dispose, Reuse and ignored characters.
417 2004-03-09 Atsushi Enomoto <atsushi@ximian.com>
419 * DSATest.cs : Added ToXmlString test that checks if input without
420 Seed and PgenCounter elements pass or not.
422 2004-02-12 Sebastien Pouliot <spouliot@videotron.ca>
424 * CryptoStreamTest.cs: Added new tests for [From|To]Base64Transform
425 (InputBlockSize != OutputBlockSize) and for cascading CryptoStreams.
427 2004-02-09 Sebastien Pouliot <sebastien@ximian.com>
429 * DSACryptoServiceProvider.cs: Added new unit tests for key pair
431 * RSACryptoServiceProvider.cs: Added new unit tests for key pair
434 2004-02-04 Sebastien Pouliot <spouliot@videotron.ca>
436 * CryptoStreamTest.cs: Added many more tests for every problem found
437 with CryptoStream using code samples from the internet.
439 2003-12-15 Sebastien Pouliot <spouliot@videotron.ca>
441 * CryptoConfigTest.cs: Converted unit tests to NUnit2.
442 * PaddingModeTest.cs: New. Unit tests to check every padding modes for
443 symmetric algorithms.
444 * MACTripleDESTest.cs: Updated unit tests for NUnit2 and to work for
445 both 1.0 and 1.1 framework.
447 2003-11-13 Sebastien Pouliot <spouliot@videotron.ca>
449 * ProtectedDataTest.cs: New. Unit tests for ProtectedData (1.2).
450 * ProtectedMemoryTest.cs: New. Unit tests for ProtectedMemory (1.2).
452 2003-11-11 Sebastien Pouliot <spouliot@videotron.ca>
454 * Rfc2898DeriveBytesTest.cs: More tests for Reset and keys longer than
457 2003-11-10 Sebastien Pouliot <spouliot@videotron.ca>
459 * Rfc2898DeriveBytesTest.cs: New. Unit tests for Rfc2898DeriveBytes
460 and test vectors from RFC3211.
462 2003-11-09 Sebastien Pouliot <spouliot@videotron.ca>
464 * HMACMD5Test.cs: New. Unit test for HMAC-MD5 with test vectors from
466 * HMACRIPEMD160Test.cs: New. Unit test for HMAC-RIPEMD160 with test
467 vectors from http://www.esat.kuleuven.ac.be/~bosselae/ripemd160.html.
468 * HMACSHA256Test.cs: New. Unit test for HMAC-SHA256.
470 2003-11-08 Sebastien Pouliot <spouliot@videotron.ca>
472 * RIPEMD160Test.cs: New. Unit test using RIPEMD160 test vectors.
473 * RIPEMD160Managed.cs: New. Unit tests running RIPEMD160Test using the
474 RIPEMD160Managed implementation.
476 2003-10-04 Sebastien Pouliot <spouliot@videotron.ca>
478 * CryptoStreamTest.cs: Added test case from bugzilla #49323 from
479 Carlos Guzmán Álvarez and some small tests for empty stream with
480 different PaddingMode (as found by Lluis Sanchez Gual).
482 2003-08-05 Sebastien Pouliot <spouliot@videotron.ca>
484 * CryptoStreamTest.cs: Added test case from bugzilla #40689 from
487 2003-07-31 Sebastien Pouliot <spouliot@videotron.ca>
489 * CryptoStreamTest.cs: New. Very basic test for CryptoStream + the
490 test case from bugzilla #46143 from Joerg Rosenkranz.
491 * RSACryptoServiceProviderTest.cs: Fixed some exceptions that are
492 different from .NET 1.0 and 1.1.
494 2003-07-05 Sebastien Pouliot <spouliot@videotron.ca>
496 * DSACryptoServiceProviderTest.cs: Added news unit tests for Dispose/Clear
497 and better test coverage (based on Zoltan's logs).
498 * DSATest.cs: Converted to NUnit2 format. Added new tests for better unit
499 test coverage (import incomplete public keys).
500 * RSACryptoServiceProviderTest.cs: Added news unit tests for Dispose/Clear
501 and better test coverage (based on Zoltan's logs).
502 * RSATest.cs: Converted to NUnit2 format. Added new tests for better unit
503 test coverage (import incomplete public keys).
505 2003-06-23 Nick Drochak <ndrochak@gol.com>
507 * MACTripleDESTest.cs: Adjust for .NET 1.1.
509 2003-06-11 Sebastien Pouliot <spouliot@videotron.ca>
511 * AllTests2.cs: Converted tests to NUnit2 format.
512 * RSACryptoServiceProviderTest.cs: Converted tests to NUnit2 format.
513 * RSAPKCS1KeyExchangeDeformatterTest.cs: Converted tests to NUnit2 format.
514 * RSAPKCS1KeyExchangeFormatterTest.cs: Converted tests to NUnit2 format.
515 * RSAPKCS1SignatureDeformatterTest.cs: Converted tests to NUnit2 format.
516 * RSAPKCS1SignatureFormatterTest.cs: Converted tests to NUnit2 format.
518 2003-05-29 Sebastien Pouliot <spouliot@videotron.ca>
520 * PKCS1MaskGenerationMethodTest.cs: Added [Ignore] to vector test
521 (as it's result isn't valid on both framework 1.0 and 1.1).
522 * RSAPKCS1SignatureDeformatter.cs: Splitting the test for NUnit2
523 cloned the previous error into many more tests. Hopefully fixed.
525 2003-05-28 Sebastien Pouliot <spouliot@videotron.ca>
527 * RSAPKCS1SignatureDeformatter.cs: Fixed (well I hope so) a test
528 which doesn't throw the same exception under 1.1. Also converted
529 the tests to NUnit2 format.
531 2003-05-12 Sebastien Pouliot <spouliot@videotron.ca>
533 * PKCS1MaskGenerationMethodTest.cs: Uncommented PKCS#1 v.2.1 vector
534 unit test (will work on Mono but fails with MS implementation).
535 * RSAOAEPKeyExchangeDeformatterTest.cs: Updated tests vectors for
536 both Mono and MS (under Windows XP) generated OAEP results.
537 * RSAOAEPKeyExchangeFormatterTest.cs: Update exception handling.
539 2003-04-17 Nick Drochak <ndrochak@gol.com>
541 * DSATest.cs: Use nunit version 2 style to test throw.
542 * HMACSHA1Test.cs: Eliminate compiler warning.
544 2003-03-04 Sebastien Pouliot <spouliot@videotron.ca>
546 * CryptoConfigTest.cs: Added new tests for algorithms
547 documented in book ".NET Framework Security".
549 2003-02-03 Sebastien Pouliot <spouliot@videotron.ca>
551 * PasswordDeriveBytesTest.cs: Added some new tests to complete
553 * RSAPKCS1SignatureDeformatterTest.cs: Added test for null and
554 invalid hash algorithm.
556 2003-01-19 Sebastien Pouliot <spouliot@videotron.ca>
558 * HMACSHA1Test.cs: Added tests for constructors.
559 * MACTripleDESTest.cs: Added tests for constructors.
561 2003-01-12 Sebastien Pouliot <spouliot@videotron.ca>
563 * HashAlgorithmTest.cs: Added new test for null streams.
564 * MACTripleDESTest.cs: New. Test suite par MAC using 3DES.
566 2002-12-21 Nick Drochak <ndrochak@gol.com>
568 * all: make tests build and run under nunit2
570 2002-12-21 Nick Drochak <ndrochak@gol.com>
572 * AllTests2.cs: Helper file for unit tests
574 2002-11-20 Sebastien Pouliot <spouliot@videotron.ca>
576 * RSAPKCS1SignatureDeformatterTest.cs: Removed patch from Nick -
577 as it doesn't seems to work on my system and the exception behavior
578 isn't logical (only MD5 not SHA1, ...).
580 2002-11-18 Nick Drochak <ndrochak@gol.com>
582 * RSAPKCS1SignatureDeformatterTest.cs: MS .NET throws an exception when
583 verifying a bad signature. Test for that.
585 2002-11-17 Sebastien Pouliot <spouliot@videotron.ca>
587 * AllTests.cs: Added a common RSA keypair for tests and all RSA
588 suites for new tests.
589 * RSACryptoServiceProviderTest.cs: Include tests for keygen,
590 import/export and signature (no encryption yet).
591 * RSAOAEPKeyExchangeDeformatterTest.cs: Compare results with
592 pre-generated vectors from Mono/Windows (cannot yet compare
593 with CryptoAPI/Windows as OAEP isn't available on my system).
594 * RSAOAEPKeyExchangeFormatterTest.cs: Test that the Formatter output
595 is compatible with the Deformatter.
596 * RSAPKCS1KeyExchangeDeformatterTest.cs: Compare results with
597 pre-generated vectors from Mono/Windows and CryptoAPI/Windows.
598 * RSAPKCS1KeyExchangeFormatterTest.cs: Test that the Formatter output
599 is compatible with the Deformatter.
600 * RSAPKCS1SignatureDeformatterTest.cs: Compare results with
601 pre-generated vectors from Mono/Windows and CryptoAPI/Windows.
602 * RSAPKCS1SignatureFormatterTest.cs: Test that the Formatter output
603 is compatible with the Deformatter.
605 2002-11-16 Sebastien Pouliot <spouliot@videotron.ca>
607 * AllTests.cs: Added suites for DSASignatureDeformatter,
608 DSASignatureFormatter.
609 * CryptoConfigTest.cs: Tests new URLs. This test will fail
610 if System.Security.dll isn't present (or not yet compiled).
611 * DSACryptoServiceProviderTest.cs: New. Key generation (limited
612 because it's too slow), Import/Export, Signature and Verification.
613 * DSASignatureDeformatterTest.cs: New. Test signature verification.
614 * DSASignatureFormatterTest.cs: New. Test signature creation.
615 * DSATest.cs: Comment DSA-derived test class as DSA constructor
616 is internal. Reworked the test suite.
617 * SignatureDescriptionTest.cs: Added tests for
618 DSASignatureDescription and RSAPKCS1SHA1SignatureDescription.
620 2002-11-02 Sebastien Pouliot <spouliot@videotron.ca>
622 * AllTests.cs: Added suites for SignatureDescription and
623 activated suites for SHA384Managed and SHA512Managed.
624 * SignatureDescriptionTest.cs: New. Basic tests (because I don't
625 know the context in which the class is used).
627 2002-10-28 Sebastien Pouliot <spouliot@videotron.ca>
629 * AllTests.cs: Added test suites for SHA256, SHA384 and SHA512
630 (last two partly commented until implementation is commited).
631 * SHA256Test.cs: New. Generic FIPS180-2 tests for SHA-256.
632 * SHA256ManagedTest.cs: New. Implementation tests (inherits
634 * SHA384Test.cs: New. Generic FIPS180-2 tests for SHA-384.
635 * SHA384ManagedTest.cs: New. Implementation tests (inherits
637 * SHA512Test.cs: New. Generic FIPS180-2 tests for SHA-512.
638 * SHA512ManagedTest.cs: New. Implementation tests (inherits
641 2002-10-25 Sebastien Pouliot <spouliot@videotron.ca>
643 * AllTests.cs: Added suite for PasswordDeriveBytes
644 * PasswordDeriveBytesTest.cs: New. Tests against pre-generated vectors -
645 only works for short runs (keys < HashSize) not long runs
647 2002-10-20 Sebastien Pouliot <spouliot@videotron.ca>
649 * AllTests.cs: Added suite for Rjindael
650 * RjindaelTest.cs: New. Test vectors from FIPS PUB 197 appendix.
652 2002-10-19 Sebastien Pouliot <spouliot@videotron.ca>
654 * AllTests.cs: Renabled most tests after commenting all code causing a
655 cyclic dependency (corlib->System.Xml->corlib). Some tests will fail
656 until commented code is replaced.
657 * SymmetricAlgorithm.cs: New (189) generated test cases for all default
658 algorithm implementation, all cipher modes, all padding modes, all key
659 sizes, all block sizes, feedback...
660 * PKCS1MaskGenerationMethodTest.cs: Commented vector test. Added new
661 tests to check for various exceptions
663 2002-10-16 Nick Drochak <ndrochak@gol.com>
665 * CryptoConfigTest.cs (TestCreateFromName): Disable tests for
666 algorithms that aren't in the build yet.
668 2002-10-16 Nick Drochak <ndrochak@gol.com>
670 * AllTests.cs: Disable tests that use components were are excluding
674 2002-10-14 Sebastien Pouliot <spouliot@videotron.ca>
676 * AllTests.cs: Added suite for PKCS1MaskGenerationMethod
677 * PKCS1MaskGenerationMethodTest.cs: New. Test work as per PKCS#1 but
678 result isn't the same as MS implementation !?! is MS using this class ?
680 2002-10-13 Sebastien Pouliot <spouliot@videotron.ca>
682 * AllTests.cs: Added suite for HashAlgorithm, KeyedHashAlgorithm and
684 * HashAlgorithmTest.cs: New. Test for Create and Clear
685 * KeyedHashAlgorithmTest.cs: New. Test for Create and key assignation
686 * HMACSHA1Test.cs: New. Test vectors from FIPS 198 and RFC2202
688 2002-10-12 Sebastien Pouliot <spouliot@videotron.ca>
690 * AllTests.cs: Added suite for RandomNumberGenerator, SHA1 and
691 SHA1CryptoServiceProvider
692 * RandomNumberGeneratorTest.cs: New. Tests for Create and generic
693 random quality tests (FIPS140-2)
694 * SHA1Test.cs: New. Tests for Create and generic SHA1 tests (FIPS180-1)
695 * SHA1CryptoServiceProviderTest.cs: New. Inherited SHA1Tests tests +
698 2002-10-10 Sebastien Pouliot <spouliot@videotron.ca>
700 * DSATest.cs: Added non-abstract DSA class to test To/FromXmlString()
701 * RSATest.cs: Added non-abstract RSA class to test To/FromXmlString()
702 * AllTests.cs: Added DSATest.cs and RSATest.cs in suite
704 2002-10-09 Sebastien Pouliot <spouliot@videotron.ca>
706 * CryptoConfigTest.cs: New tests
707 * AllTests.cs: Added CryptoConfigTest in suite
709 2002-10-05 Andrew Birkett <andy@nobugs.org>
711 * RC2Test.cs: New test. Only three cases are enabled - the other
712 five work fine under mono, but fail under MS corlib, so I've
715 * AllTests.cs: Added RC2Test.
717 2002-09-23 Andrew Birkett <andy@nobugs.org>
719 * RijndaelManagedTest.cs: Fixed initialization order problem
720 to match MS behaviour.
722 2002-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
724 * MD5Test.cs: new test from Eduardo García Cebollero (kiwnix@yahoo.es).
725 * AllTests.cs: added new test.