2020-07-25 12:21:37 +09:00
|
|
|
# jsonwebkey-cli
|
|
|
|
|
Convert an RSA public key between Json Web Key and DER/PEM format.
|
|
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
|
|
```
|
2021-01-03 15:12:56 +09:00
|
|
|
Json Web Key CLI 0.1.1
|
2020-07-25 12:21:37 +09:00
|
|
|
Okamura Yasunobu <okamura@informationsea.info>
|
|
|
|
|
Convert an RSA public key between Json Web Key and DER/PEM format
|
|
|
|
|
|
|
|
|
|
USAGE:
|
|
|
|
|
jsonwebkey-cli <SUBCOMMAND>
|
|
|
|
|
|
|
|
|
|
FLAGS:
|
|
|
|
|
-h, --help Prints help information
|
|
|
|
|
-V, --version Prints version information
|
|
|
|
|
|
|
|
|
|
SUBCOMMANDS:
|
|
|
|
|
help Prints this message or the help of the given subcommand(s)
|
|
|
|
|
jwk-to-pem
|
|
|
|
|
pem-to-jwk
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
jsonwebkey-cli-jwk-to-pem
|
|
|
|
|
|
|
|
|
|
USAGE:
|
|
|
|
|
jsonwebkey-cli jwk-to-pem <jwk> --output <output>
|
|
|
|
|
|
|
|
|
|
FLAGS:
|
|
|
|
|
-h, --help Prints help information
|
|
|
|
|
-V, --version Prints version information
|
|
|
|
|
|
|
|
|
|
OPTIONS:
|
|
|
|
|
-o, --output <output> [OUTPUT] PEM output
|
|
|
|
|
|
|
|
|
|
ARGS:
|
|
|
|
|
<jwk> [INPUT] Json Web Key file
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
jsonwebkey-cli-pem-to-jwk
|
|
|
|
|
|
|
|
|
|
USAGE:
|
|
|
|
|
jsonwebkey-cli pem-to-jwk [OPTIONS] <pem> --output <output>
|
|
|
|
|
|
|
|
|
|
FLAGS:
|
|
|
|
|
-h, --help Prints help information
|
|
|
|
|
-V, --version Prints version information
|
|
|
|
|
|
|
|
|
|
OPTIONS:
|
|
|
|
|
-k, --kid <kid> [OPTION] kid entry in JWK
|
|
|
|
|
-o, --output <output> [OUTPUT] json web key output
|
|
|
|
|
-u, --use <use> [OPTION] use entry in JWK
|
|
|
|
|
|
|
|
|
|
ARGS:
|
|
|
|
|
<pem> [INPUT] PEM file
|
|
|
|
|
|
|
|
|
|
```
|