JSON Object Signing and Encryption library for C++.
Switch branches/tags
Clone or download
troian Use RVO for strings. Ref #14
Change-Id: Id31b7b3f3fe2e49a62813482179b990d8fc27820
Signed-off-by: Artur Troian <troian.ap@gmail.com>
Latest commit 460405f Jul 2, 2018

README.md

josepp

JSON Object Signing and Encryption library for C++

Codacy Badge Build Status

Dependencies:

Built and tested with:

  • GCC, C++11
  • MS VS2010

Supported features:

  • Sign
  • Verify

Supported algorithms

Alg Status
HS256 Supported
HS384 Supported
HS512 Supported
RS256 Supported
RS384 Supported
RS512 Supported
ES256 Supported
ES384 Supported
ES512 Supported

Claims

Claim Options Status
ess set,verify Supported
sub set,verify Supported
aud set,verify Supported
exp set,verify Supported
nbf set,verify Supported
iat set,verify Supported
jti set,verify Supported

How to use

Refer to tests dir

How to build/install

CMake sources deps

add_subdirectory()

System-wide installation

git clone https://github.com/troian/josepp
mkdir build && cd build
cmake -Wno-dev -DCMAKE_INSTALL_PREFIX=<install prefix> ..
make install

Homebrew

brew tap troian/tap
brew install josepp

TODO

  • Documentation
  • Examples
  • Tests

How to contribute

Just do it! :)