Compartir a través de


enumeración WS_SECURITY_ALGORITHM_ID (webservices.h)

Define los algoritmos de seguridad que se usarán con WS-Security. Estos valores son relevantes para los enlaces de seguridad de mensajes y los enlaces de seguridad en modo mixto.

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;

Constantes

 
WS_SECURITY_ALGORITHM_DEFAULT
Valor: 0
Algoritmo de seguridad predeterminado para el tipo de algoritmo determinado. Vea
WS_SECURITY_ALGORITHM_SUITE para obtener una descripción de
algoritmo específico que se usa cuando se establece este valor.
WS_SECURITY_ALGORITHM_CANONICALIZATION_EXCLUSIVE
Valor: 1
http://www.w3.org/2001/10/xml-exc-c14n#.
WS_SECURITY_ALGORITHM_CANONICALIZATION_EXCLUSIVE_WITH_COMMENTS
Valor: 2
http://www.w3.org/2001/10/xml-exc-c14n#WithComments.
WS_SECURITY_ALGORITHM_DIGEST_SHA1
Valor: 3
http://www.w3.org/2000/09/xmldsig#sha1.
WS_SECURITY_ALGORITHM_DIGEST_SHA_256
Valor: 4
http://www.w3.org/2001/04/xmlenc#sha256.
Requiere Windows 2003 Server SP1 o superior.
WS_SECURITY_ALGORITHM_DIGEST_SHA_384
Valor: 5
http://www.w3.org/2001/04/xmlenc#sha384.
Requiere Windows 2003 Server SP1 o superior.
WS_SECURITY_ALGORITHM_DIGEST_SHA_512
Valor: 6
http://www.w3.org/2001/04/xmlenc#sha512.
Requiere Windows 2003 Server SP1 o superior.
WS_SECURITY_ALGORITHM_SYMMETRIC_SIGNATURE_HMAC_SHA1
Valor: 7
http://www.w3.org/2000/09/xmldsig#hmac-sha1.
WS_SECURITY_ALGORITHM_SYMMETRIC_SIGNATURE_HMAC_SHA_256
Valor: 8
http://www.w3.org/2001/04/xmldsig-more#hmac-sha256.
Requiere Windows 2003 Server SP1 o superior.
WS_SECURITY_ALGORITHM_SYMMETRIC_SIGNATURE_HMAC_SHA_384
Valor: 9
http://www.w3.org/2001/04/xmldsig-more#hmac-sha384.
Requiere Windows 2003 Server SP1 o superior.
WS_SECURITY_ALGORITHM_SYMMETRIC_SIGNATURE_HMAC_SHA_512
Valor: 10
http://www.w3.org/2001/04/xmldsig-more#hmac-sha512.
Requiere Windows 2003 Server SP1 o superior.
WS_SECURITY_ALGORITHM_ASYMMETRIC_SIGNATURE_RSA_SHA1
Valor: 11
http://www.w3.org/2000/09/xmldsig#rsa-sha1.
WS_SECURITY_ALGORITHM_ASYMMETRIC_SIGNATURE_DSA_SHA1
Valor: 12
http://www.w3.org/2000/09/xmldsig#dsa-sha1.
WS_SECURITY_ALGORITHM_ASYMMETRIC_SIGNATURE_RSA_SHA_256
Valor: 13
http://www.w3.org/2001/04/xmldsig-more#rsa-sha256


Requiere Windows 2003 Server SP1 o superior.
WS_SECURITY_ALGORITHM_ASYMMETRIC_SIGNATURE_RSA_SHA_384
Valor: 14
http://www.w3.org/2001/04/xmldsig-more#rsa-sha384


Requiere Windows 2003 Server SP1 o superior.
WS_SECURITY_ALGORITHM_ASYMMETRIC_SIGNATURE_RSA_SHA_512
Valor: 15
http://www.w3.org/2001/04/xmldsig-more#rsa-sha512


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

Requisitos

Requisito Value
Cliente mínimo compatible Windows 7 [solo aplicaciones de escritorio]
Servidor mínimo compatible Windows Server 2008 R2 [solo aplicaciones de escritorio]
Encabezado webservices.h