WINTRUST_SIGNATURE_SETTINGS structure (wintrust.h)
The WINTRUST_SIGNATURE_SETTINGS structure can be used to specify the signatures on a file.
Syntax
typedef struct WINTRUST_SIGNATURE_SETTINGS_ {
DWORD cbStruct;
DWORD dwIndex;
DWORD dwFlags;
DWORD cSecondarySigs;
DWORD dwVerifiedSigIndex;
PCERT_STRONG_SIGN_PARA pCryptoPolicy;
} WINTRUST_SIGNATURE_SETTINGS, *PWINTRUST_SIGNATURE_SETTINGS;
Members
cbStruct
Size, in bytes, of this structure.
dwIndex
Contains the index of the signature to be validated if the dwFlags member is set to WSS_VERIFY_SPECIFIC.
dwFlags
Flags that can be used to refine behavior. This can be one of the following values.
cSecondarySigs
Contains the number of secondary signatures found if the dwFlags member is set to WSS_GET_SECONDARY_SIG_COUNT.
dwVerifiedSigIndex
The index used for verification. This member is set on return from Wintrust.
pCryptoPolicy
Pointer to a CERT_STRONG_SIGN_PARA structure that contains the policy that a signature must pass to be considered valid.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps only] |
Minimum supported server | Windows Server 2012 [desktop apps only] |
Header | wintrust.h |