DpapiNGXmlEncryptor 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
要从中创建保护描述符的规则字符串。
控制创建保护描述符的标志。
适用于
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
要从中创建保护描述符的规则字符串。
控制创建保护描述符的标志。
- loggerFactory
- 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
要从中创建保护描述符的规则字符串。
控制创建保护描述符的标志。
- services
- IServiceProvider
一个可选的 IServiceProvider ,用于提供辅助服务。