LocalClientSecuritySettingsElement.ReplayWindow Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a TimeSpan that specifies the duration in which individual message nonces are valid.
public:
property TimeSpan ReplayWindow { TimeSpan get(); void set(TimeSpan value); };
[System.ComponentModel.TypeConverter(typeof(System.ServiceModel.TimeSpanOrInfiniteConverter))]
[System.Configuration.ConfigurationProperty("replayWindow", DefaultValue="00:05:00")]
public TimeSpan ReplayWindow { get; set; }
[System.Configuration.ConfigurationProperty("replayWindow", DefaultValue="00:05:00")]
[System.ComponentModel.TypeConverter(typeof(System.Runtime.TimeSpanOrInfiniteConverter))]
public TimeSpan ReplayWindow { get; set; }
[System.Configuration.ConfigurationProperty("replayWindow", DefaultValue="00:05:00")]
[System.ComponentModel.TypeConverter(typeof(System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter))]
public TimeSpan ReplayWindow { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.ServiceModel.TimeSpanOrInfiniteConverter))>]
[<System.Configuration.ConfigurationProperty("replayWindow", DefaultValue="00:05:00")>]
member this.ReplayWindow : TimeSpan with get, set
[<System.Configuration.ConfigurationProperty("replayWindow", DefaultValue="00:05:00")>]
[<System.ComponentModel.TypeConverter(typeof(System.Runtime.TimeSpanOrInfiniteConverter))>]
member this.ReplayWindow : TimeSpan with get, set
[<System.Configuration.ConfigurationProperty("replayWindow", DefaultValue="00:05:00")>]
[<System.ComponentModel.TypeConverter(typeof(System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter))>]
member this.ReplayWindow : TimeSpan with get, set
Public Property ReplayWindow As TimeSpan
Property Value
A TimeSpan that specifies the duration in which individual message nonces are valid.
- Attributes
Remarks
After the time specified by this property, a message sent with the same nonce as the one sent before is not accepted. This property is used in conjunction with the MaxClockSkew property to prevent replay attacks. An attacker can replay a message after its replay window has expired. This message, however, fails the maxClockSkew test that rejects messages with send-time timestamps up to a specified time later or earlier than the time the message was received.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈