Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

WS_SECURITY_ALGORITHM_ID enumeration

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

Syntax


enum WS_SECURITY_ALGORITHM_ID {  WS_SECURITY_ALGORITHM_DEFAULT, 
  WS_SECURITY_ALGORITHM_CANONICALIZATION_EXCLUSIVE, 
  WS_SECURITY_ALGORITHM_CANONICALIZATION_EXCLUSIVE_WITH_COMMENTS, 
  WS_SECURITY_ALGORITHM_DIGEST_SHA1, 
  WS_SECURITY_ALGORITHM_DIGEST_SHA_256, 
  WS_SECURITY_ALGORITHM_DIGEST_SHA_384, 
  WS_SECURITY_ALGORITHM_DIGEST_SHA_512, 
  WS_SECURITY_ALGORITHM_SYMMETRIC_SIGNATURE_HMAC_SHA1, 
  WS_SECURITY_ALGORITHM_SYMMETRIC_SIGNATURE_HMAC_SHA_256, 
  WS_SECURITY_ALGORITHM_SYMMETRIC_SIGNATURE_HMAC_SHA_384, 
  WS_SECURITY_ALGORITHM_SYMMETRIC_SIGNATURE_HMAC_SHA_512, 
  WS_SECURITY_ALGORITHM_ASYMMETRIC_SIGNATURE_RSA_SHA1, 
  WS_SECURITY_ALGORITHM_ASYMMETRIC_SIGNATURE_DSA_SHA1, 
  WS_SECURITY_ALGORITHM_ASYMMETRIC_SIGNATURE_RSA_SHA_256, 
  WS_SECURITY_ALGORITHM_ASYMMETRIC_SIGNATURE_RSA_SHA_384, 
  WS_SECURITY_ALGORITHM_ASYMMETRIC_SIGNATURE_RSA_SHA_512, 
  WS_SECURITY_ALGORITHM_ASYMMETRIC_KEYWRAP_RSA_1_5, 
  WS_SECURITY_ALGORITHM_ASYMMETRIC_KEYWRAP_RSA_OAEP, 
  WS_SECURITY_ALGORITHM_KEY_DERIVATION_P_SHA1 

};

Constants

WS_SECURITY_ALGORITHM_DEFAULT

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

http://www.w3.org/2001/10/xml-exc-c14n#.

WS_SECURITY_ALGORITHM_CANONICALIZATION_EXCLUSIVE_WITH_COMMENTS

http://www.w3.org/2001/10/xml-exc-c14n#WithComments.

WS_SECURITY_ALGORITHM_DIGEST_SHA1

http://www.w3.org/2000/09/xmldsig#sha1.

WS_SECURITY_ALGORITHM_DIGEST_SHA_256

http://www.w3.org/2001/04/xmlenc#sha256. Requires Windows 2003 Server SP1 or above.

WS_SECURITY_ALGORITHM_DIGEST_SHA_384

http://www.w3.org/2001/04/xmlenc#sha384. Requires Windows 2003 Server SP1 or above.

WS_SECURITY_ALGORITHM_DIGEST_SHA_512

http://www.w3.org/2001/04/xmlenc#sha512. Requires Windows 2003 Server SP1 or above.

WS_SECURITY_ALGORITHM_SYMMETRIC_SIGNATURE_HMAC_SHA1

http://www.w3.org/2000/09/xmldsig#hmac-sha1.

WS_SECURITY_ALGORITHM_SYMMETRIC_SIGNATURE_HMAC_SHA_256

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

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

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

WS_SECURITY_ALGORITHM_ASYMMETRIC_SIGNATURE_RSA_SHA1

http://www.w3.org/2000/09/xmldsig#rsa-sha1.

WS_SECURITY_ALGORITHM_ASYMMETRIC_SIGNATURE_DSA_SHA1

http://www.w3.org/2000/09/xmldsig#dsa-sha1.

WS_SECURITY_ALGORITHM_ASYMMETRIC_SIGNATURE_RSA_SHA_256

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

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

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

http://www.w3.org/2001/04/xmlenc#rsa-1_5.

WS_SECURITY_ALGORITHM_ASYMMETRIC_KEYWRAP_RSA_OAEP

http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p.

WS_SECURITY_ALGORITHM_KEY_DERIVATION_P_SHA1

http://schemas.xmlsoap.org/ws/2005/02/sc/dk/p_sha1.

Remarks

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

WebServices.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.