File: jose-util.txt

package info (click to toggle)
golang-github-go-jose-go-jose 4.0.5-1~bpo12%2B1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm-backports
  • size: 1,064 kB
  • sloc: makefile: 9
file content (51 lines) | stat: -rw-r--r-- 2,134 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
NAME
 jose-util - A command-line utility for dealing with JOSE objects

SYNOPSIS
 jose-util  [<flags>] <command> [<args> ...]

DESCRIPTION
 go-jose aims to provide an implementation of the Javascript Object
 Signing and Encryption set of standards. This includes support for JSON
 Web Encryption, JSON Web Signature, and JSON Web Token standards.
 
OPTIONS
 --help     Show context-sensitive help (also try --help-long and --help-man).
 --key=KEY  Path to key file (if applicable, PEM, DER or JWK format)
 --in=IN    Path to input file (if applicable, stdin if missing)
 --out=OUT  Path to output file (if applicable, stdout if missing)
 --version  Show application version.
 encrypt    
            --alg=ALG --enc=ENC [<flags>]
            Encrypt a plaintext, output ciphertext
 --alg=ALG  Key management algorithm (e.g. RSA-OAEP)
 --enc=ENC  Content encryption algorithm (e.g. A128GCM)
 --full     Use JSON Serialization format (instead of compact)
 decrypt    
            Decrypt a ciphertext, output plaintext
 sign       
            --alg=ALG [<flags>]
            Sign a payload, output signed message
 --alg=ALG  Key management algorithm (e.g. RSA-OAEP)
 --full     Use JSON Serialization format (instead of compact)
 verify     
            Verify a signed message, output payload
 expand     [<flags>]
            Expand JOSE object to JSON Serialization format
 --format=FORMAT  Type of message to expand (JWS or JWE, defaults to JWE)
 b64decode  
            Decode a base64-encoded payload (auto-selects standard/url-safe)
 generate-key 
            --use=USE --alg=ALG [<flags>]
            Generate a public/private key pair in JWK format
 --use=USE  Desired public key usage (use header), one of [enc sig]
 --alg=ALG  Desired key pair algorithm (alg header)
 --size=SIZE  Key size in bits (e.g. 2048 if generating an RSA key)
 --kid=KID  Optional Key ID (kid header, generate random kid if not set)

REPORTING BUGS
 To report a bug please visit riscemu issues tracking system at:
 https://github.com/go-jose/go-jose/issues

AUTHORS
 This manual page was written by Bo YU <tsu.yubo@gmail.com> for the Debian project