summaryrefslogtreecommitdiff
path: root/src/pki/man/pki---pkcs7.1.in
blob: 38186cf709ac117a977b4dd6b7d953ef747a0152 (plain)
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
.TH "PKI \-\-PKCS7" 1 "2013-07-31" "@PACKAGE_VERSION@" "strongSwan"
.
.SH "NAME"
.
pki \-\-pkcs7 \- Provides PKCS#7 wrap/unwrap functions
.
.SH "SYNOPSIS"
.
.SY pki\ \-\-pkcs7
.BR \-\-sign | \-\-verify | \-\-encrypt | \-\-decrypt | \-\-show
.OP \-\-in file
.OP \-\-cert file
.OP \-\-key file
.OP \-\-debug level
.YS
.
.SY pki\ \-\-pkcs7
.BI \-\-options\~ file
.YS
.
.SY "pki \-\-pkcs7"
.B \-h
|
.B \-\-help
.YS
.
.SH "DESCRIPTION"
.
This sub-command of
.BR pki (1)
provides functions to wrap/unwrap PKCS#7 containers.
.
.SH "OPTIONS"
.
.TP
.B "\-h, \-\-help"
Print usage information with a summary of the available options.
.TP
.BI "\-v, \-\-debug " level
Set debug level, default: 1.
.TP
.BI "\-+, \-\-options " file
Read command line options from \fIfile\fR.
.TP
.BI "\-s, \-\-sign"
Create PKCS#7 signed-data.
.TP
.BI "\-u, \-\-verify"
Verify PKCS#7 signed-data.
.TP
.BI "\-e, \-\-encrypt"
Create PKCS#7 enveloped-data.
.TP
.BI "\-e, \-\-decrypt"
Decrypt PKCS#7 enveloped-data.
.TP
.BI "\-p, \-\-show"
Show information about PKCS#7 container, list certificates.
.TP
.BI "\-i, \-\-in " file
PKCS#7 input file. If not given the input is read from \fISTDIN\fR.
.TP
.BI "\-k, \-\-key " file
Private key used for
.B \-\-sign
and
.BR \-\-decrypt.
.TP
.BI "\-c, \-\-cert " file
Certificate for
.BR \-\-sign ,
.B \-\-verify
and
.BR \-\-encrypt.
Can be used multiple times.
.
.SH "SEE ALSO"
.
.BR pki (1)