json-web-key-generator

Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/

Категории

Категории

KeY Данные Data Formats Formal Verification JSON
Группа

Группа

org.mitre
Идентификатор

Идентификатор

json-web-key-generator
Последняя версия

Последняя версия

0.8.2
Дата

Дата

Тип

Тип

jar
Описание

Описание

json-web-key-generator
Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/
Ссылка на сайт

Ссылка на сайт

http://maven.apache.org
Система контроля версий

Система контроля версий

https://github.com/mitreid-connect/json-web-key-generator.git

Скачать json-web-key-generator

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.mitre/json-web-key-generator/ -->
<dependency>
    <groupId>org.mitre</groupId>
    <artifactId>json-web-key-generator</artifactId>
    <version>0.8.2</version>
</dependency>
// https://jarcasting.com/artifacts/org.mitre/json-web-key-generator/
implementation 'org.mitre:json-web-key-generator:0.8.2'
// https://jarcasting.com/artifacts/org.mitre/json-web-key-generator/
implementation ("org.mitre:json-web-key-generator:0.8.2")
'org.mitre:json-web-key-generator:jar:0.8.2'
<dependency org="org.mitre" name="json-web-key-generator" rev="0.8.2">
  <artifact name="json-web-key-generator" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.mitre', module='json-web-key-generator', version='0.8.2')
)
libraryDependencies += "org.mitre" % "json-web-key-generator" % "0.8.2"
[org.mitre/json-web-key-generator "0.8.2"]

Зависимости

compile (6)

Идентификатор библиотеки Тип Версия
com.nimbusds : nimbus-jose-jwt jar 8.19
commons-cli : commons-cli jar 1.4
com.google.guava : guava jar 18.0
com.google.code.gson : gson jar 2.8.6
org.bouncycastle : bcprov-jdk15on jar 1.66
org.bouncycastle : bcpkix-jdk15on jar 1.66

test (1)

Идентификатор библиотеки Тип Версия
junit : junit jar 3.8.1

Модули Проекта

Данный проект не имеет модулей.

json-web-key-generator

A commandline Java-based generator for JSON Web Keys (JWK) and JSON Private/Shared Keys (JPSKs).

=====================

To compile, run mvn package. This will generate a json-web-key-generator-0.9-SNAPSHOT-jar-with-dependencies.jar in the /target directory.

To generate a key, run java -jar target/json-web-key-generator-0.9-SNAPSHOT-jar-with-dependencies.jar -t <keytype>. Several other arguments are defined which may be required depending on your key type:

usage: java -jar json-web-key-generator.jar -t <keyType> [options]
 -t,--type <arg>           Key Type, one of: RSA, oct, EC, OKP
 -s,--size <arg>           Key Size in bits, required for RSA and oct key
                           types. Must be an integer divisible by 8
 -c,--curve <arg>          Key Curve, required for EC or OKP key type.
                           Must be one of P-256, secp256k1, P-384, P-521
                           for EC keys or one of Ed25519, Ed448, X25519,
                           X448 for OKP keys.
 -u,--usage <arg>          Usage, one of: enc, sig (optional)
 -a,--algorithm <arg>      Algorithm (optional)
 -i,--id <arg>             Key ID (optional), one will be generated if not
                           defined
 -g,--idGenerator <arg>    Key ID generation method (optional). Can be one
                           of: date, timestamp, sha256, sha1, none. If
                           omitted, generator method defaults to
                           'timestamp'.
 -I,--noGenerateId         <deprecated> Don't generate a Key ID.
                           (Deprecated, use '-g none' instead.)
 -p,--showPubKey           Display public key separately (if applicable)
 -S,--keySet               Wrap the generated key in a KeySet
 -o,--output <arg>         Write output to file. Will append to existing
                           KeySet if -S is used. Key material will not be
                           displayed to console.
 -P,--pubKeyOutput <arg>   Write public key to separate file. Will append
                           to existing KeySet if -S is used. Key material
                           will not be displayed to console. '-o/--output'
                           must be declared as well.
 -x,--x509                 Display keys in X509 PEM format
org.mitre

MITREid Connect

Open source reference implementation of OpenID Connect and OAuth 2.0 from the MITRE Corporation and MIT Internet Trust Consortium (ITC).

Версии библиотеки

Версия
0.8.2
0.8.1
0.8
0.7
0.6.1
0.6
0.5
0.4
0.2
0.1