AuthenticatedEncryptorDescriptor 类

定义

一个描述符,可根据 对象提供的 AuthenticatedEncryptorConfiguration 配置创建经过身份验证的加密系统。

public ref class AuthenticatedEncryptorDescriptor sealed : Microsoft::AspNetCore::DataProtection::AuthenticatedEncryption::ConfigurationModel::IAuthenticatedEncryptorDescriptor
public sealed class AuthenticatedEncryptorDescriptor : Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptor
type AuthenticatedEncryptorDescriptor = class
    interface IAuthenticatedEncryptorDescriptor
Public NotInheritable Class AuthenticatedEncryptorDescriptor
Implements IAuthenticatedEncryptorDescriptor
继承
AuthenticatedEncryptorDescriptor
实现

构造函数

AuthenticatedEncryptorDescriptor(AuthenticatedEncryptionSettings, ISecret)

一个描述符,可根据 对象提供的 AuthenticatedEncryptorConfiguration 配置创建经过身份验证的加密系统。

AuthenticatedEncryptorDescriptor(AuthenticatedEncryptionSettings, ISecret, IServiceProvider)

一个描述符,可根据 对象提供的 AuthenticatedEncryptorConfiguration 配置创建经过身份验证的加密系统。

AuthenticatedEncryptorDescriptor(AuthenticatedEncryptorConfiguration, ISecret)

初始化 AuthenticatedEncryptorDescriptor 的新实例。

方法

CreateEncryptorInstance()

一个描述符,可根据 对象提供的 AuthenticatedEncryptorConfiguration 配置创建经过身份验证的加密系统。

ExportToXml()

将当前描述符导出为 XML。

适用于