5 references to ExpiryTimeUtc
System.ServiceModel.Primitives (5)
System\ServiceModel\Security\SecurityTimestamp.cs (5)
144XmlConvert.ToString(new DateTimeOffset(ExpiryTimeUtc)));
157if (CreationTimeUtc >= ExpiryTimeUtc)
159throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new MessageSecurityException(SRP.Format(SRP.TimeStampHasCreationAheadOfExpiry, CreationTimeUtc.ToString(DefaultFormat, CultureInfo.CurrentCulture), ExpiryTimeUtc.ToString(DefaultFormat, CultureInfo.CurrentCulture))));
169if (ExpiryTimeUtc <= TimeoutHelper.Subtract(now, allowedClockSkew))
171throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new MessageSecurityException(SRP.Format(SRP.TimeStampHasExpiryTimeInPast, ExpiryTimeUtc.ToString(DefaultFormat, CultureInfo.CurrentCulture), now.ToString(DefaultFormat, CultureInfo.CurrentCulture), allowedClockSkew)));