JSON Object Signing and Encryption library for C++
- jsoncpp
- OpenSSL
- GCC, C++11
- MS VS2010
- Sign
- Verify
Alg | Status |
---|---|
HS256 | Supported |
HS384 | Supported |
HS512 | Supported |
RS256 | Supported |
RS384 | Supported |
RS512 | Supported |
ES256 | Supported |
ES384 | Supported |
ES512 | Supported |
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 |
Refer to tests dir
add_subdirectory()
git clone https://github.com/troian/josepp
mkdir build && cd build
cmake -Wno-dev -DCMAKE_INSTALL_PREFIX=<install prefix> ..
make install
brew tap troian/tap
brew install josepp
- Documentation
- Examples
- Tests
Just do it! :)