From: Tobias Brunner Date: Mon, 12 Aug 2013 15:21:49 +0000 (+0200) Subject: pki: Add pki --print man page X-Git-Tag: 5.1.1dr4~25^2~5 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=a319eff80d34424db5897de0869381f4000a131b;p=thirdparty%2Fstrongswan.git pki: Add pki --print man page --- diff --git a/configure.ac b/configure.ac index 4d0eb8eae7..af8a34b33a 100644 --- a/configure.ac +++ b/configure.ac @@ -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 diff --git a/src/pki/man/Makefile.am b/src/pki/man/Makefile.am index 7918975d2c..7b6106543b 100644 --- a/src/pki/man/Makefile.am +++ b/src/pki/man/Makefile.am @@ -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) diff --git a/src/pki/man/ipsec-pki.8.in b/src/pki/man/ipsec-pki.8.in index 5faa321be6..1a6a24c516 100644 --- a/src/pki/man/ipsec-pki.8.in +++ b/src/pki/man/ipsec-pki.8.in @@ -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) diff --git a/src/pki/man/pki---print.8.in b/src/pki/man/pki---print.8.in new file mode 100644 index 0000000000..7242c53011 --- /dev/null +++ b/src/pki/man/pki---print.8.in @@ -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) \ No newline at end of file