A C++ SDK for licensing and secure downloads
Add two files to your project, VaultixClient.h and VaultixClient.cpp, and your app can sign users in, check what they own and fetch what they paid for.
What it does
- Sign in with a license key or username and password, auto-login, session refresh
- Check products and subscriptions, read product status, news and variables
- Download files and folders to disk, to memory or as a stream
- Decrypt end-to-end encrypted downloads with your app’s SDK key
- Verify a local file against the stored hash
Hardened by default
- Checks the signature on every response from Vaultix
- Certificate pinning, OCSP checks and a minimum TLS version
- Signed requests with fresh nonces
- Approved-build checks: only your released executables are accepted
Requirements
C++ with libcurl for HTTP and OpenSSL for cryptography, on Windows and Linux. Anything else can use the REST API.
Vaultix::VaultixClient client("https://vaultix.cc/api");
client.SetApiKey("ap_your_app_key");
client.SetContentKey("vxk_your_sdk_key");
if (client.AuthenticateWithKey(licenseKey)) {
std::vector<uint8_t> build = client.DownloadFileToMemory(productId, "game.dll");
}
Questions
- Which platforms are supported?
- Windows and Linux. The SDK needs libcurl and OpenSSL.
- Is there an API for other languages?
- Yes. Everything the SDK does goes through the documented REST API.
C++ client SDK · Quick start · REST API
Vaultix · Features · Pricing · Documentation · Changelog · llms.txt