DataProtectionBuilderExtensions.UseCustomCryptographicAlgorithms Метод

Определение

Перегрузки

UseCustomCryptographicAlgorithms(IDataProtectionBuilder, ManagedAuthenticatedEncryptionSettings)

Настраивает систему защиты данных для использования пользовательских алгоритмов. Этот API предназначен для сложных сценариев, в которых разработчик не может использовать алгоритмы, указанные в перечислениях EncryptionAlgorithm и ValidationAlgorithm .

UseCustomCryptographicAlgorithms(IDataProtectionBuilder, CngCbcAuthenticatedEncryptionSettings)

Настраивает систему защиты данных для использования пользовательских алгоритмов CNG Windows. Этот API предназначен для сложных сценариев, в которых разработчик не может использовать алгоритмы, указанные в перечислениях EncryptionAlgorithm и ValidationAlgorithm .

UseCustomCryptographicAlgorithms(IDataProtectionBuilder, CngGcmAuthenticatedEncryptionSettings)

Настраивает систему защиты данных для использования пользовательских алгоритмов CNG Windows. Этот API предназначен для сложных сценариев, в которых разработчик не может использовать алгоритмы, указанные в перечислениях EncryptionAlgorithm и ValidationAlgorithm .

UseCustomCryptographicAlgorithms(IDataProtectionBuilder, CngCbcAuthenticatedEncryptorConfiguration)

Настраивает систему защиты данных для использования пользовательских алгоритмов CNG Windows. Этот API предназначен для сложных сценариев, в которых разработчик не может использовать алгоритмы, указанные в перечислениях EncryptionAlgorithm и ValidationAlgorithm .

UseCustomCryptographicAlgorithms(IDataProtectionBuilder, CngGcmAuthenticatedEncryptorConfiguration)

Настраивает систему защиты данных для использования пользовательских алгоритмов CNG Windows. Этот API предназначен для сложных сценариев, в которых разработчик не может использовать алгоритмы, указанные в перечислениях EncryptionAlgorithm и ValidationAlgorithm .

UseCustomCryptographicAlgorithms(IDataProtectionBuilder, ManagedAuthenticatedEncryptorConfiguration)

Настраивает систему защиты данных для использования пользовательских алгоритмов. Этот API предназначен для сложных сценариев, в которых разработчик не может использовать алгоритмы, указанные в перечислениях EncryptionAlgorithm и ValidationAlgorithm .

UseCustomCryptographicAlgorithms(IDataProtectionBuilder, ManagedAuthenticatedEncryptionSettings)

Настраивает систему защиты данных для использования пользовательских алгоритмов. Этот API предназначен для сложных сценариев, в которых разработчик не может использовать алгоритмы, указанные в перечислениях EncryptionAlgorithm и 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

Параметры

settings
ManagedAuthenticatedEncryptionSettings

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

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

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

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

UseCustomCryptographicAlgorithms(IDataProtectionBuilder, CngCbcAuthenticatedEncryptionSettings)

Настраивает систему защиты данных для использования пользовательских алгоритмов CNG Windows. Этот API предназначен для сложных сценариев, в которых разработчик не может использовать алгоритмы, указанные в перечислениях EncryptionAlgorithm и 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

Параметры

settings
CngCbcAuthenticatedEncryptionSettings

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

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

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

Комментарии

Этот API доступен только в Windows.

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

UseCustomCryptographicAlgorithms(IDataProtectionBuilder, CngGcmAuthenticatedEncryptionSettings)

Настраивает систему защиты данных для использования пользовательских алгоритмов CNG Windows. Этот API предназначен для сложных сценариев, в которых разработчик не может использовать алгоритмы, указанные в перечислениях EncryptionAlgorithm и 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

Параметры

settings
CngGcmAuthenticatedEncryptionSettings

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

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

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

Комментарии

Этот API доступен только в Windows.

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

UseCustomCryptographicAlgorithms(IDataProtectionBuilder, CngCbcAuthenticatedEncryptorConfiguration)

Настраивает систему защиты данных для использования пользовательских алгоритмов CNG Windows. Этот API предназначен для сложных сценариев, в которых разработчик не может использовать алгоритмы, указанные в перечислениях EncryptionAlgorithm и 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

Параметры

configuration
CngCbcAuthenticatedEncryptorConfiguration

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

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

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

Комментарии

Этот API доступен только в Windows.

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

UseCustomCryptographicAlgorithms(IDataProtectionBuilder, CngGcmAuthenticatedEncryptorConfiguration)

Настраивает систему защиты данных для использования пользовательских алгоритмов CNG Windows. Этот API предназначен для сложных сценариев, в которых разработчик не может использовать алгоритмы, указанные в перечислениях EncryptionAlgorithm и 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

Параметры

configuration
CngGcmAuthenticatedEncryptorConfiguration

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

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

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

Комментарии

Этот API доступен только в Windows.

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

UseCustomCryptographicAlgorithms(IDataProtectionBuilder, ManagedAuthenticatedEncryptorConfiguration)

Настраивает систему защиты данных для использования пользовательских алгоритмов. Этот API предназначен для сложных сценариев, в которых разработчик не может использовать алгоритмы, указанные в перечислениях EncryptionAlgorithm и 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

Параметры

configuration
ManagedAuthenticatedEncryptorConfiguration

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

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

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

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