Export (0) Print
Expand All
Expand Minimize

WINTRUST_SIGNATURE_SETTINGS structure

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.

ValueMeaning
WSS_VERIFY_SPECIFIC
0x00000001

Set this value if you set the dwIndex parameter.

WSS_GET_SECONDARY_SIG_COUNT
0x00000002

Set this value to return the number of secondary signatures found in the cSecondarySigs member.

 

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

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Wintrust.h

See also

CERT_STRONG_SIGN_PARA
WinVerifyTrust

 

 

Community Additions

ADD
Show:
© 2014 Microsoft