Поделиться через


CngGcmAuthenticatedEncryptorFactory.CreateEncryptorInstance(IKey) Метод

Определение

Создает экземпляр на IAuthenticatedEncryptor основе заданного Descriptorобъекта .

public:
 virtual Microsoft::AspNetCore::DataProtection::AuthenticatedEncryption::IAuthenticatedEncryptor ^ CreateEncryptorInstance(Microsoft::AspNetCore::DataProtection::KeyManagement::IKey ^ key);
public Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptor CreateEncryptorInstance (Microsoft.AspNetCore.DataProtection.KeyManagement.IKey key);
public Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptor? CreateEncryptorInstance (Microsoft.AspNetCore.DataProtection.KeyManagement.IKey key);
abstract member CreateEncryptorInstance : Microsoft.AspNetCore.DataProtection.KeyManagement.IKey -> Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptor
override this.CreateEncryptorInstance : Microsoft.AspNetCore.DataProtection.KeyManagement.IKey -> Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptor
Public Function CreateEncryptorInstance (key As IKey) As IAuthenticatedEncryptor

Параметры

key
IKey

Возвращаемое значение

Экземпляр IAuthenticatedEncryptor.

Реализации

Применяется к