diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2021-05-03 14:41:33 -0500 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2021-05-11 19:11:19 -0500 |
commit | 2f4287fdcee83b30e0f7f3ce548bcdff2ee85e1f (patch) | |
tree | f2413b7c18e22ecc4398c28df5acdfd9feebd310 /src/burn/engine/payload.h | |
parent | cd921db764df9578733c85c29e8c6c368f4c7e78 (diff) | |
download | wix-2f4287fdcee83b30e0f7f3ce548bcdff2ee85e1f.tar.gz wix-2f4287fdcee83b30e0f7f3ce548bcdff2ee85e1f.tar.bz2 wix-2f4287fdcee83b30e0f7f3ce548bcdff2ee85e1f.zip |
Bring back Burn's implementation of signature verification.
partial #6447
Diffstat (limited to 'src/burn/engine/payload.h')
-rw-r--r-- | src/burn/engine/payload.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/burn/engine/payload.h b/src/burn/engine/payload.h index 6fc6de5e..c12fbe66 100644 --- a/src/burn/engine/payload.h +++ b/src/burn/engine/payload.h | |||
@@ -26,6 +26,7 @@ enum BURN_PAYLOAD_STATE | |||
26 | enum BURN_PAYLOAD_VERIFICATION | 26 | enum BURN_PAYLOAD_VERIFICATION |
27 | { | 27 | { |
28 | BURN_PAYLOAD_VERIFICATION_NONE, | 28 | BURN_PAYLOAD_VERIFICATION_NONE, |
29 | BURN_PAYLOAD_VERIFICATION_AUTHENTICODE, | ||
29 | BURN_PAYLOAD_VERIFICATION_HASH, | 30 | BURN_PAYLOAD_VERIFICATION_HASH, |
30 | BURN_PAYLOAD_VERIFICATION_UPDATE_BUNDLE, | 31 | BURN_PAYLOAD_VERIFICATION_UPDATE_BUNDLE, |
31 | }; | 32 | }; |
@@ -41,6 +42,10 @@ typedef struct _BURN_PAYLOAD | |||
41 | DWORD64 qwFileSize; | 42 | DWORD64 qwFileSize; |
42 | LPWSTR sczFilePath; // file path relative to the execute location | 43 | LPWSTR sczFilePath; // file path relative to the execute location |
43 | 44 | ||
45 | BYTE* pbCertificateRootPublicKeyIdentifier; | ||
46 | DWORD cbCertificateRootPublicKeyIdentifier; | ||
47 | BYTE* pbCertificateRootThumbprint; | ||
48 | DWORD cbCertificateRootThumbprint; | ||
44 | BYTE* pbHash; | 49 | BYTE* pbHash; |
45 | DWORD cbHash; | 50 | DWORD cbHash; |
46 | BURN_PAYLOAD_VERIFICATION verification; | 51 | BURN_PAYLOAD_VERIFICATION verification; |