Description

D implementation of JSON Web Token.

Package Information

Version0.4.1 (2016-Apr-03)
Repositoryhttps://github.com/olehlong/jwtd
LicenseMIT
AuthorsOleh Havrys, Sergey Buth, Tomáš Chaloupka
Registered byOleh Havrys
Dependenciesnone

Installation

To use this package, put the following dependency into your project's dependencies section:

dub.json
dub.sdl

Readme

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

Available versions

0.4.1 0.4.0 0.3.8 0.3.7 0.3.6 0.3.5 0.3.4 0.3.3 0.3.2 0.3.1 0.3.0 0.2.1 0.2.0 ~master