SecPkgContext_SessionKey structure (sspi.h)

The SecPkgContext_SessionKey structure contains information about the session key used for the security context. This structure is returned by the QueryContextAttributes (General) function.

Syntax

typedef struct _SecPkgContext_SessionKey {
  unsigned long SessionKeyLength;
  unsigned char *SessionKey;
} SecPkgContext_SessionKey, *PSecPkgContext_SessionKey;

Members

SessionKeyLength

Size, in bytes, of the session key.

SessionKey

The session key for the security context.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header sspi.h (include Security.h)