1PKI --PKCS7(1)                    strongSwan                    PKI --PKCS7(1)
2
3
4

NAME

6       pki --pkcs7 - Provides PKCS#7 wrap/unwrap functions
7

SYNOPSIS

9       pki --pkcs7 --sign|--verify|--encrypt|--decrypt|--show [--in file]
10                   [--cert file] [--key file] [--digest digest]
11                   [--rsa-padding padding] [--debug level]
12
13       pki --pkcs7 --options file
14
15       pki --pkcs7 -h | --help
16

DESCRIPTION

18       This  sub-command  of  pki(1)  provides functions to wrap/unwrap PKCS#7
19       containers.
20

OPTIONS

22       -h, --help
23              Print usage information with a summary of the available options.
24
25       -v, --debug level
26              Set debug level, default: 1.
27
28       -+, --options file
29              Read command line options from file.
30
31       -s, --sign
32              Create PKCS#7 signed-data.
33
34       -u, --verify
35              Verify PKCS#7 signed-data.
36
37       -e, --encrypt
38              Create PKCS#7 enveloped-data.
39
40       -e, --decrypt
41              Decrypt PKCS#7 enveloped-data.
42
43       -p, --show
44              Show information about PKCS#7 container, list certificates.
45
46       -i, --in file
47              PKCS#7 input file. If not given the input is read from STDIN.
48
49       -k, --key file
50              Private key used for --sign and --decrypt.
51
52       -c, --cert file
53              Certificate for --sign, --verify and  --encrypt.   Can  be  used
54              multiple times.
55
56       -g, --digest digest
57              Digest  to use for signature creation. One of md5, sha1, sha224,
58              sha256, sha384, or sha512.  The default is determined  based  on
59              the type and size of the signature key.
60
61       -R, --rsa-padding padding
62              Padding to use for RSA signatures. Either pkcs1 or pss, defaults
63              to pkcs1.
64

SEE ALSO

66       pki(1)
67
68
69
705.9.11                            2023-03-30                    PKI --PKCS7(1)
Impressum