SecPkgContext_KeyingMaterial structure (schannel.h)

The SecPkgContext_KeyingMaterial structure specifies the exportable keying material for the security context.

Syntax

typedef struct _SecPkgContext_KeyingMaterial {
  DWORD cbKeyingMaterial;
  PBYTE pbKeyingMaterial;
} SecPkgContext_KeyingMaterial, *PSecPkgContext_KeyingMaterial;

Members

cbKeyingMaterial

The length, in bytes, of the keying material to be exported. Must be greater than zero.

pbKeyingMaterial

A pointer to the buffer containing the exported keying material. After use, deallocate the buffer by calling FreeContextBuffer.

Requirements

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