SecPkgContext_SupportedSignatures 結構 (schannel.h)

指定安全通道連線支援的簽章演算法。

語法

typedef struct _SecPkgContext_SupportedSignatures {
  WORD cSignatureAndHashAlgorithms;
  WORD *pSignatureAndHashAlgorithms;
} SecPkgContext_SupportedSignatures, *PSecPkgContext_SupportedSignatures;

成員

cSignatureAndHashAlgorithms

pSignatureAndHashAlgorithms 陣列中的項目數目。

pSignatureAndHashAlgorithms

值陣列,指定支持的演算法。 這些值的格式如下。

上方位元組可以是下列其中一個值,指定簽章演算法。

意義
0
匿名簽章演算法。
1
RSA 簽章演算法。
2
DSA 簽章演算法。
3
ECDSA 簽章演算法。
255
保留的。
 

較低的位元組可以是下列其中一個值,可指定哈希演算法。

意義
0
無。
1
MD5 哈希演算法。
2
SHA1 哈希演算法。
3
SHA-224 哈希演算法。
4
SHA-256 哈希演算法。
5
SHA-384 哈希演算法。
6
SHA-512 哈希演算法。
255
保留的。

規格需求

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

另請參閱

QueryContextAttributes (Schannel)