164 Commits

Author SHA1 Message Date
James Hawkins
a50fc2cc16 crypt32: Split the test for ret and last error up. 2008-08-29 13:26:14 +02:00
Juan Lang
7ddb29f6fd crypt32: Add tests showing signed CTLs aren't decoded by CryptDecodeObject. 2008-08-29 12:23:58 +02:00
Juan Lang
ff0760dcd3 crypt32: Implement CTL decoding. 2008-08-28 11:49:37 +02:00
Juan Lang
a96361361d crypt32: Implement encoding CTLs. 2008-08-28 11:49:34 +02:00
Juan Lang
26d643d3e5 crypt32: Add tests for encoding/decoding CTLs. 2008-08-28 11:49:29 +02:00
Juan Lang
e594d24006 crypt32: Implement authority info access decoding. 2008-08-28 11:24:30 +02:00
Juan Lang
7e848b6cdc crypt32: Implement authority info access encoding. 2008-08-28 11:03:56 +02:00
Juan Lang
76f400b771 crypt32: Test encoding/decoding the authority info access extension. 2008-08-28 11:03:49 +02:00
Juan Lang
ac5c7d22d0 crypt32: Add support for decoding PKCS_SMIME_CAPABILITIES. 2008-08-21 11:36:01 +02:00
Juan Lang
db6c8e23b6 crypt32: Add support for encoding PKCS_SMIME_CAPABILITIES. 2008-08-21 11:35:54 +02:00
Juan Lang
70744f07d1 crypt32: Add tests for encoding/decoding PKCS_SMIME_CAPABILITIES. With help from Huw Davies. 2008-08-21 11:35:40 +02:00
Juan Lang
9b953c5f1e crypt32: Implement decoding CMSG_CMS_SIGNER_INFO. 2008-08-20 10:23:57 +02:00
Juan Lang
817adc5599 crypt32: Implement CMSG_CMS_SIGNER_INFO encoding. 2008-08-20 10:23:50 +02:00
Juan Lang
d71e6e96dd crypt32: Add tests for encoding/decoding CMSG_CMS_SIGNER_INFO. 2008-08-20 10:23:42 +02:00
Michael Karcher
8fa3b6871f crypt32: Pass on aiKeyAlg on RSA key import. 2008-05-26 17:59:07 +02:00
Juan Lang
5618fdb3df crypt32: Fix test failures on NT4. 2008-02-16 13:51:44 +01:00
Francois Gouget
d0794c4aeb Assorted spelling fixes. 2008-01-23 21:16:22 +01:00
Francois Gouget
c69d47fa49 crypt32/tests: Get the tests running on Windows 98. 2007-11-20 16:45:02 +01:00
Juan Lang
4c981e20ef crypt32: Fix another leak in tests. 2007-11-09 12:24:46 +01:00
Juan Lang
f6bfa45970 crypt32: Fix a couple leaks in test. 2007-11-09 12:24:40 +01:00
Juan Lang
c5d5c5b63a crypt32: Fail decoding a CRL entry if the serial number is empty. 2007-11-08 11:49:49 +01:00
Juan Lang
e94cae61a1 crypt32: Fix a leaked key. 2007-11-02 12:22:31 +01:00
Juan Lang
b9e78cc637 crypt32: Initialize a variable. 2007-11-02 12:22:10 +01:00
Francois Gouget
3265f2d7c4 crypt32/tests: Fix compilation on systems that don't support nameless unions. 2007-10-15 14:05:08 +02:00
Juan Lang
c57a084882 crypt32: Implement name constraints decoding. 2007-10-11 22:23:13 +02:00
Juan Lang
436a4a283b crypt32: Allow either NULL or empty strings where one or the other is expected. 2007-10-11 22:22:55 +02:00
Juan Lang
942fb6c3eb crypt32: Implement name constraint encoding. 2007-10-11 22:22:33 +02:00
Juan Lang
ade18ff33c crypt32: Test encoding/decoding name constraints. 2007-10-11 22:22:25 +02:00
Juan Lang
e6dbb9d203 crypt32: Allow imprecision of one millisecond in time decoding to fix test failures on Windows. 2007-10-11 22:22:01 +02:00
Marcus Meissner
7689953404 crypt32/tests: Fixed buffer overflow in encode test. 2007-10-09 17:52:46 +02:00
Juan Lang
6021eef5c9 crypt32: Print values of failing time tests. 2007-10-09 12:34:35 +02:00
Juan Lang
57240ddd05 crypt32: Remove some tests that fail inconsistently on Windows.
Reported by Steven Edwards.
2007-10-09 12:34:35 +02:00
Juan Lang
9c4c856fde crypt32: Explicitly count bytes to copy in DecodeCopyBytes. 2007-09-18 11:57:41 +02:00
Juan Lang
7e475b4a77 crypt32: Test and correct decoding indefinite-length-encoded PKCS content. 2007-09-18 11:57:33 +02:00
Juan Lang
5d168bd4c0 crypt32: Support indefinite-length encoded arrays. 2007-09-18 11:54:10 +02:00
Juan Lang
15b19f1d16 crypt32: Add a test of an indefinite-length sequence. 2007-09-18 11:52:09 +02:00
Juan Lang
b82bfa3455 crypt32: Test authority key identifier with a multi-byte id to show that its byte-order is swapped and fix encoding and decoding it. 2007-08-14 12:29:51 +02:00
Francois Gouget
f045243542 crypt32/tests: Fix compilation on systems that don't support nameless unions. 2007-08-08 15:32:03 +02:00
Juan Lang
c98f605b0e crypt32: Test encoding a cert with a subject key identifier extension. 2007-08-03 12:36:36 +02:00
Juan Lang
0c5772dc0a crypt32: Test encoding a cert with a public key. 2007-08-03 12:36:16 +02:00
Juan Lang
44948c3b38 crypt32: Implement decoding OID and directory name alt name entries. 2007-08-03 12:29:47 +02:00
Juan Lang
9194d60061 crypt32: Test encoding/decoding a couple more alt name entry types. 2007-08-03 12:28:40 +02:00
Juan Lang
c58cb379eb crypt32: Test and fix encoding and decoding of attributes in PKCS signers. 2007-07-26 12:35:05 +02:00
Juan Lang
8dcd9e4279 crypt32: Fix decoding sequences with extra trailing data. 2007-07-16 13:39:35 +02:00
Juan Lang
01685bca0e crypt32: Add test showing extra trailing bytes should be tolerated in encoded data. 2007-07-16 13:39:24 +02:00
Juan Lang
678fb8ac14 crypt32: Introduce an algorithm id encoding function that encodes missing parameters as NULL
and use it to match native encoding (and simplify PKCS signer tests).
2007-07-13 14:39:40 +02:00
Juan Lang
68b052057b crypt32: Use skip to avoid failures where support is missing. 2007-07-02 13:32:28 +02:00
Francois Gouget
fe40b2d85f crypt32/tests: Fix compilation on systems that don't support nameless unions. 2007-06-18 13:36:48 +02:00
Francois Gouget
021c4dba17 crypt32: Add missing '\n' to ok() call. 2007-06-14 13:54:45 +02:00
Juan Lang
d1ac9c73f6 crypt32: Implement PKCS7_SIGNER_INFO encoding/decoding. 2007-06-13 11:56:20 +02:00