WS_XML_SECURITY_TOKEN_PROPERTY_ID enumeration (webservices.h)

The keys for the bag of properties for the creation of XML security tokens. This enumeration is used within the WS_XML_SECURITY_TOKEN_PROPERTY structure, which is used as parameter for WsCreateXmlSecurityToken.

Syntax

typedef enum  {
  WS_XML_SECURITY_TOKEN_PROPERTY_ATTACHED_REFERENCE = 1,
  WS_XML_SECURITY_TOKEN_PROPERTY_UNATTACHED_REFERENCE = 2,
  WS_XML_SECURITY_TOKEN_PROPERTY_VALID_FROM_TIME = 3,
  WS_XML_SECURITY_TOKEN_PROPERTY_VALID_TILL_TIME = 4
} WS_XML_SECURITY_TOKEN_PROPERTY_ID;

Constants

 
WS_XML_SECURITY_TOKEN_PROPERTY_ATTACHED_REFERENCE
Value: 1
A pointer to a WS_XML_BUFFER that contains
the XML form of the reference to be used for this token (from a
signature, for example) when the token is attached to (for example, serialized
in) a message. This is required if and only if the token is a
proof-of-possession token. If specified, the XML buffer must have
exactly one top level XML element.
WS_XML_SECURITY_TOKEN_PROPERTY_UNATTACHED_REFERENCE
Value: 2
A pointer to a WS_XML_BUFFER that contains the XML form of the reference to be used for this token (from a
signature, for example) when the token is not attached to a message. This
should be specified only if the token is a proof-of-possession token,
and is used without being serialized in the message. If specified,
the XML buffer must have exactly one top level XML element.
WS_XML_SECURITY_TOKEN_PROPERTY_VALID_FROM_TIME
Value: 3
A WS_DATETIME structure that contains the time from when the security token is valid.
WS_XML_SECURITY_TOKEN_PROPERTY_VALID_TILL_TIME
Value: 4
A WS_DATETIME structure that contains the time until when the security token is valid.

Requirements

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