1. Support for JSON serialisation
JSON objects can be serialised (encoded) in two ways:
Compact encoding -- the most widely used encoding, saves space, is URL safe, and is used by JWTs.
JSON encoding -- less frequently required, permits multiple signatures.
2. JWT annotations
Annotations would be good to have. For example, a
@JWTClaim annotation to
turn a Java object into a JWT claims set.
3. Benchmark suite
Create a benchmark suite to test the relative performance of the supported JWS and JWE algorithms.