ManagedAuthenticatedEncryptorConfiguration 类

定义

表示已配置的身份验证加密机制,该机制使用托管 SymmetricAlgorithmKeyedHashAlgorithm 类型。

public ref class ManagedAuthenticatedEncryptorConfiguration sealed
public ref class ManagedAuthenticatedEncryptorConfiguration sealed : Microsoft::AspNetCore::DataProtection::AuthenticatedEncryption::ConfigurationModel::AlgorithmConfiguration
public sealed class ManagedAuthenticatedEncryptorConfiguration
public sealed class ManagedAuthenticatedEncryptorConfiguration : Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AlgorithmConfiguration
type ManagedAuthenticatedEncryptorConfiguration = class
    interface IAuthenticatedEncryptorConfiguration
type ManagedAuthenticatedEncryptorConfiguration = class
    inherit AlgorithmConfiguration
Public NotInheritable Class ManagedAuthenticatedEncryptorConfiguration
Public NotInheritable Class ManagedAuthenticatedEncryptorConfiguration
Inherits AlgorithmConfiguration
继承
ManagedAuthenticatedEncryptorConfiguration
继承
ManagedAuthenticatedEncryptorConfiguration
实现

构造函数

ManagedAuthenticatedEncryptorConfiguration()

表示已配置的身份验证加密机制,该机制使用托管 SymmetricAlgorithmKeyedHashAlgorithm 类型。

ManagedAuthenticatedEncryptorConfiguration(ManagedAuthenticatedEncryptionSettings)

表示已配置的身份验证加密机制,该机制使用托管 SymmetricAlgorithmKeyedHashAlgorithm 类型。

ManagedAuthenticatedEncryptorConfiguration(ManagedAuthenticatedEncryptionSettings, IServiceProvider)

表示已配置的身份验证加密机制,该机制使用托管 SymmetricAlgorithmKeyedHashAlgorithm 类型。

属性

EncryptionAlgorithmKeySize

用于对称加密的密钥的长度 (位) 。 此属性必须具有值。

EncryptionAlgorithmType

用于对称加密的算法的类型。 类型必须子类 SymmetricAlgorithm。 此属性必须具有值。

Settings

表示已配置的身份验证加密机制,该机制使用托管 SymmetricAlgorithmKeyedHashAlgorithm 类型。

ValidationAlgorithmType

用于验证的算法的类型。 类型类型必须子类 KeyedHashAlgorithm。 此属性必须具有值。

方法

CreateNewDescriptor()

基于此配置创建新 IAuthenticatedEncryptorDescriptor 实例。 新创建的实例包含唯一的键材料,并且与 方法 CreateNewDescriptor() 创建的所有其他描述符不同。

适用于