public Task <byte[]> DecryptAsync(byte[] ciphertext, byte[] iv, byte[] authenticationData, byte[] authenticationTag, string algorithm = null, CancellationToken token = default(CancellationToken)) { if (_implementation == null) { throw new ObjectDisposedException("KeyVaultKey"); } if (string.IsNullOrWhiteSpace(algorithm)) { algorithm = DefaultEncryptionAlgorithm; } // Never local return(_client.DecryptAsync(_implementation.Kid, algorithm, ciphertext, token) .ContinueWith(result => result.Result.Result, token)); }