-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes jwtk#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
- Loading branch information
1 parent
bf5d81c
commit 34aa334
Showing
18 changed files
with
984 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.