From 6215763ddbdf16db48c028ffdb66b1b3f7296baa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Wed, 27 Jul 2005 18:56:36 +0000 Subject: [PATCH] add query, add more options to verify-sd git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15782 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/hx509/hxtool-commands.in | 36 ++++++++++++++++++++++++++++++++---- 1 file changed, 32 insertions(+), 4 deletions(-) diff --git a/lib/hx509/hxtool-commands.in b/lib/hx509/hxtool-commands.in index 39daf3495..b19b77fa7 100644 --- a/lib/hx509/hxtool-commands.in +++ b/lib/hx509/hxtool-commands.in @@ -50,19 +50,25 @@ command = { } min_args="2" argument="in-file out-file cert ..." - help = "Wrap a file within a SignedData object." + help = "Wrap a file within a SignedData object" } command = { name = "cms-verify-sd" + option = { + long = "anchors" + type = "strings" + argument = "certificate-store" + help = "trust anchors" + } option = { long = "certificate" short = "c" - type = "string" + type = "strings" argument = "certificate-store" help = "certificate store to pull certificates from" } min_args="2" - argument="in-file out-file cert ..." + argument="in-file out-file" help = "Verify a file within a SignedData object" } command = { @@ -111,11 +117,33 @@ command = { argument="certificate ..." help = "Validate content of certificates" } +command = { + name = "query" + option = { + long = "exact" + type = "flag" + help = "exact match" + } + option = { + long = "private-key" + type = "flag" + help = "search for private key" + } + option = { + long = "friendlyname" + type = "string" + argument = "name" + help = "match on friendly name" + } + min_args="1" + argument="certificates ..." + help = "Query the certificates for a match" +} command = { name = "help" name = "?" argument = "[command]" min_args = "0" max_args = "1" - help = "Help! I need somebody." + help = "Help! I need somebody" }