Platform SDK: Logon Authentication

SCH_CRED_SECRET_PRIVKEY

The SCH_CRED_SECRET_PRIVKEY structure contains private key information needed to authenticate a client or server.

typedef struct _SCH_CRED_SECRET_PRIVKEY
{
    DWORD   dwType;
    PBYTE   pPrivateKey;
    DWORD   cbPrivateKey;
    PSTR    pszPassword;
} SCH_CRED_SECRET_PRIVKEY, *PSCH_CRED_SECRET_PRIVKEY;

Members

dwType
Must always be set to SCHANNEL_SECRET_PRIVKEY.
pPrivateKey
Pointer to an encrypted private key.
cbPrivateKey
Number of bytes in the encrypted private key.
pszPassword
Pointer to a zero-terminated string that Schannel uses to decrypt the private key.

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.