Compartilhar via


AuthenticatedEncryptorFactory.CreateEncryptorInstance(IKey) Método

Definição

Cria uma IAuthenticatedEncryptor instância com base no determinado 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

Parâmetros

key
IKey

Retornos

Uma instância IAuthenticatedEncryptor.

Implementações

Aplica-se a