D implementation of JSON Web Token.
D
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
source
.gitignore Add plain phobos variant Apr 2, 2016
LICENSE
README.md
dub.json

README.md

jwtd

D implementation of JSON Web Token.

Supported algorithms

OpenSSL

  • NONE
  • HS256
  • HS384
  • HS512
  • RS256
  • RS384
  • RS512
  • ES256
  • ES384
  • ES512

Botan

  • NONE
  • HS256
  • HS384
  • HS512
  • RS256
  • RS384
  • RS512
  • ES256
  • ES384
  • ES512

NOTE - Botan supports private keys just in PKCS#8 format (for RS and ES signatures)

Phobos

  • NONE
  • HS256
  • HS384
  • HS512

Installation

See DUB page.

Building

Using OpenSSL

dub build --config=openssl

Using Botan

dub build --config=botan

Using Phobos

dub build --config=phobos

Testing

Using OpenSSL

dub test --config=unittest-openssl

Using Botan

dub test --config=unittest-botan

Using Phobos

dub test --config=unittest-phobos