-
ClassDescriptionas of 0.3.7 please use JsonUtilin draft -26 of the JWT spec the name changed from IntDate to NumericDate. Consistent with that change there is a new NumericDate class, which is similar to this.please use CompactSerializer This class was added back in as of 0.3.7 to help support code compiled against pre v0.3.0 that was using it directly.this wasn't a good abstraction...
-
FieldDescriptiontyp went away as a claim name as of jwt draft -12 - it's only a header parameter name
-
MethodDescription1.5 Use
Base64.isBase64(byte[])
, will be removed in 2.0.this method may throw anError
instead of returningnull
; please useJSONValue.parseWithException(Reader)
insteadthis method may throw anError
instead of returningnull
; please useJSONValue.parseWithException(String)
insteadplease use JsonUtilplease use JsonUtildeprecated in favorJsonWebKey.getKey()
orPublicJsonWebKey.getPublicKey()
as of 0.3.2 useJsonWebKey.toJson(org.jose4j.jwk.JsonWebKey.OutputControlLevel)
deprecated in favor of the more consistently namedRsaJsonWebKey.getRsaPublicKey()
please use CompactSerializerplease use CompactSerializerreplaced byJsonWebStructure.getHeaders()
andHeaders.getFullHeaderAsJsonString()
use ByteUtil.randomBytes(...)
-
Enum ConstantDescriptionin favor of more inclusive terminology. Use
AlgorithmConstraints.ConstraintType.BLOCK
instead.in favor of more inclusive terminology. UseAlgorithmConstraints.ConstraintType.PERMIT
instead.