CERT_SELECTUI_INPUT structure (cryptuiapi.h)

The CERT_SELECTUI_INPUT structure is used by the CertSelectionGetSerializedBlob function to serialize the certificates contained in a store or an array of certificate chains. The returned serialized BLOB can be passed to the CredUIPromptForWindowsCredentials function.

Syntax

typedef struct {
  HCERTSTORE           hStore;
  PCCERT_CHAIN_CONTEXT *prgpChain;
  DWORD                cChain;
} CERT_SELECTUI_INPUT, *PCERT_SELECTUI_INPUT;

Members

hStore

The handle of a certificate store created by the caller. The store contains the set of application preselected certificates.

prgpChain

An array of pointers to CERT_CHAIN_CONTEXT structures. Applications provision this array by preselecting certificate chains using the CertSelectCertificateChains function.

cChain

The number of CERT_CHAIN_CONTEXT structures that are in the array pointed to by the prgpChain member.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Header cryptuiapi.h