DataProtectionBuilderExtensions.UseCryptographicAlgorithms Método

Definição

Sobrecargas

UseCryptographicAlgorithms(IDataProtectionBuilder, AuthenticatedEncryptionSettings)

Configura o sistema de proteção de dados para usar os algoritmos criptográficos especificados por padrão ao gerar cargas protegidas.

UseCryptographicAlgorithms(IDataProtectionBuilder, AuthenticatedEncryptorConfiguration)

Configura o sistema de proteção de dados para usar os algoritmos criptográficos especificados por padrão ao gerar cargas protegidas.

UseCryptographicAlgorithms(IDataProtectionBuilder, AuthenticatedEncryptionSettings)

Configura o sistema de proteção de dados para usar os algoritmos criptográficos especificados por padrão ao gerar 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

Informações sobre quais algoritmos criptográficos devem ser usados.

Retornos

Uma referência ao após a IDataProtectionBuilder conclusão dessa operação.

Aplica-se a

UseCryptographicAlgorithms(IDataProtectionBuilder, AuthenticatedEncryptorConfiguration)

Configura o sistema de proteção de dados para usar os algoritmos criptográficos especificados por padrão ao gerar 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

Informações sobre quais algoritmos criptográficos devem ser usados.

Retornos

Uma referência ao após a IDataProtectionBuilder conclusão dessa operação.

Aplica-se a