Share via


IAuthenticatedEncryptorConfiguration.CreateNewDescriptor Method

Definition

Creates a new IAuthenticatedEncryptorDescriptor instance based on this configuration. The newly-created instance contains unique key material and is distinct from all other descriptors created by the CreateNewDescriptor() method.

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

Returns

A unique IAuthenticatedEncryptorDescriptor.

Applies to