Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

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
You can’t perform that action at this time.