jose-jws-fmt - Man Page

Converts a JWS between serialization formats

Synopsis

jose jws fmt -i JWS [-I PAY] [-o JWS] [-O PAY] [-c]

Overview

The jose jws fmt command converts a JWS into alternative serialization formats. For example, it can:

  1. Attach payload to a detached JWS.
  2. Detach payload from a JWS.
  3. Convert JWS Compact Serialization to JWS JSON Serialization.
  4. Convert JWS JSON Serialization to JWS Compact Serialization.

Options

Examples

Attach payload to a detached JWS and emit JWS Compact Serialization:

$ jose jws fmt -i msg.jws -I msg.txt -o compact.jws -c

Detach payload from a JWS:

$ jose jws fmt -i msg.jws -o detached.jws -O msg.txt

Author

Nathaniel McCallum <npmccallum@redhat.com>

See Also

jose-jws-sig(1), jose-jws-ver(1)

Referenced By

jose(1), jose-jws-ver(1).

07/18/2024