SecPgkContext_KeyingMaterialInfo structure

The SecPkgContext_KeyingMaterialInfo structure contains information about the exportable keying material in a security context.

Syntax


typedef struct _SecPgkContext_KeyingMaterialInfo {
  WORD  cbLabel;
  LPSTR pszLabel;
  WORD  cbConextValue;
  PBYTE pbContextValue;
  DWORD cbKeyingMaterial;
} SecPgkContext_KeyingMaterialInfo, *PSecPgkContext_KeyingMaterialInfo;

Members

cbLabel

The length, in bytes, of the disambiguating ASCII label, including NUL terminator.

pszLabel

A NUL-terminated ASCII string. The NUL terminator will be removed by schannel before mixing in pszLabel.

IANA-registered labels should begin with "EXPORTER" to avoid collisions with existing PRF labels. Labels beginning with "EXPERIMENTAL" may be used without registration.

cbConextValue

The length, in bytes, of the application context. Zero if application context is not provided by the caller.

pbContextValue

The pointer to the application context. Must be NULL if cbContextValue is zero.

cbKeyingMaterial

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

Requirements

Minimum supported client

Windows 10 [desktop apps only]

Minimum supported server

Windows Server 2016 [desktop apps only]

Header

Sspi.h (include Security.h)

Unicode and ANSI names

SecPgkContext_KeyingMaterialInfoW (Unicode) and SecPgkContext_KeyingMaterialInfoA (ANSI)

 

 

Show: