CRYPTUI_WIZ_DIGITAL_SIGN_CERT_PVK_INFO structure (cryptuiapi.h)

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

The CRYPTUI_WIZ_DIGITAL_SIGN_CERT_PVK_INFO structure contains information about the PVK file that contains the certificates used by the CryptUIWizDigitalSign function.

Syntax

typedef struct _CRYPTUI_WIZ_DIGITAL_SIGN_CERT_PVK_INFO {
  DWORD  dwSize;
  LPWSTR pwszSigningCertFileName;
  DWORD  dwPvkChoice;
  union {
    PCCRYPTUI_WIZ_DIGITAL_SIGN_PVK_FILE_INFO pPvkFileInfo;
    PCRYPT_KEY_PROV_INFO                     pPvkProvInfo;
  };
} CRYPTUI_WIZ_DIGITAL_SIGN_CERT_PVK_INFO, *PCRYPTUI_WIZ_DIGITAL_SIGN_CERT_PVK_INFO;

Members

dwSize

The size, in bytes, of the structure.

pwszSigningCertFileName

A pointer to a null-terminated Unicode string that contains the path and file named of the file that contains the signing certificates.

dwPvkChoice

Specifies the type of entity that contains the certificates. This can be one of the following values.

Value Meaning
CRYPTUI_WIZ_DIGITAL_SIGN_PVK_FILE
The entity is a PVK file.
CRYPTUI_WIZ_DIGITAL_SIGN_PVK_PROV
The entity is a PVK provider.

pPvkFileInfo

A pointer to a CRYPTUI_WIZ_DIGITAL_SIGN_PVK_FILE_INFO structure that contains the PVK file that contains the certificates. This member is used if CRYPTUI_WIZ_DIGITAL_SIGN_PVK_FILE is specified for the dwPvkChoice member.

pPvkProvInfo

A pointer to a CRYPT_KEY_PROV_INFO structure that contains information about the PVK provider that contains the certificates. This member is used if CRYPTUI_WIZ_DIGITAL_SIGN_PVK_PROV is specified for the dwPvkChoice member.

Requirements

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

See also

CryptUIWizDigitalSign