IKey.CreateEncryptorInstance Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates an IAuthenticatedEncryptor instance that can be used to encrypt data to and decrypt data from this key.
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
Returns
An IAuthenticatedEncryptor.