Compartilhar via


IKey.CreateEncryptorInstance Método

Definição

Cria uma instância IAuthenticatedEncryptor que pode ser usada para criptografar dados e descriptografar dados dessa chave.

public:
 Microsoft::AspNetCore::DataProtection::AuthenticatedEncryption::IAuthenticatedEncryptor ^ CreateEncryptorInstance();
public Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptor CreateEncryptorInstance ();
abstract member CreateEncryptorInstance : unit -> Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptor
Public Function CreateEncryptorInstance () As IAuthenticatedEncryptor

Retornos

Um IAuthenticatedEncryptor.

Aplica-se a