Partager via


DpapiNGXmlEncryptor Constructeurs

Définition

Surcharges

DpapiNGXmlEncryptor(String, DpapiNGProtectionDescriptorFlags)

Crée une instance d’un 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)

Paramètres

protectionDescriptorRule
String

Chaîne de règle à partir de laquelle créer le descripteur de protection.

flags
DpapiNGProtectionDescriptorFlags

Indicateurs contrôlant la création du descripteur de protection.

S’applique à

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
Source:
DpapiNGXmlEncryptor.cs

Crée une instance d’un 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)

Paramètres

protectionDescriptorRule
String

Chaîne de règle à partir de laquelle créer le descripteur de protection.

flags
DpapiNGProtectionDescriptorFlags

Indicateurs contrôlant la création du descripteur de protection.

loggerFactory
ILoggerFactory

L’ILoggerFactoryopérateur

S’applique à

DpapiNGXmlEncryptor(String, DpapiNGProtectionDescriptorFlags, IServiceProvider)

Crée une instance d’un 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)

Paramètres

protectionDescriptorRule
String

Chaîne de règle à partir de laquelle créer le descripteur de protection.

flags
DpapiNGProtectionDescriptorFlags

Indicateurs contrôlant la création du descripteur de protection.

services
IServiceProvider

Facultatif IServiceProvider pour fournir des services auxiliaires.

S’applique à