X Tutup
Skip to content

Latest commit

 

History

History
110 lines (85 loc) · 5.71 KB

File metadata and controls

110 lines (85 loc) · 5.71 KB

Copyright (c) 2017 The Authors of 'JWTS for Java'

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Change Log

3.3.0 (2017-11-06)

Full Changelog Closed issues

  • Wrong ES256 signature length #187

Fixed

3.2.0 (2017-05-04)

Full Changelog Closed issues

  • Claim.isNull() returns true for JSON Object constructed claims #160
  • Incorrectly rejects whitespace after JSON header as invalid #144
  • No token type #136
  • Timestamps are limited by Integer/int to 2038-01-19T04:14:07.000+0100 #132

Added

Changed

Fixed

3.1.0 (2017-01-04)

Full Changelog

Added

3.0.2 (2016-12-13)

Full Changelog

Fixed

3.0.1 (2016-12-05)

Full Changelog

Update to allow sync with Maven Central

3.0.0 (2016-12-05)

Reimplemented java-jwt to improve API and include more signing algorithms

Installation

Maven

<dependency>
    <groupId>com.auth0</groupId>
    <artifactId>java-jwt</artifactId>
    <version>3.0.0</version>
</dependency>

Gradle

compile 'com.auth0:java-jwt:3.0.0'

Available Algorithms

The library implements JWT Verification and Signing using the following algorithms:

JWS Algorithm Description
HS256 HMAC256 HMAC with SHA-256
HS384 HMAC384 HMAC with SHA-384
HS512 HMAC512 HMAC with SHA-512
RS256 RSA256 RSASSA-PKCS1-v1_5 with SHA-256
RS384 RSA384 RSASSA-PKCS1-v1_5 with SHA-384
RS512 RSA512 RSASSA-PKCS1-v1_5 with SHA-512
ES256 ECDSA256 ECDSA with curve P-256 and SHA-256
ES384 ECDSA384 ECDSA with curve P-384 and SHA-384
ES512 ECDSA512 ECDSA with curve P-521 and SHA-512
X Tutup