XmlKeyManager Constructors

Definition

Overloads

XmlKeyManager(IOptions<KeyManagementOptions>, IActivator)

Source:
XmlKeyManager.cs
Source:
XmlKeyManager.cs
Source:
XmlKeyManager.cs
Source:
XmlKeyManager.cs
Source:
XmlKeyManager.cs
Source:
XmlKeyManager.cs
Source:
XmlKeyManager.cs
Source:
XmlKeyManager.cs

Creates an XmlKeyManager.

C#
public XmlKeyManager (Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.DataProtection.KeyManagement.KeyManagementOptions> keyManagementOptions, Microsoft.AspNetCore.DataProtection.Internal.IActivator activator);

Parameters

keyManagementOptions
IOptions<KeyManagementOptions>

The IOptions<TOptions> instance that provides the configuration.

activator
Microsoft.AspNetCore.DataProtection.Internal.IActivator

The Microsoft.AspNetCore.DataProtection.Internal.IActivator.

Applies to

ASP.NET Core 9.0 an aner Versiounen
Produkt Versiounen
ASP.NET Core 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0

XmlKeyManager(IXmlRepository, IAuthenticatedEncryptorConfiguration, IServiceProvider)

Creates an XmlKeyManager.

C#
public XmlKeyManager (Microsoft.AspNetCore.DataProtection.Repositories.IXmlRepository repository, Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorConfiguration configuration, IServiceProvider services);

Parameters

repository
IXmlRepository

The repository where keys are stored.

configuration
IAuthenticatedEncryptorConfiguration

Configuration for newly-created keys.

services
IServiceProvider

A provider of optional services.

Applies to

ASP.NET Core 1.1 a ASP.NET Core 1.0
Produkt Versiounen
ASP.NET Core 1.0, 1.1

XmlKeyManager(IOptions<KeyManagementOptions>, IActivator, ILoggerFactory)

Source:
XmlKeyManager.cs
Source:
XmlKeyManager.cs
Source:
XmlKeyManager.cs
Source:
XmlKeyManager.cs
Source:
XmlKeyManager.cs
Source:
XmlKeyManager.cs
Source:
XmlKeyManager.cs
Source:
XmlKeyManager.cs

Creates an XmlKeyManager.

C#
public XmlKeyManager (Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.DataProtection.KeyManagement.KeyManagementOptions> keyManagementOptions, Microsoft.AspNetCore.DataProtection.Internal.IActivator activator, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);

Parameters

keyManagementOptions
IOptions<KeyManagementOptions>

The IOptions<TOptions> instance that provides the configuration.

activator
Microsoft.AspNetCore.DataProtection.Internal.IActivator

The Microsoft.AspNetCore.DataProtection.Internal.IActivator.

loggerFactory
ILoggerFactory

The ILoggerFactory.

Applies to

ASP.NET Core 9.0 an aner Versiounen
Produkt Versiounen
ASP.NET Core 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0