jose-jwe-fmt.1 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. .\" generated with Ronn/v0.7.3
  2. .\" http://github.com/rtomayko/ronn/tree/0.7.3
  3. .
  4. .TH "JOSE\-JWE\-FMT" "1" "May 2017" "" ""
  5. .
  6. .SH "NAME"
  7. \fBjose\-jwe\-fmt\fR \- Converts a JWE between serialization formats
  8. .
  9. .SH "SYNOPSIS"
  10. \fBjose jwe fmt\fR \-i JWE [\-I CT] [\-o JWE] [\-O CT] [\-c]
  11. .
  12. .SH "OVERVIEW"
  13. The \fBjose jwe fmt\fR command converts a JWE into alternative serialization formats\. For example, it can:
  14. .
  15. .IP "1." 4
  16. Attach ciphertext to a detached JWE\.
  17. .
  18. .IP "2." 4
  19. Detach ciphertext from a JWE\.
  20. .
  21. .IP "3." 4
  22. Convert JWE Compact Serialization to JWE JSON Serialization\.
  23. .
  24. .IP "4." 4
  25. Convert JWE JSON Serialization to JWE Compact Serialization\.
  26. .
  27. .IP "" 0
  28. .
  29. .SH "OPTIONS"
  30. .
  31. .TP
  32. \fB\-i\fR \fIJSON\fR, \fB\-\-input\fR=\fIJSON\fR
  33. Parse JWE from JSON
  34. .
  35. .TP
  36. \fB\-i\fR \fIFILE\fR, \fB\-\-input\fR=\fIFILE\fR
  37. Read JWE from FILE
  38. .
  39. .TP
  40. \fB\-i\fR \-, \fB\-\-input\fR=\-
  41. Read JWE from standard input
  42. .
  43. .TP
  44. \fB\-I\fR \fIFILE\fR, \fB\-\-detached\fR=\fIFILE\fR
  45. Read decoded ciphertext from FILE
  46. .
  47. .TP
  48. \fB\-I\fR \-, \fB\-\-detached\fR=\-
  49. Read decoded ciphertext from standard input
  50. .
  51. .TP
  52. \fB\-o\fR \fIFILE\fR, \fB\-\-output\fR=\fIFILE\fR
  53. Write JWE to FILE
  54. .
  55. .TP
  56. \fB\-o\fR \-, \fB\-\-output\fR=\-
  57. Write JWE to stdout (default)
  58. .
  59. .TP
  60. \fB\-O\fR \fIFILE\fR, \fB\-\-detach\fR=\fIFILE\fR
  61. Detach ciphertext and decode to FILE
  62. .
  63. .TP
  64. \fB\-O\fR \-, \fB\-\-detach\fR=\-
  65. Detach ciphertext and decode to standard output
  66. .
  67. .TP
  68. \fB\-c\fR, \fB\-\-compact\fR
  69. Output JWE using compact serialization
  70. .
  71. .SH "EXAMPLES"
  72. Attach ciphertext to a detached JWE and emit JWE Compact Serialization:
  73. .
  74. .IP "" 4
  75. .
  76. .nf
  77. $ jose jwe fmt \-i msg\.jwe \-I msg\.ct \-o compact\.jwe \-c
  78. .
  79. .fi
  80. .
  81. .IP "" 0
  82. .
  83. .P
  84. Detach ciphertext from a JWE:
  85. .
  86. .IP "" 4
  87. .
  88. .nf
  89. $ jose jwe fmt \-i msg\.jwe \-o detached\.jwe \-O detached\.ct
  90. .
  91. .fi
  92. .
  93. .IP "" 0
  94. .
  95. .SH "AUTHOR"
  96. Nathaniel McCallum <npmccallum@redhat\.com>
  97. .
  98. .SH "SEE ALSO"
  99. \fBjose\-jwe\-dec\fR(1), \fBjose\-jwe\-enc\fR(1)