}
Timestamp timeStamp = credential.getTimestamp();
// Validate whether the security semantics have expired
if ((timeStampStrict && timeStamp.isExpired())
|| !timeStamp.verifyCreated(timeStampTTL, futureTimeToLive)) {
throw new WSSecurityException(
WSSecurityException.MESSAGE_EXPIRED,
"invalidTimestamp",
new Object[] {"The security semantics of the message have expired"}
);