Commit Graph

82 Commits

Author SHA1 Message Date
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
Juan Lang
e1f83a7abf crypt32: Implement PKCS_ATTRIBUTES encoding/decoding. 2007-06-13 11:55:57 +02:00
Juan Lang
97f2c658fd crypt32: Implement PKCS_ATTRIBUTE encoding/decoding. 2007-06-13 11:54:36 +02:00
Juan Lang
1cd9510be0 crypt32: Implement PKCS_CONTENT_INFO encoding/decoding. 2007-06-13 11:53:47 +02:00
Juan Lang
2d00a4f0f5 crypt32: Implement CERT_AUTHORITY_KEY_ID2_INFO encoding/decoding. 2007-06-13 11:53:36 +02:00
Francois Gouget
4bc31a962a crypt32/tests: Replace some '#if 0's with 'if (0)'s. 2007-01-08 12:08:55 +01:00
Andrew Talbot
fa8b971c2e crypt32/tests: Cast-qual warnings fix. 2006-12-08 11:39:00 +01:00
Alexandre Julliard
6a9222fc39 Fixed some printf warnings caused by using sizeof. 2006-10-12 14:58:25 +02:00
Juan Lang
353cd81c9a crypt32/tests: Win64 printf format warning fixes. 2006-10-02 14:40:14 +02:00
Juan Lang
9153d39cda crypt32: Encode/decode authority key ids. 2006-09-27 09:40:50 +02:00
Juan Lang
c3702346bc crypt32: Test decoding a big CRL. 2006-09-21 11:15:57 +02:00
Alexandre Julliard
8e06fc4c0d crypt32: Comment out an unreliable test. 2006-09-12 14:45:48 +02:00
Alexandre Julliard
4bbcaad249 crypt32/tests: Avoid sizeof in traces. 2006-08-25 18:37:38 +02:00
Andrew Talbot
198bdd422f crypt32/tests: Write-strings warnings fix. 2006-08-14 11:44:34 +02:00
Andrew Talbot
2c23192704 crypt32/tests: Write-strings warnings fix. 2006-07-28 12:32:48 +02:00
Juan Lang
8ccbdb801e crypt32: Implement X509_UNICODE_NAME encoding/decoding. 2006-07-27 12:10:45 +02:00
Juan Lang
1eefa005da crypt32: Implement more string types for X509_NAME_VALUE. 2006-07-20 12:09:59 +02:00
Juan Lang
ead21189c2 crypt32: Implement X509_UNICODE_NAME_VALUE encoding/decoding. 2006-07-19 18:15:56 +02:00
Andrew Talbot
ee9b18f04b crypt32/tests: Write-strings warnings test. 2006-07-11 12:37:18 +02:00
Francois Gouget
e72b9f0e55 crypt32: Fix compilation with gcc 2.95. 2006-06-26 13:04:47 +02:00
Juan Lang
cb2e21ffb4 crypt32: Encode/decode CRL issuing dist points. 2006-06-20 11:28:22 +02:00
Juan Lang
1811acc2fa crypt32: Fix decoding signed certs and CRLs. 2006-06-19 22:55:05 +02:00
Juan Lang
bc2d4a71b4 crypt32: Correct CRL tests, and fix CRL encoding/decoding accordingly. 2006-06-16 11:30:10 +02:00
Alexandre Julliard
52d6077f8b crypt32/tests: Don't use sizeof in ok() to avoid printf format warnings. 2006-06-13 14:02:03 +02:00
Alexandre Julliard
93fd4524e4 crypt32/tests: Use lstrlenA instead of strlen in ok() to avoid printf format warnings. 2006-06-13 13:56:39 +02:00
Juan Lang
dd4bd4ad28 crypt32: Implement X509_NAME_VALUE encoding/decoding. 2006-06-03 11:55:01 +02:00
Juan Lang
9879a47f9d crypt32: Add name value tests.
Add tests for name values, and move tests for different string
encodings to there.
2006-06-02 20:42:48 +02:00
Juan Lang
6d668d9d38 crypt32: Add a couple CRL encoding tests, one that shows a problem. 2006-06-02 11:46:23 +02:00
Jonathan Ernst
360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Juan Lang
24157e0f74 crypt32: Test importing public keys from a certificate. 2006-05-16 12:41:04 +02:00
Juan Lang
7e9ba76da1 crypt32: Use the HRESULT synonyms for converted Win32 error codes. 2006-05-15 11:06:04 +02:00
Juan Lang
5d3889412d crypt32: Tidy up tests.
Fix up encoded data to use BYTE arrays rather than strings, and remove
extraneous NULL bytes from the end of some of them
2006-02-22 18:20:03 +01:00
Juan Lang
11fe62de8f crypt32: More encoding/decoding.
Add support for encoding/decoding basic constraints and enhanced key
usage, with tests.
2006-02-16 19:39:27 +01:00