34 references to new
KeyManagementSimulator (1)
Program.cs (1)
347var keyManagementOptions = Options.Create(new KeyManagementOptions()
Microsoft.AspNetCore.DataProtection (1)
KeyManagement\KeyRingProvider.cs (1)
50var options = keyManagementOptions.Value ?? new();
Microsoft.AspNetCore.DataProtection.Tests (32)
Internal\KeyManagementOptionsPostSetupTest.cs (7)
29var options = new KeyManagementOptions(); 46var options = new KeyManagementOptions(); 65var options = new KeyManagementOptions(); 87var options = new KeyManagementOptions() 114var options = new KeyManagementOptions() 133var options = new KeyManagementOptions(); 147var options = new KeyManagementOptions();
Internal\KeyManagementOptionsSetupTest.cs (2)
22var options = new KeyManagementOptions() 53var options = new KeyManagementOptions()
KeyManagement\DefaultKeyResolverTests.cs (3)
318var options = Options.Create(new KeyManagementOptions() 395var options = Options.Create(new KeyManagementOptions() 450return new DefaultKeyResolver(Options.Create(new KeyManagementOptions()), NullLoggerFactory.Instance);
KeyManagement\KeyRingBasedDataProtectorTests.cs (1)
233var options = new KeyManagementOptions();
KeyManagement\KeyRingProviderTests.cs (5)
261keyManagementOptions: new KeyManagementOptions() { AutoGenerateKeys = false }); 345keyManagementOptions: new KeyManagementOptions() { AutoGenerateKeys = false }); 383keyManagementOptions: new KeyManagementOptions() { AutoGenerateKeys = false }); 882var options = new KeyManagementOptions(); 899keyManagementOptions = keyManagementOptions ?? new KeyManagementOptions();
KeyManagement\XmlKeyManagerTests.cs (14)
34var options = Options.Create(new KeyManagementOptions() 58var options = Options.Create(new KeyManagementOptions() 101var options = Options.Create(new KeyManagementOptions() 199var options = Options.Create(new KeyManagementOptions() 305var options = Options.Create(new KeyManagementOptions() 600var options = Options.Create(new KeyManagementOptions() 627var options = Options.Create(new KeyManagementOptions() 677var options = Options.Create(new KeyManagementOptions() 732var options = Options.Create(new KeyManagementOptions() 798var keyManagementOptions = Options.Create(new KeyManagementOptions() 899var keyManagementOptions = Options.Create(new KeyManagementOptions() 937Options.Create(new KeyManagementOptions() 985var withDeletion = new XmlKeyManager(Options.Create(new KeyManagementOptions() 992var withoutDeletion = new XmlKeyManager(Options.Create(new KeyManagementOptions()