Language SDKs · C++

The C++ SDK

A thin async-first C++ client for the crypto-server REST API, published as crypto_service_sdk.

What it is

A thin, async-first client for the crypto-server REST API. It does no cryptography of its own: every operation is an HTTP call to a crypto-server instance you run, and the server does the work with crypto-lib. You need a reachable crypto-server and its API key or JWT.

All six language SDKs were first released with suite version 0.0.40 and follow the suite version. They are separate from the 18 TypeScript npm packages; in TypeScript, use @sebastienrousseau/crypto-sdk instead.

Install

Package: crypto_service_sdk on GitHub release (CMake package).

The C++ SDK is published only as a GitHub release, not to a package registry. Download the v0.0.40 source archive from the releases page, then build and install it with CMake:

cmake -S crypto-service-sdk-cpp-0.0.40 -B build
cmake --build build
cmake --install build

Your project then finds it as the CMake package crypto_service_sdk:

find_package(crypto_service_sdk 0.0.40 REQUIRED)

Usage

This site does not reproduce the SDK's API. For client construction, authentication and the available calls, see the SDK README; for the endpoints themselves, see crypto-server's OpenAPI document, which the server publishes at /docs unless DOCS_ENABLED=0.