大网数据广告活动
账户与安全

CRYPTUI_VIEWSIGNERINFO_STRUCT structure

· 52CE 我爱测

Contains information for the CryptUIDlgViewSignerInfo function.

[The CRYPTUI_VIEWSIGNERINFO_STRUCT 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_VIEWSIGNERINFO_STRUCT structure contains information for the CryptUIDlgViewSignerInfo function.

Note:
This structure is not declared in a published header file. To use this structure, declare it in the exact format shown.

Syntax

typedef struct tagCRYPTUI_VIEWSIGNERINFO_STRUCT {
  DWORD            dwSize;
  HWND             hwndParent;
  DWORD            dwFlags;
  LPCTSTR          szTitle;
  CMSG_SIGNER_INFO *pSignerInfo;
  HCRYPTMSG        hMsg;
  LPCSTR           pszOID;
  DWORD_PTR        dwReserved;
  DWORD            cStores;
  HCERTSTORE       *rghStores;
  DWORD            cPropSheetPages;
  LPCPROPSHEETPAGE rgPropSheetPages;
} CRYPTUI_VIEWSIGNERINFO_STRUCT, *PCRYPTUI_VIEWSIGNERINFO_STRUCT;

Members

dwSize

The size, in bytes, of this structure.

hwndParent

The handle of the window to be the parent of the dialog box. This member can be NULL if the dialog box should have no parent.

dwFlags

A set of flags that modifies the behavior of the CryptUIDlgViewSignerInfo function. There are no flags currently defined, so this member must be zero.

szTitle

A pointer to a null-terminated string that contains the title to be displayed in the dialog box. If this member is NULL, a default title is used.

pSignerInfo

A pointer to a CMSG_SIGNER_INFO structure that contains the signer information to display.

hMsg

The handle of the message that the signer information was extracted from.

pszOID

A pointer to a null-terminated ANSI string that contains the string representation of the object identifier (OID) that signifies what the certificate that did the signing should be validated for. For example, if this is being called to view the signature of a certificate trust list (CTL), the szOID_KP_CTL_USAGE_SIGNING OID string should be passed in. If this member is NULL, the certificate is not validated for usages.

dwReserved

This parameter is not currently used. This member must be NULL.

cStores

The number of elements in the rghStores array.

rghStores

An array of HCERTSTORE values that represent the other certificate stores to search for the certificate that signed the message. If this member is NULL, no additional stores are searched. The cStores member contains the number of elements in this array.

cPropSheetPages

The number of elements in the rgPropSheetPages array.

rgPropSheetPages

An array of PROPSHEETPAGE structure pointers that define any extra pages to display in the standard dialog box. If this member is NULL, no additional pages will be displayed. The cPropSheetPages member contains the number of elements in this array.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Unicode and ANSI names CRYPTUI_VIEWSIGNERINFO_STRUCTW (Unicode) and CRYPTUI_VIEWSIGNERINFO_STRUCTA (ANSI)

See also

CryptUIDlgViewSignerInfo

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。