DataProtectionBuilderExtensions.UseCustomCryptographicAlgorithms Método

Definição

Sobrecargas

UseCustomCryptographicAlgorithms(IDataProtectionBuilder, ManagedAuthenticatedEncryptionSettings)

Configura o sistema de proteção de dados para usar algoritmos personalizados. Essa API destina-se a cenários avançados em que o desenvolvedor não pode usar os algoritmos especificados nas EncryptionAlgorithm enumerações e ValidationAlgorithm .

UseCustomCryptographicAlgorithms(IDataProtectionBuilder, CngCbcAuthenticatedEncryptionSettings)

Configura o sistema de proteção de dados para usar algoritmos CNG personalizados do Windows. Essa API destina-se a cenários avançados em que o desenvolvedor não pode usar os algoritmos especificados nas EncryptionAlgorithm enumerações e ValidationAlgorithm .

UseCustomCryptographicAlgorithms(IDataProtectionBuilder, CngGcmAuthenticatedEncryptionSettings)

Configura o sistema de proteção de dados para usar algoritmos CNG personalizados do Windows. Essa API destina-se a cenários avançados em que o desenvolvedor não pode usar os algoritmos especificados nas EncryptionAlgorithm enumerações e ValidationAlgorithm .

UseCustomCryptographicAlgorithms(IDataProtectionBuilder, CngCbcAuthenticatedEncryptorConfiguration)

Configura o sistema de proteção de dados para usar algoritmos CNG personalizados do Windows. Essa API destina-se a cenários avançados em que o desenvolvedor não pode usar os algoritmos especificados nas EncryptionAlgorithm enumerações e ValidationAlgorithm .

UseCustomCryptographicAlgorithms(IDataProtectionBuilder, CngGcmAuthenticatedEncryptorConfiguration)

Configura o sistema de proteção de dados para usar algoritmos CNG personalizados do Windows. Essa API destina-se a cenários avançados em que o desenvolvedor não pode usar os algoritmos especificados nas EncryptionAlgorithm enumerações e ValidationAlgorithm .

UseCustomCryptographicAlgorithms(IDataProtectionBuilder, ManagedAuthenticatedEncryptorConfiguration)

Configura o sistema de proteção de dados para usar algoritmos personalizados. Essa API destina-se a cenários avançados em que o desenvolvedor não pode usar os algoritmos especificados nas EncryptionAlgorithm enumerações e ValidationAlgorithm .

UseCustomCryptographicAlgorithms(IDataProtectionBuilder, ManagedAuthenticatedEncryptionSettings)

Configura o sistema de proteção de dados para usar algoritmos personalizados. Essa API destina-se a cenários avançados em que o desenvolvedor não pode usar os algoritmos especificados nas EncryptionAlgorithm enumerações e ValidationAlgorithm .

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

Parâmetros

settings
ManagedAuthenticatedEncryptionSettings

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

UseCustomCryptographicAlgorithms(IDataProtectionBuilder, CngCbcAuthenticatedEncryptionSettings)

Configura o sistema de proteção de dados para usar algoritmos CNG personalizados do Windows. Essa API destina-se a cenários avançados em que o desenvolvedor não pode usar os algoritmos especificados nas EncryptionAlgorithm enumerações e ValidationAlgorithm .

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

Parâmetros

settings
CngCbcAuthenticatedEncryptionSettings

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

Retornos

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

Comentários

Essa API só está disponível no Windows.

Aplica-se a

UseCustomCryptographicAlgorithms(IDataProtectionBuilder, CngGcmAuthenticatedEncryptionSettings)

Configura o sistema de proteção de dados para usar algoritmos CNG personalizados do Windows. Essa API destina-se a cenários avançados em que o desenvolvedor não pode usar os algoritmos especificados nas EncryptionAlgorithm enumerações e ValidationAlgorithm .

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

Parâmetros

settings
CngGcmAuthenticatedEncryptionSettings

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

Retornos

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

Comentários

Essa API só está disponível no Windows.

Aplica-se a

UseCustomCryptographicAlgorithms(IDataProtectionBuilder, CngCbcAuthenticatedEncryptorConfiguration)

Configura o sistema de proteção de dados para usar algoritmos CNG personalizados do Windows. Essa API destina-se a cenários avançados em que o desenvolvedor não pode usar os algoritmos especificados nas EncryptionAlgorithm enumerações e ValidationAlgorithm .

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

Parâmetros

configuration
CngCbcAuthenticatedEncryptorConfiguration

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

Retornos

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

Comentários

Essa API só está disponível no Windows.

Aplica-se a

UseCustomCryptographicAlgorithms(IDataProtectionBuilder, CngGcmAuthenticatedEncryptorConfiguration)

Configura o sistema de proteção de dados para usar algoritmos CNG personalizados do Windows. Essa API destina-se a cenários avançados em que o desenvolvedor não pode usar os algoritmos especificados nas EncryptionAlgorithm enumerações e ValidationAlgorithm .

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

Parâmetros

configuration
CngGcmAuthenticatedEncryptorConfiguration

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

Retornos

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

Comentários

Essa API só está disponível no Windows.

Aplica-se a

UseCustomCryptographicAlgorithms(IDataProtectionBuilder, ManagedAuthenticatedEncryptorConfiguration)

Configura o sistema de proteção de dados para usar algoritmos personalizados. Essa API destina-se a cenários avançados em que o desenvolvedor não pode usar os algoritmos especificados nas EncryptionAlgorithm enumerações e ValidationAlgorithm .

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

Parâmetros

configuration
ManagedAuthenticatedEncryptorConfiguration

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