DataProtectionBuilderExtensions.UseCustomCryptographicAlgorithms Método

Definición

Sobrecargas

UseCustomCryptographicAlgorithms(IDataProtectionBuilder, ManagedAuthenticatedEncryptionSettings)

Configura el sistema de protección de datos para usar algoritmos personalizados. Esta API está pensada para escenarios avanzados en los que el desarrollador no puede usar los algoritmos especificados en las EncryptionAlgorithm enumeraciones y ValidationAlgorithm .

UseCustomCryptographicAlgorithms(IDataProtectionBuilder, CngCbcAuthenticatedEncryptionSettings)

Configura el sistema de protección de datos para usar algoritmos CNG de Windows personalizados. Esta API está pensada para escenarios avanzados en los que el desarrollador no puede usar los algoritmos especificados en las EncryptionAlgorithm enumeraciones y ValidationAlgorithm .

UseCustomCryptographicAlgorithms(IDataProtectionBuilder, CngGcmAuthenticatedEncryptionSettings)

Configura el sistema de protección de datos para usar algoritmos CNG de Windows personalizados. Esta API está pensada para escenarios avanzados en los que el desarrollador no puede usar los algoritmos especificados en las EncryptionAlgorithm enumeraciones y ValidationAlgorithm .

UseCustomCryptographicAlgorithms(IDataProtectionBuilder, CngCbcAuthenticatedEncryptorConfiguration)

Configura el sistema de protección de datos para usar algoritmos CNG de Windows personalizados. Esta API está pensada para escenarios avanzados en los que el desarrollador no puede usar los algoritmos especificados en las EncryptionAlgorithm enumeraciones y ValidationAlgorithm .

UseCustomCryptographicAlgorithms(IDataProtectionBuilder, CngGcmAuthenticatedEncryptorConfiguration)

Configura el sistema de protección de datos para usar algoritmos CNG de Windows personalizados. Esta API está pensada para escenarios avanzados en los que el desarrollador no puede usar los algoritmos especificados en las EncryptionAlgorithm enumeraciones y ValidationAlgorithm .

UseCustomCryptographicAlgorithms(IDataProtectionBuilder, ManagedAuthenticatedEncryptorConfiguration)

Configura el sistema de protección de datos para usar algoritmos personalizados. Esta API está pensada para escenarios avanzados en los que el desarrollador no puede usar los algoritmos especificados en las EncryptionAlgorithm enumeraciones y ValidationAlgorithm .

UseCustomCryptographicAlgorithms(IDataProtectionBuilder, ManagedAuthenticatedEncryptionSettings)

Configura el sistema de protección de datos para usar algoritmos personalizados. Esta API está pensada para escenarios avanzados en los que el desarrollador no puede usar los algoritmos especificados en las EncryptionAlgorithm enumeraciones y 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

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

Devoluciones

Referencia a una IDataProtectionBuilder vez completada esta operación.

Se aplica a

UseCustomCryptographicAlgorithms(IDataProtectionBuilder, CngCbcAuthenticatedEncryptionSettings)

Configura el sistema de protección de datos para usar algoritmos CNG de Windows personalizados. Esta API está pensada para escenarios avanzados en los que el desarrollador no puede usar los algoritmos especificados en las EncryptionAlgorithm enumeraciones y 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

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

Devoluciones

Referencia a una IDataProtectionBuilder vez completada esta operación.

Comentarios

Esta API solo está disponible en Windows.

Se aplica a

UseCustomCryptographicAlgorithms(IDataProtectionBuilder, CngGcmAuthenticatedEncryptionSettings)

Configura el sistema de protección de datos para usar algoritmos CNG de Windows personalizados. Esta API está pensada para escenarios avanzados en los que el desarrollador no puede usar los algoritmos especificados en las EncryptionAlgorithm enumeraciones y 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

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

Devoluciones

Referencia a una IDataProtectionBuilder vez completada esta operación.

Comentarios

Esta API solo está disponible en Windows.

Se aplica a

UseCustomCryptographicAlgorithms(IDataProtectionBuilder, CngCbcAuthenticatedEncryptorConfiguration)

Configura el sistema de protección de datos para usar algoritmos CNG de Windows personalizados. Esta API está pensada para escenarios avanzados en los que el desarrollador no puede usar los algoritmos especificados en las EncryptionAlgorithm enumeraciones y 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

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

Devoluciones

Referencia a una IDataProtectionBuilder vez completada esta operación.

Comentarios

Esta API solo está disponible en Windows.

Se aplica a

UseCustomCryptographicAlgorithms(IDataProtectionBuilder, CngGcmAuthenticatedEncryptorConfiguration)

Configura el sistema de protección de datos para usar algoritmos CNG de Windows personalizados. Esta API está pensada para escenarios avanzados en los que el desarrollador no puede usar los algoritmos especificados en las EncryptionAlgorithm enumeraciones y 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

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

Devoluciones

Referencia a una IDataProtectionBuilder vez completada esta operación.

Comentarios

Esta API solo está disponible en Windows.

Se aplica a

UseCustomCryptographicAlgorithms(IDataProtectionBuilder, ManagedAuthenticatedEncryptorConfiguration)

Configura el sistema de protección de datos para usar algoritmos personalizados. Esta API está pensada para escenarios avanzados en los que el desarrollador no puede usar los algoritmos especificados en las EncryptionAlgorithm enumeraciones y 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

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

Devoluciones

Referencia a una IDataProtectionBuilder vez completada esta operación.

Se aplica a