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)