pki: Add pki --print man page

This commit is contained in:
Tobias Brunner 2013-08-12 17:21:49 +02:00
parent e69fd30538
commit a319eff80d
4 changed files with 58 additions and 2 deletions

View File

@ -1498,6 +1498,7 @@ AC_CONFIG_FILES([
src/pki/man/pki---issue.8
src/pki/man/pki---keyid.8
src/pki/man/pki---pkcs7.8
src/pki/man/pki---print.8
src/pki/man/pki---req.8
src/pki/man/pki---self.8
src/pki/man/pki---signcrl.8

View File

@ -6,6 +6,7 @@ man8_MANS = \
pki---signcrl.8 \
pki---req.8 \
pki---pkcs7.8 \
pki---keyid.8
pki---keyid.8 \
pki---print.8
CLEANFILES = $(man8_MANS)

View File

@ -76,4 +76,5 @@ Verify a certificate using a CA certificate.
.BR pki\ \-\-signcrl (8),
.BR pki\ \-\-req (8),
.BR pki\ \-\-pkcs7 (8),
.BR pki\ \-\-keyid (8)
.BR pki\ \-\-keyid (8),
.BR pki\ \-\-print (8)

View File

@ -0,0 +1,53 @@
.TH "PKI \-\-PRINT" 8 "2013-07-31" "@PACKAGE_VERSION@" "strongSwan"
.
.SH "NAME"
.
pki \-\-print \- Print a credential (key, certificate etc.) in human readable form
.
.SH "SYNOPSIS"
.
.SY pki\ \-\-print
.OP \-\-in file
.OP \-\-type type
.OP \-\-debug level
.YS
.
.SY pki\ \-\-print
.BI \-\-options\~ file
.YS
.
.SY "pki \-\-print"
.B \-h
|
.B \-\-help
.YS
.
.SH "DESCRIPTION"
.
This sub-command of
.BR ipsec\-pki (8)
prints credentials (keys, certificates etc.) in human readable form.
.
.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 "\-i, \-\-in " file
Input file. If not given the input is read from \fISTDIN\fR.
.TP
.BI "\-t, \-\-type " type
Type of input. One of \fIrsa-priv\fR (RSA private key), \fIecdsa-priv\fR (ECDSA
private key), \fIpub\fR (public key), \fIx509\fR (X.509 certificate), \fIcrl\fR
(Certificate Revocation List, CRL), defaults to \fIx509\fR.
.
.SH "SEE ALSO"
.
.BR ipsec\-pki (8)