WINTRUST_CERT_INFO structure (wintrust.h)
[The WINTRUST_CERT_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 WINTRUST_CERT_INFO structure is used when calling WinVerifyTrust to verify a CERT_CONTEXT.
Syntax
typedef struct WINTRUST_CERT_INFO_ {
DWORD cbStruct;
LPCWSTR pcwszDisplayName;
CERT_CONTEXT *psCertContext;
DWORD chStores;
HCERTSTORE *pahStores;
DWORD dwFlags;
FILETIME *psftVerifyAsOf;
} WINTRUST_CERT_INFO, *PWINTRUST_CERT_INFO;
Members
cbStruct
Count of bytes in this structure.
pcwszDisplayName
String with the name of the memory object pointed to by the pbMem member of the WINTRUST_BLOB_INFO structure.
psCertContext
A pointer to the CERT_CONTEXT to be verified.
chStores
The number of store handles in pahStores.
pahStores
An array of open certificate stores to add to the list of stores that the policy provider looks in to find certificates while building a trust chain.
dwFlags
psftVerifyAsOf
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Header | wintrust.h |