6 references to IsValid
Microsoft.AspNetCore.DataProtection (6)
KeyManagement\KeyRingProvider.cs (6)
235if (CacheableKeyRing.IsValid(existingCacheableKeyRing, utcNow)) 257if (CacheableKeyRing.IsValid(existingCacheableKeyRing, utcNow)) 338if (CacheableKeyRing.IsValid(cached, utcNow)) 354if (CacheableKeyRing.IsValid(existingCacheableKeyRing, utcNow)) 396Debug.Assert(!CacheableKeyRing.IsValid(existingCacheableKeyRing, utcNow), "Should have returned a valid cached key ring above"); 466if (existingCacheableKeyRing is not null && !CacheableKeyRing.IsValid(existingCacheableKeyRing, utcNow))