Juan Lang
12a848e54b
wintrust: Partially implement SoftpubLoadMessage for catalog files.
2008-10-24 14:25:00 +02:00
Juan Lang
153066c64a
wintrust: Pass file handle and path to SOFTPUB_GetMessageFromFile.
2008-10-24 14:25:00 +02:00
Juan Lang
1bfb602993
wintrust: Separate loading a message from a WINTRUST_FILE_INFO into a helper function.
2008-10-24 14:25:00 +02:00
Juan Lang
6455674c97
wintrust: Separate loading a message from a WINTRUST_CERT_INFO into a helper function.
2008-10-24 14:25:00 +02:00
Juan Lang
36d01401dc
wintrust: Implement WVTAsn1CatNameValueDecode.
2008-10-18 20:13:10 +02:00
Juan Lang
e009cd9039
wintrust: Add tests for WVTAsn1CatNameValueDecode.
2008-10-18 20:13:04 +02:00
Juan Lang
9216340ab7
wintrust: Add stub for WVTAsn1CatNameValueDecode.
2008-10-18 20:12:59 +02:00
Juan Lang
74b91cb25f
wintrust: Implement WVTAsn1CatNameValueEncode.
2008-10-18 20:12:53 +02:00
Juan Lang
1f6a67d881
wintrust: Add tests for WVTAsn1CatNameValueEncode.
2008-10-18 20:12:46 +02:00
Juan Lang
9033fa9ab2
wintrust: Add stub for WVTAsn1CatNameValueEncode.
2008-10-18 20:12:40 +02:00
Juan Lang
c80b99a2f4
wintrust: Implement WVTAsn1CatMemberInfoDecode.
2008-10-18 19:31:34 +02:00
Juan Lang
6b13b35640
wintrust: Add tests for WVTAsn1CatMemberInfoDecode.
2008-10-18 19:31:28 +02:00
Juan Lang
65c5d3e4a8
wintrust: Add stub for WVTAsn1CatMemberInfoDecode.
2008-10-18 19:31:19 +02:00
Juan Lang
d3d7dfa7ff
wintrust: Implement WVTAsn1CatMemberInfoEncode.
2008-10-18 19:31:10 +02:00
Juan Lang
52751981ad
wintrust: Add tests for WVTAsn1CatMemberInfoEncode.
2008-10-18 19:30:57 +02:00
Juan Lang
4ffb8a2318
wintrust: Add stub for WVTAsn1CatMemberInfoEncode.
2008-10-18 19:30:44 +02:00
Maarten Lankhorst
4b9fd9a289
includes: Fix CryptCATAdminAddCatalog definition.
2008-10-16 11:21:51 +02:00
Juan Lang
04a65b3cb8
wintrust: Fix test failures on Win9x.
2008-10-09 14:19:54 +02:00
Paul Vriens
b7787ec0c8
wintrust/tests: Vista/W2K8 have some extra struct members.
2008-10-09 13:01:50 +02:00
Juan Lang
04841e1f35
wintrust: Don't hardcode supported OIDs, let CryptDecodeObject handle it directly.
2008-10-09 12:15:03 +02:00
Juan Lang
a4eb01d2d7
wintrust: Implement CryptSIPGetSignedDataMsg for .cat files.
2008-10-09 12:14:51 +02:00
Juan Lang
0f43beaa7b
wintrust: Implement OpenPersonalTrustDBDialog.
2008-10-02 10:28:45 -05:00
Juan Lang
8c90767c3d
wintrust: Implement WTHelperGetKnownUsages.
2008-10-01 09:56:22 -05:00
Juan Lang
c4c409e91c
wintrust: Add tests for WTHelperGetKnownUsages.
2008-10-01 09:55:20 -05:00
Juan Lang
6e0f86596f
wintrust: Add stub for WTHelperGetKnownUsages.
2008-10-01 09:54:38 -05:00
Juan Lang
cdfb393db4
wintrust: Only set the error on the root element of the chain.
2008-09-29 17:22:04 -05:00
Juan Lang
c20a617aec
wintrust: Use helper function for setting confidence in SoftpubCheckCert.
2008-09-29 17:21:56 -05:00
Juan Lang
cc3a94f40d
wintrust: Map cert trust error status to a windows error.
2008-09-29 17:21:47 -05:00
Juan Lang
d99b23819d
wintrust: Support the CERT_CERTIFICATE_ACTION_VERIFY action.
2008-09-23 12:13:52 +02:00
Juan Lang
036128842a
wintrust: Check that the end certificate in the chain isn't disallowed to match native behavior.
2008-09-23 12:13:46 +02:00
Juan Lang
2844cb5a65
wintrust: Only do policy check if pointer is set.
2008-09-23 12:13:39 +02:00
Juan Lang
f3ba89f948
wintrust: Use helper function to add the trust steps to execute.
2008-09-23 12:13:35 +02:00
Juan Lang
a74aab7516
wintrust: Use helper function to allocate CRYPT_PROVIDER_DATA.
2008-09-23 12:13:26 +02:00
Juan Lang
30547a45e2
wintrust: Always initialize CERT_CHAIN_PARA's RequestedUsage.
2008-09-23 12:13:17 +02:00
Juan Lang
a9dbc17d50
wintrust: Store the error status and confidence for each element in the chain.
2008-09-23 12:13:01 +02:00
Juan Lang
49fdba4768
wintrust: Search all additional stores when building a chain, not just the first one.
2008-09-23 12:12:57 +02:00
Juan Lang
500403957d
wintrust: Add traces to a few more functions.
2008-09-19 12:09:02 +02:00
Juan Lang
61077035fc
wintrust: Don't assume dwStateAction is set in WINTRUST_DATA.
2008-09-18 12:32:31 +02:00
Marcus Meissner
de530b55af
include: Allocation size markup.
2008-09-15 11:23:27 +02:00
Rob Shearman
19e9b665c6
wintrust: Add explicit "!= NO_ERROR" to expressions that use variables containing error codes as booleans.
2008-09-12 16:50:13 +02:00
Paul Vriens
6d6881a791
wintrust/tests: Add a missing FreeLibrary.
2008-09-05 16:26:33 +02:00
Juan Lang
2a31760331
wintrust: Implement CryptSIPGetSignedDataMsg for cabinet files.
...
Fixes a regression in installing the DirectX 9 runtime.
Based on code from cabinet.dll's fdi.c, thus the healthy dose of
attributions. Unfortunately there's no public API that'll get this
info for me (that I know of.)
2008-07-24 11:58:02 +02:00
Juan Lang
c7d1d34956
wintrust: Don't assume input file is a PE file in CryptSIPGetSignedDataMsg.
2008-07-24 11:57:34 +02:00
Francois Gouget
32974e25a2
wintrust/tests: Fix compilation on systems that don't support nameless unions.
2008-07-21 12:57:42 +02:00
Juan Lang
88ac766f8b
wintrust: Correct error slot for SoftpubLoadSignature.
2008-07-16 17:53:32 +02:00
Juan Lang
b871679922
wintrust: Execute WinVerifyTrust as a sequence of steps, and return the error code from the first failing step of the sequence.
2008-07-16 17:53:18 +02:00
Juan Lang
a3e601ecf0
wintrust: Add tests for WinVerifyTrust/WinVerifyTrustEx.
2008-07-16 17:53:07 +02:00
Juan Lang
1da4a29050
wintrust: Move provider function tests to their own function.
2008-07-16 17:52:45 +02:00
Andrew Talbot
015321910d
wintrust: Remove unneeded address-of operators from array names.
2008-07-14 11:50:45 +02:00
Juan Lang
0c419108ef
wintrust: Use path in WIN_TRUST_SUBJECT_FILE structure rather than assuming a path is passed in place of WINTRUST_DATA's pFile member.
2008-07-11 13:58:07 +02:00