WS_SECURITY_ALGORITHM_ID 枚举 (webservices.h)

定义要与 WS-Security 一起使用的安全算法。 这些值与消息安全绑定和混合模式安全绑定相关。

语法

typedef enum {
  WS_SECURITY_ALGORITHM_DEFAULT = 0,
  WS_SECURITY_ALGORITHM_CANONICALIZATION_EXCLUSIVE = 1,
  WS_SECURITY_ALGORITHM_CANONICALIZATION_EXCLUSIVE_WITH_COMMENTS = 2,
  WS_SECURITY_ALGORITHM_DIGEST_SHA1 = 3,
  WS_SECURITY_ALGORITHM_DIGEST_SHA_256 = 4,
  WS_SECURITY_ALGORITHM_DIGEST_SHA_384 = 5,
  WS_SECURITY_ALGORITHM_DIGEST_SHA_512 = 6,
  WS_SECURITY_ALGORITHM_SYMMETRIC_SIGNATURE_HMAC_SHA1 = 7,
  WS_SECURITY_ALGORITHM_SYMMETRIC_SIGNATURE_HMAC_SHA_256 = 8,
  WS_SECURITY_ALGORITHM_SYMMETRIC_SIGNATURE_HMAC_SHA_384 = 9,
  WS_SECURITY_ALGORITHM_SYMMETRIC_SIGNATURE_HMAC_SHA_512 = 10,
  WS_SECURITY_ALGORITHM_ASYMMETRIC_SIGNATURE_RSA_SHA1 = 11,
  WS_SECURITY_ALGORITHM_ASYMMETRIC_SIGNATURE_DSA_SHA1 = 12,
  WS_SECURITY_ALGORITHM_ASYMMETRIC_SIGNATURE_RSA_SHA_256 = 13,
  WS_SECURITY_ALGORITHM_ASYMMETRIC_SIGNATURE_RSA_SHA_384 = 14,
  WS_SECURITY_ALGORITHM_ASYMMETRIC_SIGNATURE_RSA_SHA_512 = 15,
  WS_SECURITY_ALGORITHM_ASYMMETRIC_KEYWRAP_RSA_1_5 = 16,
  WS_SECURITY_ALGORITHM_ASYMMETRIC_KEYWRAP_RSA_OAEP = 17,
  WS_SECURITY_ALGORITHM_KEY_DERIVATION_P_SHA1 = 18
} WS_SECURITY_ALGORITHM_ID;

常量

 
WS_SECURITY_ALGORITHM_DEFAULT
值: 0
特定算法类型的默认安全算法。 请参阅
WS_SECURITY_ALGORITHM_SUITE
设置此值时使用的特定算法。
WS_SECURITY_ALGORITHM_CANONICALIZATION_EXCLUSIVE
值:1
http://www.w3.org/2001/10/xml-exc-c14n#.
WS_SECURITY_ALGORITHM_CANONICALIZATION_EXCLUSIVE_WITH_COMMENTS
值: 2
http://www.w3.org/2001/10/xml-exc-c14n#WithComments.
WS_SECURITY_ALGORITHM_DIGEST_SHA1
值: 3
http://www.w3.org/2000/09/xmldsig#sha1.
WS_SECURITY_ALGORITHM_DIGEST_SHA_256
值: 4
http://www.w3.org/2001/04/xmlenc#sha256.
需要 Windows 2003 Server SP1 或更高版本。
WS_SECURITY_ALGORITHM_DIGEST_SHA_384
值: 5
http://www.w3.org/2001/04/xmlenc#sha384.
需要 Windows 2003 Server SP1 或更高版本。
WS_SECURITY_ALGORITHM_DIGEST_SHA_512
值: 6
http://www.w3.org/2001/04/xmlenc#sha512.
需要 Windows 2003 Server SP1 或更高版本。
WS_SECURITY_ALGORITHM_SYMMETRIC_SIGNATURE_HMAC_SHA1
值: 7
http://www.w3.org/2000/09/xmldsig#hmac-sha1.
WS_SECURITY_ALGORITHM_SYMMETRIC_SIGNATURE_HMAC_SHA_256
值: 8
http://www.w3.org/2001/04/xmldsig-more#hmac-sha256.
需要 Windows 2003 Server SP1 或更高版本。
WS_SECURITY_ALGORITHM_SYMMETRIC_SIGNATURE_HMAC_SHA_384
值: 9
http://www.w3.org/2001/04/xmldsig-more#hmac-sha384.
需要 Windows 2003 Server SP1 或更高版本。
WS_SECURITY_ALGORITHM_SYMMETRIC_SIGNATURE_HMAC_SHA_512
值: 10
http://www.w3.org/2001/04/xmldsig-more#hmac-sha512.
需要 Windows 2003 Server SP1 或更高版本。
WS_SECURITY_ALGORITHM_ASYMMETRIC_SIGNATURE_RSA_SHA1
值: 11
http://www.w3.org/2000/09/xmldsig#rsa-sha1.
WS_SECURITY_ALGORITHM_ASYMMETRIC_SIGNATURE_DSA_SHA1
值: 12
http://www.w3.org/2000/09/xmldsig#dsa-sha1.
WS_SECURITY_ALGORITHM_ASYMMETRIC_SIGNATURE_RSA_SHA_256
值: 13
http://www.w3.org/2001/04/xmldsig-more#rsa-sha256


需要 Windows 2003 Server SP1 或更高版本。
WS_SECURITY_ALGORITHM_ASYMMETRIC_SIGNATURE_RSA_SHA_384
值: 14
http://www.w3.org/2001/04/xmldsig-more#rsa-sha384


需要 Windows 2003 Server SP1 或更高版本。
WS_SECURITY_ALGORITHM_ASYMMETRIC_SIGNATURE_RSA_SHA_512
值: 15
http://www.w3.org/2001/04/xmldsig-more#rsa-sha512


需要 Windows 2003 Server SP1 或更高版本。
WS_SECURITY_ALGORITHM_ASYMMETRIC_KEYWRAP_RSA_1_5
值: 16
http://www.w3.org/2001/04/xmlenc#rsa-1_5.
WS_SECURITY_ALGORITHM_ASYMMETRIC_KEYWRAP_RSA_OAEP
值: 17
http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p.
WS_SECURITY_ALGORITHM_KEY_DERIVATION_P_SHA1
值: 18
http://schemas.xmlsoap.org/ws/2005/02/sc/dk/p_sha1.

要求

要求
最低受支持的客户端 Windows 7 [仅限桌面应用]
最低受支持的服务器 Windows Server 2008 R2 [仅限桌面应用]
标头 webservices.h