SCH_CRED_SECRET_PRIVKEY structure

[The SCH_CRED_SECRET_PRIVKEY structure is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. Instead, use the SCHANNEL_CRED structure.]

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

Syntax


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 null-terminated string that Schannel uses to decrypt the private key.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Schannel.h (include Schnlsp.h)

 

 

Show: