XmlKeyManager Constructors
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
- 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
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 |
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
ASP.NET Core 1.1 a ASP.NET Core 1.0
Produkt | Versiounen |
---|---|
ASP.NET Core | 1.0, 1.1 |
- 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
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 |