3 writes to FallbackKey
Microsoft.AspNetCore.DataProtection (1)
KeyManagement\DefaultKeyResolver.cs (1)
215var defaultKey = FindDefaultKey(now, allKeys, out retVal.FallbackKey);
Microsoft.AspNetCore.DataProtection.Tests (2)
KeyManagement\KeyRingProviderTests.cs (2)
379FallbackKey = key1, 475FallbackKey = key2ValidWhenKey1Expires ? null : key2,
7 references to FallbackKey
Microsoft.AspNetCore.DataProtection (2)
KeyManagement\KeyRingProvider.cs (2)
99var keyToUse = defaultKey ?? defaultKeyPolicy.FallbackKey ?? keyJustAdded; 138var keyToUse = defaultKey ?? defaultKeyPolicy.FallbackKey;
Microsoft.AspNetCore.DataProtection.Tests (5)
KeyManagement\DefaultKeyResolverTests.cs (5)
202Assert.Same(key2, resolution.FallbackKey); 220Assert.Same(key2, resolution.FallbackKey); 237Assert.Same(key2, resolution.FallbackKey); 305Assert.Null(resolution.FallbackKey); 384Assert.Same(key1, resolution.FallbackKey);