Commit Graph

108 Commits

Author SHA1 Message Date
Francois Gouget
6bd4bf66e2 crypt32: Fix compilation on systems that don't support nameless unions. 2008-09-02 13:59:31 +02:00
Huw Davies
e8d834e02d crypt32: Fix streamed, detached updates.
Thanks to Juan for confirming this is the correct fix.
2008-08-29 12:22:46 +02:00
Huw Davies
152a55eef2 crypt32/tests: Add a test for streamed, detached updates. 2008-08-29 12:22:41 +02:00
Juan Lang
13545bee2d crypt32: Fix verifying the hash of a detached hash message. 2008-08-27 13:21:21 +02:00
Juan Lang
9db120d015 crypt32: Add tests for verifying the hash of a detached hash message. 2008-08-27 13:21:21 +02:00
Paul Vriens
5f727cb2af crypt32/tests: Use CryptAcquireContextA instead of CryptAcquireContextW. 2008-08-26 13:41:19 +02:00
Juan Lang
0a8d14c2e6 crypt32: Rewrite CDecodeMsg_Update for better detached data handling. 2008-08-21 11:35:07 +02:00
Juan Lang
51b16fb857 crypt32: Support the KeyId type of signer in CMSG_SIGNER_INFO_PARAM. 2008-08-21 11:33:39 +02:00
Juan Lang
57a85f0d6b crypt32: Implement CMSG_CMS_SIGNER_INFO_PARAM. 2008-08-21 11:33:30 +02:00
Juan Lang
6d9fc0f59d crypt32: Add tests for CMSG_CMS_SIGNER_INFO_PARAM. 2008-08-21 11:33:21 +02:00
Juan Lang
ca94a1cc0d crypt32: Add more tests for the version of encoded signed CMS messages. 2008-08-21 11:33:12 +02:00
Juan Lang
595bae3ef3 crypt32: Test and correct encoding of signed CMS messages. 2008-08-21 11:33:03 +02:00
Juan Lang
4fa4e5a793 crypt32: Allow CMS fields to be set when opening a signed message to encode. 2008-08-20 10:24:21 +02:00
Juan Lang
3297080045 crypt32: Allow messages to be opened when compiled with CMSG_SIGNED_ENCODE_INFO_HAS_CMS_FIELDS if CMS fields aren't actually used. 2008-08-20 10:24:15 +02:00
Juan Lang
427b3fbd5d crypt32: Allow messages to be opened when compiled with CMSG_SIGNER_ENCODE_INFO_HAS_CMS_FIELDS if CMS fields aren't actually used. 2008-08-20 10:24:08 +02:00
Juan Lang
fc8545b43a crypt32: Implement CryptMsgGetAndVerifySigner. 2008-08-18 17:15:55 +02:00
Juan Lang
d677f6084d crypt32: Add tests for CryptMsgGetAndVerifySigner. 2008-08-18 17:15:55 +02:00
Reece Dunn
6a21ab270b crypt32: Check Vista error codes for the msg tests. 2008-07-29 14:10:00 +02:00
Juan Lang
bca6cbcea7 crypt32: Move simplified message tests to their own file. 2008-07-29 11:52:04 +02:00
Detlef Riekenberg
07eeb4e406 crypt32/tests: Make the msg tests usable on win9x (avoid crash). 2008-07-21 14:37:22 +02:00
Juan Lang
44f2517335 crypt32: Allow one update to a decode message after the final update if it's a detached message. 2008-03-26 10:33:16 +01:00
Juan Lang
3617819bf6 crypt32: Test updates after the final update to a detached message. 2008-03-26 10:33:01 +01:00
Francois Gouget
4c8e218252 Assorted spelling fixes. 2008-02-15 12:09:24 +01:00
Juan Lang
d8fb290ee1 crypt32: Fix a couple leaked messages. 2007-10-19 14:21:59 +02:00
Juan Lang
71b5ba0336 crypt32: Implement streamed encoding of an indefinite-length data message. 2007-09-19 11:40:44 +02:00
Juan Lang
f5b4806159 crypt32: Implement CryptVerifyMessageSignature. 2007-08-23 12:38:05 +02:00
Juan Lang
3a9e1d6648 crypt32: Test and correct verifying the signature of a valid signed message. 2007-08-23 12:37:59 +02:00
Juan Lang
4fb26709cd crypt32: Test encoding a signed message with a valid public key. 2007-08-22 12:59:37 +02:00
Juan Lang
e52c80e53b crypt32: Test and implement CryptGetMessageSignerCount. 2007-08-22 12:33:59 +02:00
Juan Lang
b7e420429d crypt32: Implement verifying a decoded signed message's signature. 2007-08-21 22:09:35 +02:00
Juan Lang
d3431271fa crypt32: Test and implement getting the computed hash from a decoded signed message. 2007-08-21 22:09:31 +02:00
Juan Lang
3e88838b60 crypt32: Implement verifying the hash of a decoded hash message. 2007-08-21 22:08:20 +02:00
Juan Lang
e7ce5ae2bc crypt32: Add a couple tests that show you can't get the hash from an encoded hash message, and fix encoded hash messages to match. 2007-08-21 22:08:15 +02:00
Juan Lang
163e8d6256 crypt32: Add a mostly stub control function for decode messages. 2007-08-21 22:08:11 +02:00
Juan Lang
31c414f4b4 crypt32: Add a default message control function pointer. 2007-08-21 22:08:06 +02:00
Juan Lang
cc8948fefa crypt32: Add tests for CryptMsgControl. 2007-08-21 22:08:01 +02:00
Juan Lang
8c4330e732 crypt32: Test an encoded signed message with a cert with a public key. 2007-08-21 22:07:56 +02:00
Paul Vriens
c0b88f880f crypt32/tests: Make tests run again on win95. 2007-08-14 12:46:38 +02:00
Juan Lang
4e0f33dada crypt32: Support getting the inner content OID from a decoded signed message. 2007-07-31 11:16:04 +02:00
Juan Lang
555e85a2b2 crypt32: Implement getting signer info from a decoded signed message. 2007-07-31 11:14:46 +02:00
Juan Lang
d6150a7974 crypt32: Implement getting inner content of a decoded signed message. 2007-07-31 11:14:26 +02:00
Juan Lang
2acb8a2dd2 crypt32: Test getting more parameters from a decoded signed message. 2007-07-31 11:14:18 +02:00
Juan Lang
115edc67e6 crypt32: Implement getting some parameters from a decoded signed message. 2007-07-30 12:53:20 +02:00
Juan Lang
d187fcd172 crypt32: Test getting parameters from decoded signed messages. 2007-07-30 12:52:59 +02:00
Juan Lang
d5a478edfa crypt32: Test and implement encoding signed messages with authenticated attributes. 2007-07-26 12:35:21 +02:00
Juan Lang
e0b13a20b5 crypt32: Add initial tests for decoding signed messages. 2007-07-26 12:34:26 +02:00
Juan Lang
5572902046 crypt32: Test getting the hash from a hash message with an invalid index. 2007-07-26 12:34:19 +02:00
Juan Lang
f987ca01d0 crypt32: Test and implement getting the encoded signers from an encoded signed message. 2007-07-25 13:02:23 +02:00
Juan Lang
0584964518 crypt32: Test and implement encoding signed data messages with CRLs. 2007-07-24 11:49:23 +02:00
Juan Lang
01ab14e174 crypt32: Test and implement encoding signed messages with certificates. 2007-07-24 11:49:14 +02:00