SecPkgContext_SessionKey 结构 (sspi.h)

SecPkgContext_SessionKey结构包含有关用于安全上下文的会话密钥的信息。 此结构由 QueryContextAttributes (General) 函数返回。

语法

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

成员

SessionKeyLength

会话密钥的大小(以字节为单位)。

SessionKey

安全上下文的会话密钥。

要求

   
最低受支持的客户端 Windows XP [仅限桌面应用]
最低受支持的服务器 Windows Server 2003 [仅限桌面应用]
标头 sspi.h (包括 Security.h)