Platform SDK: WinTrust

WINTRUST_CERT_INFO

The WINTRUST_CERT_INFO structure is used when calling WinVerifyTrust to verify a CERT_CONTEXT.

typedef struct WINTRUST_CERT_INFO_
{
    DWORD               cbStruct;
    LPCWSTR             pcwszDisplayName; 
    CERT_CONTEXT        *psCertContext;
    DWORD               chStores; 
    HCERTSTORE          *pahStores;
} 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
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.

Requirements

  Windows NT/2000: Requires Windows NT 4.0 or later.
  Windows 95/98: Unsupported.
  Header: Declared in winbase.h.