LocalClientSecuritySettings.SessionKeyRolloverInterval Property

Definition

Gets or sets the time interval for which the previous session key is valid on incoming messages during a key renewal.

public:
 property TimeSpan SessionKeyRolloverInterval { TimeSpan get(); void set(TimeSpan value); };
public TimeSpan SessionKeyRolloverInterval { get; set; }
member this.SessionKeyRolloverInterval : TimeSpan with get, set
Public Property SessionKeyRolloverInterval As TimeSpan

Property Value

A TimeSpan that represents the time interval for which the previous session key is valid on incoming messages after a key renewal. The default is 5 minutes.

Exceptions

The property is set to a value less than 0.

Examples

This example shows how to get this property.

TimeSpan rollover = settings.SessionKeyRolloverInterval;
Dim rollover As TimeSpan = settings.SessionKeyRolloverInterval

Remarks

After key renewal, the client and the server should always send messages using the most current available key. Both parties can accept incoming messages secured with the previous session key until the rollover time expires.

Session settings such as this one are applicable under any of the following conditions:

Session settings such as this one are not applicable under any of the following conditions:

Applies to