CngGcmAuthenticatedEncryptorConfiguration.CreateNewDescriptor 方法

定义

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

public:
 virtual Microsoft::AspNetCore::DataProtection::AuthenticatedEncryption::ConfigurationModel::IAuthenticatedEncryptorDescriptor ^ CreateNewDescriptor();
public:
 override Microsoft::AspNetCore::DataProtection::AuthenticatedEncryption::ConfigurationModel::IAuthenticatedEncryptorDescriptor ^ CreateNewDescriptor();
public Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptor CreateNewDescriptor ();
public override Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptor CreateNewDescriptor ();
abstract member CreateNewDescriptor : unit -> Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptor
override this.CreateNewDescriptor : unit -> Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptor
override this.CreateNewDescriptor : unit -> Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptor
Public Function CreateNewDescriptor () As IAuthenticatedEncryptorDescriptor
Public Overrides Function CreateNewDescriptor () As IAuthenticatedEncryptorDescriptor

返回

IAuthenticatedEncryptorDescriptor一的 。

实现

适用于