Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
WS_PROTECTION_LEVEL enumeration (webservices.h)
Defines the required integrity and confidentiality levels for sent and received messages. With transport and mixed-mode security bindings, this setting applies to each message as a whole. With message security, the protection level is specified at the granularity of a message header or body. The default value defined applies only to transport and mixed-mode security.
Syntax
typedef enum {
WS_PROTECTION_LEVEL_NONE = 1,
WS_PROTECTION_LEVEL_SIGN = 2,
WS_PROTECTION_LEVEL_SIGN_AND_ENCRYPT = 3
} WS_PROTECTION_LEVEL;
Constants
WS_PROTECTION_LEVEL_NONEValue: 1 No signing or encryption. |
WS_PROTECTION_LEVEL_SIGNValue: 2 Only signing. |
WS_PROTECTION_LEVEL_SIGN_AND_ENCRYPTValue: 3 Signing and encryption. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 7 [desktop apps only] |
| Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
| Header | webservices.h |
Feedback
Was this page helpful?
