Share via


XmlKeyManager Constructors

Definition

Overloads

XmlKeyManager(IOptions<KeyManagementOptions>, IActivator)

Creates an XmlKeyManager.

XmlKeyManager(IXmlRepository, IAuthenticatedEncryptorConfiguration, IServiceProvider)

Creates an XmlKeyManager.

XmlKeyManager(IOptions<KeyManagementOptions>, IActivator, ILoggerFactory)

Creates an XmlKeyManager.

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.

public:
 XmlKeyManager(Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::DataProtection::KeyManagement::KeyManagementOptions ^> ^ keyManagementOptions, Microsoft::AspNetCore::DataProtection::Internal::IActivator ^ activator);
public XmlKeyManager (Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.DataProtection.KeyManagement.KeyManagementOptions> keyManagementOptions, Microsoft.AspNetCore.DataProtection.Internal.IActivator activator);
new Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager : Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.DataProtection.KeyManagement.KeyManagementOptions> * Microsoft.AspNetCore.DataProtection.Internal.IActivator -> Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager
Public Sub New (keyManagementOptions As IOptions(Of KeyManagementOptions), activator As IActivator)

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

XmlKeyManager(IXmlRepository, IAuthenticatedEncryptorConfiguration, IServiceProvider)

Creates an XmlKeyManager.

public:
 XmlKeyManager(Microsoft::AspNetCore::DataProtection::Repositories::IXmlRepository ^ repository, Microsoft::AspNetCore::DataProtection::AuthenticatedEncryption::ConfigurationModel::IAuthenticatedEncryptorConfiguration ^ configuration, IServiceProvider ^ services);
public XmlKeyManager (Microsoft.AspNetCore.DataProtection.Repositories.IXmlRepository repository, Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorConfiguration configuration, IServiceProvider services);
new Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager : Microsoft.AspNetCore.DataProtection.Repositories.IXmlRepository * Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorConfiguration * IServiceProvider -> Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager
Public Sub New (repository As IXmlRepository, configuration As IAuthenticatedEncryptorConfiguration, services As IServiceProvider)

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

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.

public:
 XmlKeyManager(Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::DataProtection::KeyManagement::KeyManagementOptions ^> ^ keyManagementOptions, Microsoft::AspNetCore::DataProtection::Internal::IActivator ^ activator, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory);
public XmlKeyManager (Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.DataProtection.KeyManagement.KeyManagementOptions> keyManagementOptions, Microsoft.AspNetCore.DataProtection.Internal.IActivator activator, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager : Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.DataProtection.KeyManagement.KeyManagementOptions> * Microsoft.AspNetCore.DataProtection.Internal.IActivator * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager
Public Sub New (keyManagementOptions As IOptions(Of KeyManagementOptions), activator As IActivator, loggerFactory As ILoggerFactory)

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