pki: Add pki --pub man page

This commit is contained in:
Tobias Brunner
2013-09-13 15:07:36 +02:00
parent a319eff80d
commit 4adeaa5eb9
5 changed files with 82 additions and 4 deletions
+2 -2
View File
@@ -158,13 +158,13 @@ static void __attribute__ ((constructor))reg()
pub, 'p', "pub",
"extract the public key from a private key/certificate",
{"[--in file|--keyid hex] [--type rsa|ecdsa|pkcs10|x509]",
"[--outform der|pem|pgp|dnskey]"},
"[--outform der|pem|dnskey]"},
{
{"help", 'h', 0, "show usage information"},
{"in", 'i', 1, "input file, default: stdin"},
{"keyid", 'x', 1, "keyid on smartcard of private key"},
{"type", 't', 1, "type of credential, default: rsa"},
{"outform", 'f', 1, "encoding of extracted public key"},
{"outform", 'f', 1, "encoding of extracted public key, default: der"},
}
});
}