A policy representing a WSS Timestamp element.
Note: The TimestampPolicy is the only WSSPolicy element that does not contain a
concrete FeatureBinding and/or KeyBinding.
setTimeout(long timeout) If the current time on a receiving system is past the CreationTime of the timestamp plus the
timeout, then the timestamp is to be considered expired.
public void
setTimestampFreshness(long timestampFreshness) set the Timestamp Freshness Limit (in milliseconds) for this Timestamp
Timestamps received by a receiver with creation Times older than
the Timestamp Freshness Limit period are supposed to be rejected by the receiver.
public void setCreationTime(String creationTime)(Code)
set the CreationTime for the timestamp in this TimestampPolicy
Parameters: creationTime -
setExpirationTime
public void setExpirationTime(String expirationTime)(Code)
Parameters: expirationTime - the expiration time
setMaxClockSkew
public void setMaxClockSkew(long maxClockSkew)(Code)
set the maximum clock skew adjustment value (in milliseconds)
Parameters: maxClockSkew - the Maximum Clock Skew adjustment to be usedwhen validating received timestamps
If the current time on a receiving system is past the CreationTime of the timestamp plus the
timeout, then the timestamp is to be considered expired.
Parameters: timeout - the number of milliseconds after which the Timestamp in thisTimestampPolicy will expire.
setTimestampFreshness
public void setTimestampFreshness(long timestampFreshness)(Code)
set the Timestamp Freshness Limit (in milliseconds) for this Timestamp
Timestamps received by a receiver with creation Times older than
the Timestamp Freshness Limit period are supposed to be rejected by the receiver.
Parameters: timestampFreshness - the Timestamp Freshness Limit (in milliseconds)
Fields inherited from com.sun.xml.wss.impl.policy.mls.WSSPolicy