add query, add more options to verify-sd

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15782 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2005-07-27 18:56:36 +00:00
parent 8d5e771c77
commit 6215763ddb

View File

@@ -50,19 +50,25 @@ command = {
} }
min_args="2" min_args="2"
argument="in-file out-file cert ..." argument="in-file out-file cert ..."
help = "Wrap a file within a SignedData object." help = "Wrap a file within a SignedData object"
} }
command = { command = {
name = "cms-verify-sd" name = "cms-verify-sd"
option = {
long = "anchors"
type = "strings"
argument = "certificate-store"
help = "trust anchors"
}
option = { option = {
long = "certificate" long = "certificate"
short = "c" short = "c"
type = "string" type = "strings"
argument = "certificate-store" argument = "certificate-store"
help = "certificate store to pull certificates from" help = "certificate store to pull certificates from"
} }
min_args="2" min_args="2"
argument="in-file out-file cert ..." argument="in-file out-file"
help = "Verify a file within a SignedData object" help = "Verify a file within a SignedData object"
} }
command = { command = {
@@ -111,11 +117,33 @@ command = {
argument="certificate ..." argument="certificate ..."
help = "Validate content of certificates" 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 = { command = {
name = "help" name = "help"
name = "?" name = "?"
argument = "[command]" argument = "[command]"
min_args = "0" min_args = "0"
max_args = "1" max_args = "1"
help = "Help! I need somebody." help = "Help! I need somebody"
} }