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