1 implementation of IInternalXmlKeyManager
Microsoft.AspNetCore.DataProtection (1)
KeyManagement\XmlKeyManager.cs (1)
35
public sealed class XmlKeyManager : IKeyManager,
IInternalXmlKeyManager
15 references to IInternalXmlKeyManager
Microsoft.AspNetCore.DataProtection (7)
KeyManagement\Key.cs (2)
62
IInternalXmlKeyManager
keyManager,
223
private static Func<IAuthenticatedEncryptorDescriptor> GetLazyDescriptorDelegate(
IInternalXmlKeyManager
keyManager, XElement keyElement)
KeyManagement\XmlKeyManager.cs (5)
56
private readonly
IInternalXmlKeyManager
_internalKeyManager;
130
IInternalXmlKeyManager
internalXmlKeyManager)
504
IKey
IInternalXmlKeyManager
.CreateNewKey(Guid keyId, DateTimeOffset creationDate, DateTimeOffset activationDate, DateTimeOffset expirationDate)
571
IAuthenticatedEncryptorDescriptor
IInternalXmlKeyManager
.DeserializeDescriptorFromKeyElement(XElement keyElement)
622
void
IInternalXmlKeyManager
.RevokeSingleKey(Guid keyId, DateTimeOffset revocationDate, string? reason)
Microsoft.AspNetCore.DataProtection.Tests (8)
KeyManagement\DeferredKeyTests.cs (3)
24
var mockInternalKeyManager = new Mock<
IInternalXmlKeyManager
>();
50
var key = new Key(Guid.Empty, now, now, now, new Mock<
IInternalXmlKeyManager
>().Object, XElement.Parse(@"<node />"), new[] { encryptorFactory });
63
var mockKeyManager = new Mock<
IInternalXmlKeyManager
>();
KeyManagement\XmlKeyManagerTests.cs (5)
119
var newKey = ((
IInternalXmlKeyManager
)keyManager).CreateNewKey(
217
var newKey = ((
IInternalXmlKeyManager
)keyManager).CreateNewKey(
297
var mockInternalKeyManager = new Mock<
IInternalXmlKeyManager
>();
695
((
IInternalXmlKeyManager
)keyManager).RevokeSingleKey(
724
var mockInternalKeyManager = new Mock<
IInternalXmlKeyManager
>();