<PackageReference Include="Microsoft.Azure.KeyVault.Core" Version="2.0.3-preview" />

Microsoft.Azure.KeyVault.Core.IKey

public interface IKey : IDisposable

string DefaultKeyWrapAlgorithm { get; }

string DefaultSignatureAlgorithm { get; }

string Kid { get; }

Task<byte[]> DecryptAsync(byte[] ciphertext, byte[] iv, byte[] authenticationData, byte[] authenticationTag, string algorithm, CancellationToken token)

Task<Tuple<byte[], byte[], string>> EncryptAsync(byte[] plaintext, byte[] iv, byte[] authenticationData, string algorithm, CancellationToken token)

Task<Tuple<byte[], string>> SignAsync(byte[] digest, string algorithm, CancellationToken token)

Task<byte[]> UnwrapKeyAsync(byte[] encryptedKey, string algorithm, CancellationToken token)

Task<bool> VerifyAsync(byte[] digest, byte[] signature, string algorithm, CancellationToken token)

Task<Tuple<byte[], string>> WrapKeyAsync(byte[] key, string algorithm, CancellationToken token)