12 instantiations of XmlKeyManager
Microsoft.AspNetCore.DataProtection.Tests (12)
KeyManagement\XmlKeyManagerTests.cs (12)
42var keyManager = new XmlKeyManager(options, SimpleActivator.DefaultWithoutServices, NullLoggerFactory.Instance); 66var keyManager = new XmlKeyManager(options, SimpleActivator.DefaultWithoutServices, NullLoggerFactory.Instance); 109var keyManager = new XmlKeyManager(options, SimpleActivator.DefaultWithoutServices, NullLoggerFactory.Instance); 207var keyManager = new XmlKeyManager(options, SimpleActivator.DefaultWithoutServices, NullLoggerFactory.Instance); 606var keyManager = new XmlKeyManager(options, activator, loggerFactory ?? NullLoggerFactory.Instance); 633var keyManager = new XmlKeyManager(options, SimpleActivator.DefaultWithoutServices, NullLoggerFactory.Instance); 683var keyManager = new XmlKeyManager(options, SimpleActivator.DefaultWithoutServices, NullLoggerFactory.Instance); 805var keyManager = new XmlKeyManager(keyManagementOptions, activator.Object); 905var keyManager = new XmlKeyManager(keyManagementOptions, activator.Object); 936var keyManager = new XmlKeyManager( 985var withDeletion = new XmlKeyManager(Options.Create(new KeyManagementOptions() 992var withoutDeletion = new XmlKeyManager(Options.Create(new KeyManagementOptions()
19 references to XmlKeyManager
KeyManagementSimulator (1)
Program.cs (1)
355var keyManager = new XmlKeyManager(keyManagementOptions, activator)
Microsoft.AspNetCore.DataProtection (4)
DataProtectionServiceCollectionExtensions.cs (1)
75services.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)
42var keyManager = new XmlKeyManager(options, SimpleActivator.DefaultWithoutServices, NullLoggerFactory.Instance); 66var keyManager = new XmlKeyManager(options, SimpleActivator.DefaultWithoutServices, NullLoggerFactory.Instance); 109var keyManager = new XmlKeyManager(options, SimpleActivator.DefaultWithoutServices, NullLoggerFactory.Instance); 207var keyManager = new XmlKeyManager(options, SimpleActivator.DefaultWithoutServices, NullLoggerFactory.Instance); 311var keyManager = new XmlKeyManager(options, SimpleActivator.DefaultWithoutServices, NullLoggerFactory.Instance, mockInternalKeyManager.Object); 606var keyManager = new XmlKeyManager(options, activator, loggerFactory ?? NullLoggerFactory.Instance); 633var keyManager = new XmlKeyManager(options, SimpleActivator.DefaultWithoutServices, NullLoggerFactory.Instance); 683var keyManager = new XmlKeyManager(options, SimpleActivator.DefaultWithoutServices, NullLoggerFactory.Instance); 738var keyManager = new XmlKeyManager(options, SimpleActivator.DefaultWithoutServices, NullLoggerFactory.Instance, mockInternalKeyManager.Object); 805var keyManager = new XmlKeyManager(keyManagementOptions, activator.Object); 905var keyManager = new XmlKeyManager(keyManagementOptions, activator.Object); 936var keyManager = new XmlKeyManager( 985var withDeletion = new XmlKeyManager(Options.Create(new KeyManagementOptions() 992var withoutDeletion = new XmlKeyManager(Options.Create(new KeyManagementOptions()