CRYPT_PROVIDER_SGNR structure (wintrust.h)

[The CRYPT_PROVIDER_SGNR structure is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]

The CRYPT_PROVIDER_SGNR structure provides information about a signer or countersigner.

Syntax

typedef struct _CRYPT_PROVIDER_SGNR {
  DWORD                       cbStruct;
  FILETIME                    sftVerifyAsOf;
  DWORD                       csCertChain;
  struct _CRYPT_PROVIDER_CERT *pasCertChain;
  DWORD                       dwSignerType;
  CMSG_SIGNER_INFO            *psSigner;
  DWORD                       dwError;
  DWORD                       csCounterSigners;
  struct _CRYPT_PROVIDER_SGNR *pasCounterSigners;
  PCCERT_CHAIN_CONTEXT        pChainContext;
} CRYPT_PROVIDER_SGNR, *PCRYPT_PROVIDER_SGNR;

Members

cbStruct

The size, in bytes, of this structure.

sftVerifyAsOf

The current time, or the time stamp.

csCertChain

Number of elements in the pasCertChain array.

pasCertChain

Array of CRYPT_PROVIDER_CERT structures.

dwSignerType

Signer type, if known by the policy. This value is zero, if the signer type is unknown, or the following value.

Value Meaning
SGNR_TYPE_TIMESTAMP
0x00000010
Time stamp signer.

psSigner

A pointer to a CMSG_SIGNER_INFO structure.

dwError

Error value, if any, while building or verifying the signer.

csCounterSigners

Number of elements in the pasCounterSigners array.

pasCounterSigners

A pointer to an array of CRYPT_PROVIDER_SGNR structures that represent the countersigners.

pChainContext

A pointer to a CERT_CHAIN_CONTEXT structure.

Requirements

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