jjwt v0.5 Release Notes
-
๐ Android support! Android's built-in Base64 codec will be used if JJWT detects it is running in an Android environment. Other than Base64, all other parts of JJWT were already Android-compliant. Now it is fully compliant.
๐ Elliptic Curve signature algorithms!
SignatureAlgorithm.ES256
,ES384
andES512
are now supported.Super convenient key generation methods, so you don't have to worry how to do this safely:
MacProvider.generateKey(); //or generateKey(SignatureAlgorithm)
RsaProvider.generateKeyPair(); //or generateKeyPair(sizeInBits)
EllipticCurveProvider.generateKeyPair(); //or generateKeyPair(SignatureAlgorithm)
The
generate
* methods that accept anSignatureAlgorithm
argument know to generate a key of sufficient strength that reflects the specified algorithm strength.๐ Please see the full 0.5 closed issues list for more information.