DataProtectionBuilderExtensions.UseCryptographicAlgorithms Método

Definición

Sobrecargas

UseCryptographicAlgorithms(IDataProtectionBuilder, AuthenticatedEncryptionSettings)

Configura el sistema de protección de datos para usar los algoritmos criptográficos especificados de forma predeterminada al generar cargas protegidas.

UseCryptographicAlgorithms(IDataProtectionBuilder, AuthenticatedEncryptorConfiguration)

Configura el sistema de protección de datos para usar los algoritmos criptográficos especificados de forma predeterminada al generar cargas protegidas.

UseCryptographicAlgorithms(IDataProtectionBuilder, AuthenticatedEncryptionSettings)

Configura el sistema de protección de datos para usar los algoritmos criptográficos especificados de forma predeterminada al generar cargas protegidas.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ UseCryptographicAlgorithms(Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ builder, Microsoft::AspNetCore::DataProtection::AuthenticatedEncryption::AuthenticatedEncryptionSettings ^ settings);
public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder UseCryptographicAlgorithms (this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder, Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.AuthenticatedEncryptionSettings settings);
static member UseCryptographicAlgorithms : Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder * Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.AuthenticatedEncryptionSettings -> Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder
<Extension()>
Public Function UseCryptographicAlgorithms (builder As IDataProtectionBuilder, settings As AuthenticatedEncryptionSettings) As IDataProtectionBuilder

Parámetros

settings
AuthenticatedEncryptionSettings

Información sobre qué algoritmos criptográficos se deben usar.

Devoluciones

Referencia a una IDataProtectionBuilder vez completada esta operación.

Se aplica a

UseCryptographicAlgorithms(IDataProtectionBuilder, AuthenticatedEncryptorConfiguration)

Source:
DataProtectionBuilderExtensions.cs
Source:
DataProtectionBuilderExtensions.cs
Source:
DataProtectionBuilderExtensions.cs
Source:
DataProtectionBuilderExtensions.cs
Source:
DataProtectionBuilderExtensions.cs
Source:
DataProtectionBuilderExtensions.cs
Source:
DataProtectionBuilderExtensions.cs
Source:
DataProtectionBuilderExtensions.cs

Configura el sistema de protección de datos para usar los algoritmos criptográficos especificados de forma predeterminada al generar cargas protegidas.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ UseCryptographicAlgorithms(Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ builder, Microsoft::AspNetCore::DataProtection::AuthenticatedEncryption::ConfigurationModel::AuthenticatedEncryptorConfiguration ^ configuration);
public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder UseCryptographicAlgorithms (this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder, Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AuthenticatedEncryptorConfiguration configuration);
static member UseCryptographicAlgorithms : Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder * Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AuthenticatedEncryptorConfiguration -> Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder
<Extension()>
Public Function UseCryptographicAlgorithms (builder As IDataProtectionBuilder, configuration As AuthenticatedEncryptorConfiguration) As IDataProtectionBuilder

Parámetros

configuration
AuthenticatedEncryptorConfiguration

Información sobre qué algoritmos criptográficos se deben usar.

Devoluciones

Referencia a una IDataProtectionBuilder vez completada esta operación.

Se aplica a