2 implementations of ActivationDate
Microsoft.AspNetCore.DataProtection (1)
KeyManagement\Key.cs (1)
116public DateTimeOffset ActivationDate { get; }
Microsoft.AspNetCore.DataProtection.Tests (1)
KeyManagement\KeyRingTests.cs (1)
109public DateTimeOffset ActivationDate { get; }
8 references to ActivationDate
Microsoft.AspNetCore.DataProtection (2)
KeyManagement\DefaultKeyResolver.cs (2)
161where key.ActivationDate <= now + _maxServerToServerClockSkew 162orderby key.ActivationDate descending, key.KeyId ascending
Microsoft.AspNetCore.DataProtection.Tests (6)
KeyManagement\DefaultKeyResolverTests.cs (1)
463mockKey.Setup(o => o.ActivationDate).Returns(activationDate);
KeyManagement\KeyRingProviderTests.cs (1)
940mockKey.Setup(o => o.ActivationDate).Returns(activationDate);
KeyManagement\XmlKeyManagerTests.cs (4)
131Assert.Equal(activationDate, newKey.ActivationDate); 229Assert.Equal(activationDate, newKey.ActivationDate); 374Assert.Equal(XmlConvert.ToDateTimeOffset("2015-02-01T00:00:00Z"), keys[0].ActivationDate); 380Assert.Equal(XmlConvert.ToDateTimeOffset("2015-05-01T00:00:00Z"), keys[1].ActivationDate);