jsonwebkey-rs-repaired/jsonwebkey-cli
2020-07-25 12:21:37 +09:00
..
src initial commit 2020-07-25 11:25:20 +09:00
Cargo.toml add README and LICENSE 2020-07-25 12:21:37 +09:00
README.md add README and LICENSE 2020-07-25 12:21:37 +09:00

jsonwebkey-cli

Convert an RSA public key between Json Web Key and DER/PEM format.

Usage

Json Web Key CLI 0.1.0
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