DataProtectionBuilderExtensions.UseCryptographicAlgorithms Metodo

Definizione

Overload

UseCryptographicAlgorithms(IDataProtectionBuilder, AuthenticatedEncryptionSettings)

Configura il sistema di protezione dei dati per l'uso degli algoritmi di crittografia specificati per impostazione predefinita durante la generazione di payload protetti.

UseCryptographicAlgorithms(IDataProtectionBuilder, AuthenticatedEncryptorConfiguration)

Configura il sistema di protezione dei dati per l'uso degli algoritmi di crittografia specificati per impostazione predefinita durante la generazione di payload protetti.

UseCryptographicAlgorithms(IDataProtectionBuilder, AuthenticatedEncryptionSettings)

Configura il sistema di protezione dei dati per l'uso degli algoritmi di crittografia specificati per impostazione predefinita durante la generazione di payload protetti.

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

Parametri

settings
AuthenticatedEncryptionSettings

Informazioni sugli algoritmi di crittografia da usare.

Restituisce

Riferimento all'oggetto dopo il IDataProtectionBuilder completamento dell'operazione.

Si applica a

UseCryptographicAlgorithms(IDataProtectionBuilder, AuthenticatedEncryptorConfiguration)

Origine:
DataProtectionBuilderExtensions.cs
Origine:
DataProtectionBuilderExtensions.cs
Origine:
DataProtectionBuilderExtensions.cs
Origine:
DataProtectionBuilderExtensions.cs
Origine:
DataProtectionBuilderExtensions.cs
Origine:
DataProtectionBuilderExtensions.cs
Origine:
DataProtectionBuilderExtensions.cs

Configura il sistema di protezione dei dati per l'uso degli algoritmi di crittografia specificati per impostazione predefinita durante la generazione di payload protetti.

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

Parametri

configuration
AuthenticatedEncryptorConfiguration

Informazioni sugli algoritmi di crittografia da usare.

Restituisce

Riferimento all'oggetto dopo il IDataProtectionBuilder completamento dell'operazione.

Si applica a