1 write to DefaultKeyLifetime
Microsoft.AspNetCore.DataProtection (1)
RegistryPolicy.cs (1)
19
DefaultKeyLifetime
= defaultKeyLifetime;
4 references to DefaultKeyLifetime
Microsoft.AspNetCore.DataProtection (2)
Internal\KeyManagementOptionsSetup.cs (2)
50
if (context.
DefaultKeyLifetime
.HasValue)
52
options.NewKeyLifetime = TimeSpan.FromDays(context.
DefaultKeyLifetime
.Value);
Microsoft.AspNetCore.DataProtection.Tests (2)
RegistryPolicyResolverTests.cs (2)
28
Assert.Null(context.
DefaultKeyLifetime
);
84
Assert.Equal(1024, context.
DefaultKeyLifetime
);