Platform SDK: Logon Authentication

SCH_CRED

The SCH_CRED structure contains the data for a credential.

typedef struct _SCH_CRED
{
    DWORD      dwVersion;
    DWORD      cCreds;
    PVOID *    paSecret;
    PVOID *    paPublic;
    DWORD      cMappers;
    struct _HMAPPER ** aphMappers;
} SCH_CRED, * PSCH_CRED;

Members

dwVersion
Must always be set to SCH_CRED_VERSION.
cCreds
Size of array passed into paSecret and paPublic. This is typically either zero or one.
paSecret
Array of SCH_CRED_SECRET_PRIVKEY structure pointers.
paPublic
Array of SCH_CRED_PUBLIC_CERTCHAIN structure pointers.
cMappers
Reserved. Must be zero.
aphMappers
Reserved. Must be zero.

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.