WS_SECURITY_BINDING structure (webservices.h)
The abstract base type for all security bindings. One or more concrete subtypes of this are specified in the security description that is supplied during channel and listener creation. Each concrete subtype of this corresponds to a security protocol and a way of using it to provide authentication and/or protection to a channel.
Each security binding subtype instance in the security description contributes one security token at runtime. Thus, the fields of this type can be viewed as specifying a security token, how to obtain it, how to use it for channel security, and how to modify its behavior using the optional settings.
Syntax
typedef struct _WS_SECURITY_BINDING {
WS_SECURITY_BINDING_TYPE bindingType;
WS_SECURITY_BINDING_PROPERTY *properties;
ULONG propertyCount;
} WS_SECURITY_BINDING;
Members
bindingType
The WS_SECURITY_BINDING_TYPE of the security binding being described. The type value indicates how to obtain the security token corresponding to this security binding.
properties
The array of properties specifying the optional security binding settings. Each WS_SECURITY_BINDING_PROPERTY in the array is a key-value pair and must use a key defined in WS_SECURITY_BINDING_PROPERTY_ID. This field can be NULL, and if it is NULL, the default value will be used for each security token setting.
propertyCount
The count of elements in the properties array.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2008 R2 [desktop apps | UWP apps] |
Header | webservices.h |