Jose4j library compatibility with Java 6

We are considering adopting a library for creating and using JSON Web Tokens. Jose4j seems like a good choice, but the Dependencies library says that "... Jose4j is compiled with / for Java 7 and will also run on Java 8 ..." and our current installation is done on Java 6 (switching to higher versions out of our reach), so our question is simple.

Is there any chance to integrate Jose4j with Java 6? (not at all with some restrictions, it can be achieved in any way by adding some specific libraries, etc.)

Thank you in advance

+4
source share
2 answers

jose4j Java 6 () , .

, , , Java 6 - https://bitbucket.org/yosef_kitrossky/jose4j-jdk1.6/commits/all , , https://bitbucket.org/ijazfx/jose4j/commits/all

, , , . , try-with-, pre Java 7. , . , . , , AES-GCM , , .

Jurisdiction JCE Unlimited Strength, AES, 128 http://www.oracle.com/technetwork/java/javase/downloads/jce-6-download-429243.html

, . , , Java .

+2

Nimbus JOSE + JWT Java 6 4.11.1.

classifier :

<dependency>
    <groupId>com.nimbusds</groupId>
    <artifactId>nimbus-jose-jwt</artifactId>
    <classifier>jdk16</classifier>
    <version>[ version ]</version>
</dependency>

.

0

Source: https://habr.com/ru/post/1613647/


All Articles