Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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_NONE Value: 1 No signing or encryption. |
WS_PROTECTION_LEVEL_SIGN Value: 2 Only signing. |
WS_PROTECTION_LEVEL_SIGN_AND_ENCRYPT Value: 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 |