Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

olehlong/jwtd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jwtd

D implementation of JSON Web Token.

Supported algorithms

OpenSSL

  • NONE
  • HS256
  • HS384
  • HS512
  • RS256
  • RS384
  • RS512
  • ES256
  • ES384
  • ES512
  • 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