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