ICryptoProvider Interface

Defines basic encryption and decryption services using Azure Key Vault

Definition

Namespace: InnerDrive.Azure
Assembly: InnerDrive.Azure (in InnerDrive.Azure.dll) Version: 5.2.9017.0
C#
public interface ICryptoProvider

Properties

KeyVaultUrl The URL of the Azure Key Vault to use
ThrowOnFailure If true, exceptions thrown during the normal course of operations will be re-thrown

Methods

DecryptAsync Decrypts data using a key stored in the IKeyProvider
EncryptAsync Encrypts data using a key stored in the IKeyProvider
SignAsync Signs a block of data with a key stored in the Azure Key Vault using either the RSA-512 or ES-256K algorithm as appropriate for the key.
VerifyAsync Verifies the signature on a block of data with a key stored in the Azure Key Vault using either the RSA-512 or ES-256K algorithm as appropriate for the key.

See Also