SCHANNEL_CERT_HASH_STORE structure (schannel.h)

Contains the hash store data for the certificate that Schannel uses in kernel-mode.

Syntax

typedef struct _SCHANNEL_CERT_HASH_STORE {
  DWORD      dwLength;
  DWORD      dwFlags;
  HCRYPTPROV hProv;
  BYTE       ShaHash[20];
  WCHAR      pwszStoreName[SCH_CRED_MAX_STORE_NAME_SIZE];
} SCHANNEL_CERT_HASH_STORE, *PSCHANNEL_CERT_HASH_STORE;

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.

pwszStoreName[SCH_CRED_MAX_STORE_NAME_SIZE]

Pointer to the size of the store name.

Requirements

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