SecPkgContext_CipherInfo 結構 (schannel.h)

加密信息結構。 這會由 queryContextAttributes SECPKG_ATTR_CIPHER_INFO ulAttribute (Schannel) 函式傳回。

語法

typedef struct _SecPkgContext_CipherInfo {
  DWORD dwVersion;
  DWORD dwProtocol;
  DWORD dwCipherSuite;
  DWORD dwBaseCipherSuite;
  WCHAR szCipherSuite[SZ_ALG_MAX_SIZE];
  WCHAR szCipher[SZ_ALG_MAX_SIZE];
  DWORD dwCipherLen;
  DWORD dwCipherBlockLen;
  WCHAR szHash[SZ_ALG_MAX_SIZE];
  DWORD dwHashLen;
  WCHAR szExchange[SZ_ALG_MAX_SIZE];
  DWORD dwMinExchangeLen;
  DWORD dwMaxExchangeLen;
  WCHAR szCertificate[SZ_ALG_MAX_SIZE];
  DWORD dwKeyType;
} SecPkgContext_CipherInfo, *PSecPkgContext_CipherInfo;

成員

dwVersion

dw 版本。

dwProtocol

dw 通訊協定。

dwCipherSuite

dw 加密套件。

dwBaseCipherSuite

dw 基底加密套件。

szCipherSuite[SZ_ALG_MAX_SIZE]

sz 加密套件。

szCipher[SZ_ALG_MAX_SIZE]

sz 加密。

dwCipherLen

dw 加密長度。

dwCipherBlockLen

dw 加密區塊長度以位元組為單位。

szHash[SZ_ALG_MAX_SIZE]

sz 哈希。

dwHashLen

dw 哈希長度。

szExchange[SZ_ALG_MAX_SIZE]

sz 交換。

dwMinExchangeLen

dw min exchange length。

dwMaxExchangeLen

dw 最大交換長度。

szCertificate[SZ_ALG_MAX_SIZE]

sz 憑證。

dwKeyType

dw 索引鍵類型。

規格需求

需求
最低支援的用戶端 Windows Vista [僅限傳統型應用程式]
最低支援的伺服器 Windows Server 2008 [僅限傳統型應用程式]
標頭 schannel.h