DpapiNGXmlEncryptor Constructors

Definition

Overloads

DpapiNGXmlEncryptor(String, DpapiNGProtectionDescriptorFlags)

Creates a new instance of a DpapiNGXmlEncryptor.

DpapiNGXmlEncryptor(String, DpapiNGProtectionDescriptorFlags, ILoggerFactory)

Creates a new instance of a DpapiNGXmlEncryptor.

DpapiNGXmlEncryptor(String, DpapiNGProtectionDescriptorFlags, IServiceProvider)

Creates a new instance of a DpapiNGXmlEncryptor.

DpapiNGXmlEncryptor(String, DpapiNGProtectionDescriptorFlags)

Creates a new instance of a 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)

Parameters

protectionDescriptorRule
String

The rule string from which to create the protection descriptor.

flags
DpapiNGProtectionDescriptorFlags

Flags controlling the creation of the protection descriptor.

Applies to

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

Creates a new instance of a 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)

Parameters

protectionDescriptorRule
String

The rule string from which to create the protection descriptor.

flags
DpapiNGProtectionDescriptorFlags

Flags controlling the creation of the protection descriptor.

loggerFactory
ILoggerFactory

The ILoggerFactory.

Applies to

DpapiNGXmlEncryptor(String, DpapiNGProtectionDescriptorFlags, IServiceProvider)

Creates a new instance of a 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)

Parameters

protectionDescriptorRule
String

The rule string from which to create the protection descriptor.

flags
DpapiNGProtectionDescriptorFlags

Flags controlling the creation of the protection descriptor.

services
IServiceProvider

An optional IServiceProvider to provide ancillary services.

Applies to