private void handleResponse(LogicalResponse resp) throws VaultException {
    int rc = resp.getRestResponse().getStatus();
    if (rc == 200 || rc == 204) {
      return;
    }
    throw new VaultException(
        String.format(
            "Operation failed with HTTP error code %d. Response body: %s",
            rc, new String(resp.getRestResponse().getBody())));
  }
A {@link Aead} that forwards encryption/decryption requests to a key in <a
href="https://www.vaultproject.io/">Hashicorp Vault</a>.
java_src/src/main/java/com/google/crypto/tink/integration/hcvault/HcVaultAead.java