DpapiNGXmlEncryptor 构造函数

定义

重载

DpapiNGXmlEncryptor(String, DpapiNGProtectionDescriptorFlags)

创建 的新 DpapiNGXmlEncryptor实例。

DpapiNGXmlEncryptor(String, DpapiNGProtectionDescriptorFlags, ILoggerFactory)

创建 的新 DpapiNGXmlEncryptor实例。

DpapiNGXmlEncryptor(String, DpapiNGProtectionDescriptorFlags, IServiceProvider)

创建 的新 DpapiNGXmlEncryptor实例。

DpapiNGXmlEncryptor(String, DpapiNGProtectionDescriptorFlags)

创建 的新 DpapiNGXmlEncryptor实例。

public:
 DpapiNGXmlEncryptor(System::String ^ protectionDescriptorRule, Microsoft::AspNetCore::DataProtection::XmlEncryption::DpapiNGProtectionDescriptorFlags flags);
public DpapiNGXmlEncryptor (string protectionDescriptorRule, Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiNGProtectionDescriptorFlags flags);
new Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiNGXmlEncryptor : string * Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiNGProtectionDescriptorFlags -> Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiNGXmlEncryptor
Public Sub New (protectionDescriptorRule As String, flags As DpapiNGProtectionDescriptorFlags)

参数

protectionDescriptorRule
String

要从中创建保护描述符的规则字符串。

flags
DpapiNGProtectionDescriptorFlags

控制创建保护描述符的标志。

适用于

DpapiNGXmlEncryptor(String, DpapiNGProtectionDescriptorFlags, ILoggerFactory)

Source:
DpapiNGXmlEncryptor.cs
Source:
DpapiNGXmlEncryptor.cs
Source:
DpapiNGXmlEncryptor.cs
Source:
DpapiNGXmlEncryptor.cs
Source:
DpapiNGXmlEncryptor.cs
Source:
DpapiNGXmlEncryptor.cs
Source:
DpapiNGXmlEncryptor.cs
Source:
DpapiNGXmlEncryptor.cs

创建 的新 DpapiNGXmlEncryptor实例。

public:
 DpapiNGXmlEncryptor(System::String ^ protectionDescriptorRule, Microsoft::AspNetCore::DataProtection::XmlEncryption::DpapiNGProtectionDescriptorFlags flags, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory);
public DpapiNGXmlEncryptor (string protectionDescriptorRule, Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiNGProtectionDescriptorFlags flags, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiNGXmlEncryptor : string * Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiNGProtectionDescriptorFlags * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiNGXmlEncryptor
Public Sub New (protectionDescriptorRule As String, flags As DpapiNGProtectionDescriptorFlags, loggerFactory As ILoggerFactory)

参数

protectionDescriptorRule
String

要从中创建保护描述符的规则字符串。

flags
DpapiNGProtectionDescriptorFlags

控制创建保护描述符的标志。

loggerFactory
ILoggerFactory

ILoggerFactory

适用于

DpapiNGXmlEncryptor(String, DpapiNGProtectionDescriptorFlags, IServiceProvider)

创建 的新 DpapiNGXmlEncryptor实例。

public:
 DpapiNGXmlEncryptor(System::String ^ protectionDescriptorRule, Microsoft::AspNetCore::DataProtection::XmlEncryption::DpapiNGProtectionDescriptorFlags flags, IServiceProvider ^ services);
public DpapiNGXmlEncryptor (string protectionDescriptorRule, Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiNGProtectionDescriptorFlags flags, IServiceProvider services);
new Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiNGXmlEncryptor : string * Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiNGProtectionDescriptorFlags * IServiceProvider -> Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiNGXmlEncryptor
Public Sub New (protectionDescriptorRule As String, flags As DpapiNGProtectionDescriptorFlags, services As IServiceProvider)

参数

protectionDescriptorRule
String

要从中创建保护描述符的规则字符串。

flags
DpapiNGProtectionDescriptorFlags

控制创建保护描述符的标志。

services
IServiceProvider

一个可选的 IServiceProvider ,用于提供辅助服务。

适用于