WS_SECURITY_KEY_TYPE enumeration (webservices.h)

The key type of a security token. It is used as the return type when a security token is queried about its key. It is also used to specify the required key type when requesting a security token from a security token service.

Syntax

typedef enum {
  WS_SECURITY_KEY_TYPE_NONE = 1,
  WS_SECURITY_KEY_TYPE_SYMMETRIC = 2,
  WS_SECURITY_KEY_TYPE_ASYMMETRIC = 3
} WS_SECURITY_KEY_TYPE;

Constants

 
WS_SECURITY_KEY_TYPE_NONE
Value: 1
Has no key -- it may be a bearer token such as a username/password
pair.
WS_SECURITY_KEY_TYPE_SYMMETRIC
Value: 2
Has a symmetric key.
WS_SECURITY_KEY_TYPE_ASYMMETRIC
Value: 3
Has an asymmetric key.

Requirements

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