Platform SDK: Logon Authentication

SCH_CRED_PUBLIC_CERTCHAIN

The SCH_CRED_PUBLIC_CERTCHAIN structure contains a single certificate. A certification chain can be built from this certificate.

typedef struct _SCH_CRED_PUBLIC_CERTCHAIN
{
    DWORD   dwType;
    DWORD   cbCertChain;
    PBYTE   pCertChain;
} SCH_CRED_PUBLIC_CERTCHAIN, *PSCH_CRED_PUBLIC_CERTCHAIN;

Members

dwType
Must always be set to SCH_CRED_X509_CERTCHAIN.
cbCertChain
Number of bytes in the X.509 certificate.
pCertChain
Pointer to an X.509 leaf certificate.

Remarks

This legacy structure does not directly support certificate chains. If a server needs to use certificate chains, the intermediate certificates can be placed in the CA certificate store and Schannel will automatically pick them up from there.

Requirements

  Windows NT/2000: Requires Windows NT 3.51 or later.
  Windows 95/98: Requires Windows 95 or later.
  Header: Declared in Schannel.h; include Schnlsp.h.