WS_SECURITY_TIMESTAMP_USAGE enumeration
With message security and mixed-mode security, this defines when a timestamp element should be generated and demanded in the WS-Security header.
Syntax
enum WS_SECURITY_TIMESTAMP_USAGE { WS_SECURITY_TIMESTAMP_USAGE_ALWAYS,
WS_SECURITY_TIMESTAMP_USAGE_NEVER,
WS_SECURITY_TIMESTAMP_USAGE_REQUESTS_ONLY
};
Constants
- WS_SECURITY_TIMESTAMP_USAGE_ALWAYS
-
Always generate a timestamp in each outgoing message and demand a timestamp be present in each incoming message, whether those messages are requests or replies.
- WS_SECURITY_TIMESTAMP_USAGE_NEVER
-
Do not use timestamps in requests or replies. It is an error to specify this value when a mixed-mode message signature is required in the WS-Security header.
- WS_SECURITY_TIMESTAMP_USAGE_REQUESTS_ONLY
-
Generate and demand timestamps in client to server request messages, but not in server to client reply messages. This value may be used in mixed-mode security.
Requirements
|
Minimum supported client | Windows 7 [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
|
Header |
|
Send comments about this topic to Microsoft
Build date: 11/27/2012
