FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityTimestamp.cs (5)
150XmlConvert.ToString(new DateTimeOffset(this.ExpiryTimeUtc)));
163if (this.CreationTimeUtc >= this.ExpiryTimeUtc)
165throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new MessageSecurityException(string.Format(SRServiceModel.TimeStampHasCreationAheadOfExpiry, this.CreationTimeUtc.ToString(DefaultFormat, CultureInfo.CurrentCulture), this.ExpiryTimeUtc.ToString(DefaultFormat, CultureInfo.CurrentCulture))));
175if (this.ExpiryTimeUtc <= TimeoutHelper.Subtract(now, allowedClockSkew))
177throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new MessageSecurityException(string.Format(SRServiceModel.TimeStampHasExpiryTimeInPast, this.ExpiryTimeUtc.ToString(DefaultFormat, CultureInfo.CurrentCulture), now.ToString(DefaultFormat, CultureInfo.CurrentCulture), allowedClockSkew)));