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