WS_SECURITY_ALGORITHM_ID enumeration (webservices.h)

Defines the security algorithms to be used with WS-Security. These values are relevant to message security bindings and mixed-mode security bindings.

Syntax

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;

Constants

 
WS_SECURITY_ALGORITHM_DEFAULT
Value: 0
Default security algorithm for the particular algorithm type. See
WS_SECURITY_ALGORITHM_SUITE for a description of the
specific algorithm used when this value is set.
WS_SECURITY_ALGORITHM_CANONICALIZATION_EXCLUSIVE
Value: 1
http://www.w3.org/2001/10/xml-exc-c14n#.
WS_SECURITY_ALGORITHM_CANONICALIZATION_EXCLUSIVE_WITH_COMMENTS
Value: 2
http://www.w3.org/2001/10/xml-exc-c14n#WithComments.
WS_SECURITY_ALGORITHM_DIGEST_SHA1
Value: 3
http://www.w3.org/2000/09/xmldsig#sha1.
WS_SECURITY_ALGORITHM_DIGEST_SHA_256
Value: 4
http://www.w3.org/2001/04/xmlenc#sha256.
Requires Windows 2003 Server SP1 or above.
WS_SECURITY_ALGORITHM_DIGEST_SHA_384
Value: 5
http://www.w3.org/2001/04/xmlenc#sha384.
Requires Windows 2003 Server SP1 or above.
WS_SECURITY_ALGORITHM_DIGEST_SHA_512
Value: 6
http://www.w3.org/2001/04/xmlenc#sha512.
Requires Windows 2003 Server SP1 or above.
WS_SECURITY_ALGORITHM_SYMMETRIC_SIGNATURE_HMAC_SHA1
Value: 7
http://www.w3.org/2000/09/xmldsig#hmac-sha1.
WS_SECURITY_ALGORITHM_SYMMETRIC_SIGNATURE_HMAC_SHA_256
Value: 8
http://www.w3.org/2001/04/xmldsig-more#hmac-sha256.
Requires Windows 2003 Server SP1 or above.
WS_SECURITY_ALGORITHM_SYMMETRIC_SIGNATURE_HMAC_SHA_384
Value: 9
http://www.w3.org/2001/04/xmldsig-more#hmac-sha384.
Requires Windows 2003 Server SP1 or above.
WS_SECURITY_ALGORITHM_SYMMETRIC_SIGNATURE_HMAC_SHA_512
Value: 10
http://www.w3.org/2001/04/xmldsig-more#hmac-sha512.
Requires Windows 2003 Server SP1 or above.
WS_SECURITY_ALGORITHM_ASYMMETRIC_SIGNATURE_RSA_SHA1
Value: 11
http://www.w3.org/2000/09/xmldsig#rsa-sha1.
WS_SECURITY_ALGORITHM_ASYMMETRIC_SIGNATURE_DSA_SHA1
Value: 12
http://www.w3.org/2000/09/xmldsig#dsa-sha1.
WS_SECURITY_ALGORITHM_ASYMMETRIC_SIGNATURE_RSA_SHA_256
Value: 13
http://www.w3.org/2001/04/xmldsig-more#rsa-sha256


Requires Windows 2003 Server SP1 or above.
WS_SECURITY_ALGORITHM_ASYMMETRIC_SIGNATURE_RSA_SHA_384
Value: 14
http://www.w3.org/2001/04/xmldsig-more#rsa-sha384


Requires Windows 2003 Server SP1 or above.
WS_SECURITY_ALGORITHM_ASYMMETRIC_SIGNATURE_RSA_SHA_512
Value: 15
http://www.w3.org/2001/04/xmldsig-more#rsa-sha512


Requires Windows 2003 Server SP1 or above.
WS_SECURITY_ALGORITHM_ASYMMETRIC_KEYWRAP_RSA_1_5
Value: 16
http://www.w3.org/2001/04/xmlenc#rsa-1_5.
WS_SECURITY_ALGORITHM_ASYMMETRIC_KEYWRAP_RSA_OAEP
Value: 17
http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p.
WS_SECURITY_ALGORITHM_KEY_DERIVATION_P_SHA1
Value: 18
http://schemas.xmlsoap.org/ws/2005/02/sc/dk/p_sha1.

Requirements

   
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Header webservices.h