public Task <Tuple <byte[], byte[], string> > EncryptAsync(byte[] plaintext, byte[] iv, byte[] authenticationData, string algorithm = null, CancellationToken token = default(CancellationToken)) { if (_implementation == null) { throw new ObjectDisposedException("KeyVaultKey"); } return(_implementation.EncryptAsync(plaintext, iv, authenticationData, algorithm, token)); }
public Task <Tuple <byte[], byte[], string> > EncryptAsync(byte[] plaintext, byte[] iv, byte[] authenticationData = null, string algorithm = null, CancellationToken token = default(CancellationToken)) { return(_key.EncryptAsync(plaintext, iv, authenticationData, algorithm, token)); }