GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - prokop-dev/jca-jwt: Java JCA JWT library

BranchesTags
Open more actions menu

Latest commit

 

History

35 Commits
35 Commits

Folders and files

NameName
Last commit message
Last commit date
src
src
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
pom.xml
pom.xml
 
 

Repository files navigation

Java Compact JWT (JSON Web Token) library

Clean room implementation of JWT ecosystem for Java and Android:

  • RFC 7515 - JSON Web Signature (JWS)
  • RFC 7516 - JSON Web Encryption (JWE)
  • RFC 7517 - JSON Web Key (JWK)
  • RFC 7518 - JSON Web Algorithms (JWA)
  • RFC 7519 - JSON Web Token (JWT)
  • RFC 7520 - Examples of Protecting Content Using JSON Object Signing and Encryption (JOSE)

I wrote that library to faciliatte work with JWT (JTS and JWE) structures. Primary reason was that I was not fully none of the libraries I was able to find and wanted the following features:

  • Maximum compatibility with Java JCA and standard Java classpath API. For example JWK constructed with this library must be JCA class and must be usable with Java crypto.
  • Minimalism, ...

Usage

Use the following Maven Central coordinates:

<dependency>
    <groupId>dev.prokop</groupId>
    <artifactId>jca-jwt</artifactId>
    <version>0.0.1</version>
</dependency>

This library is written with "zero transitive dependencies" in mind. It will not create classpath problems.

Sample use

JWK

To use JWT (signed JWS or encrypted JWE) one must have cryptographic keys. Here is where dev.prokop.jwt.Jwk interface comes handy.

Technical notes for myself

Release:

mvn clean deploy
git tag -s v0.0.1 -m 'Maven Central 0.0.1'
git push --tags

About

Java JCA JWT library

Resources

Readme
MIT license
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.