CRYPT_PROVIDER_SIGSTATE structure (wintrust.h)

The CRYPT_PROVIDER_SIGSTATE structure is used to communicate between policy providers and Wintrust.

Syntax

typedef struct _CRYPT_PROVIDER_SIGSTATE {
  DWORD                               cbStruct;
  HCRYPTMSG                           *rhSecondarySigs;
  HCRYPTMSG                           hPrimarySig;
  BOOL                                fFirstAttemptMade;
  BOOL                                fNoMoreSigs;
  DWORD                               cSecondarySigs;
  DWORD                               dwCurrentIndex;
  BOOL                                fSupportMultiSig;
  DWORD                               dwCryptoPolicySupport;
  DWORD                               iAttemptCount;
  BOOL                                fCheckedSealing;
  struct _SEALING_SIGNATURE_ATTRIBUTE *pSealingSignature;
} CRYPT_PROVIDER_SIGSTATE, *PCRYPT_PROVIDER_SIGSTATE;

Members

cbStruct

Size, in bytes, of this structure.

rhSecondarySigs

Pointer to an array of secondary signature handles.

hPrimarySig

Handle of the primary signature.

fFirstAttemptMade

Specifies whether the first attempt to verify a signature has been made.

fNoMoreSigs

Specifies whether there exist further signatures that await verification.

cSecondarySigs

Number of secondary signatures.

dwCurrentIndex

Index of the signature currently being verified.

fSupportMultiSig

Specifies whether the policy provider supports multiple signatures.

dwCryptoPolicySupport

Identifies the portion of the policy provider that supports cryptographic policy. This can be one of the following values:

  • WSS_OBJTRUST_SUPPORT
  • WSS_SIGTRUST_SUPPORT
  • WSS_CERTTRUST_SUPPORT

iAttemptCount

fCheckedSealing

pSealingSignature

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Header wintrust.h

See also

WINTRUST_SIGNATURE_SETTINGS