mirror of https://github.com/jwtk/jjwt.git
34aa33421f
Closes #515 [RFC 7797)(https://www.rfc-editor.org/rfc/rfc7797.html) support. JwsHeader: - Added new JwtHeader#isPayloadEncoded() to check for `b64` in crit values and as parameter value. JwtBuilder: - Added new #content(String) method for non-detached unencoded payloads - Added new #encodePayload(boolean) method to disable payload Base64URL-encoding JwtParserBuilder: - Added new #critical(String) convenience method to append to the crit set JwtParser: - Added new #parseContentJws(String, byte[]) method to allow supplying detached payloads for signature verification at parse time - Added new #parseClaimsJws(String, byte[]) method to allow supplying detached serialized JSON claims for signature verification at parse time - Added all backing implementations and test cases to 100% coverage - Added RFC7797Test class for bulk of this RFC's tests so they don't get 'lost' in the already-too-large JwtsTest class - README.md documentation added in JWS section - CHANGELOG.md updated |
||
---|---|---|
.. | ||
src | ||
bnd.bnd | ||
pom.xml |