SCHANNEL_CERT_HASH structure (schannel.h)

Contains the hash store data for the certificate that Schannel uses.

Syntax

typedef struct _SCHANNEL_CERT_HASH {
  DWORD      dwLength;
  DWORD      dwFlags;
  HCRYPTPROV hProv;
  BYTE       ShaHash[20];
} SCHANNEL_CERT_HASH, *PSCHANNEL_CERT_HASH;

Members

dwLength

The size, in bytes, of this structure.

dwFlags

Contains bit flags that control the behavior of Schannel. This member can be zero or the following value.

Value Meaning
SCH_MACHINE_CERT_HASH
0x00000001
The certificate hash of the computer.

hProv

Handle to the cryptography provider.

ShaHash[20]

The secure hash algorithm.

Requirements

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