Share via


CngGcmAuthenticatedEncryptorConfiguration.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:
 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

Returns

A unique IAuthenticatedEncryptorDescriptor.

Implements

Applies to