Skip to content
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.

Commit

Permalink
Explain alg and enc flags
Browse files Browse the repository at this point in the history
  • Loading branch information
csstaub committed May 8, 2015
1 parent a901eb7 commit 676262c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions jose-util/README.md
Expand Up @@ -9,6 +9,12 @@ with JWE/JWS messages when testing or debugging.
The utility includes the subcommands `encrypt`, `decrypt`, `sign`, `verify` and
`expand`. Examples for each command can be found below.

Algorithms are selected via the `--alg` and `--enc` flags, which influence the
`alg` and `enc` headers in JWE/JWS messages respectively. For JWE, `--alg`
specified the key managment algorithm (e.g. RSA-OAEP) and `--enc` specifies the
content encryption (e.g. A128GCM). For JWS, `--alg` specified the signature
algorithm (e.g. `PS256`).

Input and output files can be specified via the `--in` and `--out` flags.
Either flag can be omitted, in which case `jose-util` uses stdin/stdout for
input/output respectively. By default each command will output a compact
Expand Down

0 comments on commit 676262c

Please sign in to comment.