Implementation of JWT, JWS, JWE and JWK