12 instantiations of XmlKeyManager
Microsoft.AspNetCore.DataProtection.Tests (12)
KeyManagement\XmlKeyManagerTests.cs (12)
42
var keyManager = new
XmlKeyManager
(options, SimpleActivator.DefaultWithoutServices, NullLoggerFactory.Instance);
66
var keyManager = new
XmlKeyManager
(options, SimpleActivator.DefaultWithoutServices, NullLoggerFactory.Instance);
109
var keyManager = new
XmlKeyManager
(options, SimpleActivator.DefaultWithoutServices, NullLoggerFactory.Instance);
207
var keyManager = new
XmlKeyManager
(options, SimpleActivator.DefaultWithoutServices, NullLoggerFactory.Instance);
606
var keyManager = new
XmlKeyManager
(options, activator, loggerFactory ?? NullLoggerFactory.Instance);
633
var keyManager = new
XmlKeyManager
(options, SimpleActivator.DefaultWithoutServices, NullLoggerFactory.Instance);
683
var keyManager = new
XmlKeyManager
(options, SimpleActivator.DefaultWithoutServices, NullLoggerFactory.Instance);
805
var keyManager = new
XmlKeyManager
(keyManagementOptions, activator.Object);
905
var keyManager = new
XmlKeyManager
(keyManagementOptions, activator.Object);
936
var keyManager = new
XmlKeyManager
(
985
var withDeletion = new
XmlKeyManager
(Options.Create(new KeyManagementOptions()
992
var withoutDeletion = new
XmlKeyManager
(Options.Create(new KeyManagementOptions()
19 references to XmlKeyManager
KeyManagementSimulator (1)
Program.cs (1)
355
var
keyManager = new XmlKeyManager(keyManagementOptions, activator)
Microsoft.AspNetCore.DataProtection (4)
DataProtectionServiceCollectionExtensions.cs (1)
75
services.TryAddSingleton<IKeyManager,
XmlKeyManager
>();
KeyManagement\XmlKeyManager.cs (3)
66
/// Creates an <see cref="
XmlKeyManager
"/>.
77
/// Creates an <see cref="
XmlKeyManager
"/>.
95
_logger = _loggerFactory.CreateLogger<
XmlKeyManager
>();
Microsoft.AspNetCore.DataProtection.Tests (14)
KeyManagement\XmlKeyManagerTests.cs (14)
42
var
keyManager = new XmlKeyManager(options, SimpleActivator.DefaultWithoutServices, NullLoggerFactory.Instance);
66
var
keyManager = new XmlKeyManager(options, SimpleActivator.DefaultWithoutServices, NullLoggerFactory.Instance);
109
var
keyManager = new XmlKeyManager(options, SimpleActivator.DefaultWithoutServices, NullLoggerFactory.Instance);
207
var
keyManager = new XmlKeyManager(options, SimpleActivator.DefaultWithoutServices, NullLoggerFactory.Instance);
311
var
keyManager = new XmlKeyManager(options, SimpleActivator.DefaultWithoutServices, NullLoggerFactory.Instance, mockInternalKeyManager.Object);
606
var
keyManager = new XmlKeyManager(options, activator, loggerFactory ?? NullLoggerFactory.Instance);
633
var
keyManager = new XmlKeyManager(options, SimpleActivator.DefaultWithoutServices, NullLoggerFactory.Instance);
683
var
keyManager = new XmlKeyManager(options, SimpleActivator.DefaultWithoutServices, NullLoggerFactory.Instance);
738
var
keyManager = new XmlKeyManager(options, SimpleActivator.DefaultWithoutServices, NullLoggerFactory.Instance, mockInternalKeyManager.Object);
805
var
keyManager = new XmlKeyManager(keyManagementOptions, activator.Object);
905
var
keyManager = new XmlKeyManager(keyManagementOptions, activator.Object);
936
var
keyManager = new XmlKeyManager(
985
var
withDeletion = new XmlKeyManager(Options.Create(new KeyManagementOptions()
992
var
withoutDeletion = new XmlKeyManager(Options.Create(new KeyManagementOptions()