CRYPTUI_WIZ_DIGITAL_SIGN_EXTENDED_INFO structure (cryptuiapi.h)
[The CRYPTUI_WIZ_DIGITAL_SIGN_EXTENDED_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_EXTENDED_INFO structure is used with the CRYPTUI_WIZ_DIGITAL_SIGN_INFO structure to contain extended information about a signature.
Syntax
typedef struct _CRYPTUI_WIZ_DIGITAL_SIGN_EXTENDED_INFO {
DWORD dwSize;
DWORD dwAttrFlags;
LPCWSTR pwszDescription;
LPCWSTR pwszMoreInfoLocation;
LPCSTR pszHashAlg;
LPCWSTR pwszSigningCertDisplayString;
HCERTSTORE hAdditionalCertStore;
PCRYPT_ATTRIBUTES psAuthenticated;
PCRYPT_ATTRIBUTES psUnauthenticated;
} CRYPTUI_WIZ_DIGITAL_SIGN_EXTENDED_INFO, *PCRYPTUI_WIZ_DIGITAL_SIGN_EXTENDED_INFO;
Members
dwSize
The size, in bytes, of the structure.
dwAttrFlags
A value that indicates the type of the signature. This can be one of the following values.
Value | Meaning |
---|---|
|
The signature is a commercial signature. |
|
The signature is a personal signature. |
pwszDescription
A pointer to a null-terminated Unicode string that contains the description of the subject of the signature.
pwszMoreInfoLocation
A pointer to a null-terminated Unicode string that contains the location from which to get more information about the file. This information will be displayed when the file is downloaded.
pszHashAlg
A pointer to a null-terminated ANSI string that contains the object identifier (OID) of the hash algorithm used for the signature. The default value is NULL, which indicates that the SHA-1 hash algorithm is used.
pwszSigningCertDisplayString
A pointer to a null-terminated Unicode string that contains the string displayed on the digital signature wizard page. The string should prompt the user to select a certificate for a specific purpose.
hAdditionalCertStore
A handle to an additional certificate store that will be added to the signature.
psAuthenticated
A pointer to a CRYPT_ATTRIBUTES structure that contains authenticated attributes supplied by the user.
psUnauthenticated
A pointer to a CRYPT_ATTRIBUTES structure that contains unauthenticated attributes supplied by the user.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Header | cryptuiapi.h |