// client_interface.h
#pragma once
#include <string>
#include <vector>

namespace kd::client {

struct ClientConfig {
    std::string server_host;
    std::string server_port;
    std::vector<uint8_t> dek;
};

struct ClientResult {
    std::vector<uint8_t> dek_digest;
};

bool SendDekToServer(const ClientConfig& cfg,
                     ClientResult* out_result,
                     std::string* err_msg);

}  // namespace kd::client
