DataProtectionBuilderExtensions.UseCryptographicAlgorithms Метод

Определение

Перегрузки

UseCryptographicAlgorithms(IDataProtectionBuilder, AuthenticatedEncryptionSettings)

Настраивает систему защиты данных для использования указанных алгоритмов шифрования по умолчанию при создании защищенных полезных данных.

UseCryptographicAlgorithms(IDataProtectionBuilder, AuthenticatedEncryptorConfiguration)

Настраивает систему защиты данных для использования указанных алгоритмов шифрования по умолчанию при создании защищенных полезных данных.

UseCryptographicAlgorithms(IDataProtectionBuilder, AuthenticatedEncryptionSettings)

Настраивает систему защиты данных для использования указанных алгоритмов шифрования по умолчанию при создании защищенных полезных данных.

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

Параметры

settings
AuthenticatedEncryptionSettings

Сведения о том, какие алгоритмы шифрования следует использовать.

Возвращаемое значение

Ссылка на IDataProtectionBuilder после завершения этой операции.

Применяется к

UseCryptographicAlgorithms(IDataProtectionBuilder, AuthenticatedEncryptorConfiguration)

Настраивает систему защиты данных для использования указанных алгоритмов шифрования по умолчанию при создании защищенных полезных данных.

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

Параметры

configuration
AuthenticatedEncryptorConfiguration

Сведения о том, какие алгоритмы шифрования следует использовать.

Возвращаемое значение

Ссылка на IDataProtectionBuilder после завершения этой операции.

Применяется к