hxtool: Add OID symbol resolution

This commit is contained in:
Nicolas Williams
2019-08-24 17:02:51 -05:00
parent 5465b2ddec
commit 93e48f8fba
2 changed files with 63 additions and 7 deletions

View File

@@ -32,6 +32,13 @@
*/
/* $Id$ */
command = {
name = "list-oids"
help = "List known OIDs"
function = "hxtool_list_oids"
min_args="0"
max_args="0"
}
command = {
name = "cms-create-sd"
name = "cms-sign"
@@ -171,6 +178,11 @@ command = {
type = "string"
help = "file containing content"
}
option = {
long = "oid-sym"
type = "flag"
help = "show symbolic name for OID"
}
min_args="1"
max_args="2"
argument="in-file [out-file]"
@@ -575,6 +587,11 @@ command = {
type = "string"
help = "type of CMS algorithm"
}
option = {
long = "oid-syms"
type = "flag"
help = "show symbolic names for OIDs"
}
name = "crypto-available"
min_args="0"
help = "Print available CMS crypto types"
@@ -595,6 +612,11 @@ command = {
type = "strings"
help = "peer limiting cmstypes"
}
option = {
long = "oid-sym"
type = "flag"
help = "show symbolic name for OID"
}
name = "crypto-select"
min_args="0"
help = "Print selected CMS type"