diff options
author | hylee <none@none> | 2007-12-06 15:56:13 -0800 |
---|---|---|
committer | hylee <none@none> | 2007-12-06 15:56:13 -0800 |
commit | 431deaa01ac039d796fdfaf86b909a75e7d9ac48 (patch) | |
tree | 0d4bb232b811d43a31fcb0d6149d0624c643e3f4 /usr/src/cmd/cmd-crypto/kmfcfg/kmfcfg.c | |
parent | c73e9863820a560b7fbb4fb258aa450a88315a39 (diff) | |
download | illumos-joyent-431deaa01ac039d796fdfaf86b909a75e7d9ac48.tar.gz |
PSARC 2007/604 KMF Pluggability Enhancements
6621224 KMF Dynamic Plugin Support
6621231 pktool list keystore=file dir=/tmp/test prints out incorrect output
Diffstat (limited to 'usr/src/cmd/cmd-crypto/kmfcfg/kmfcfg.c')
-rw-r--r-- | usr/src/cmd/cmd-crypto/kmfcfg/kmfcfg.c | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/usr/src/cmd/cmd-crypto/kmfcfg/kmfcfg.c b/usr/src/cmd/cmd-crypto/kmfcfg/kmfcfg.c index e58368284f..997fbc131d 100644 --- a/usr/src/cmd/cmd-crypto/kmfcfg/kmfcfg.c +++ b/usr/src/cmd/cmd-crypto/kmfcfg/kmfcfg.c @@ -19,7 +19,7 @@ * CDDL HEADER END */ /* - * Copyright 2006 Sun Microsystems, Inc. All rights reserved. + * Copyright 2007 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -53,11 +53,15 @@ int kc_create(int argc, char *argv[]); int kc_modify(int argc, char *argv[]); int kc_export(int argc, char *argv[]); int kc_import(int argc, char *argv[]); +int kc_install(int argc, char *argv[]); +int kc_uninstall(int argc, char *argv[]); + static int kc_help(); static verbcmd cmds[] = { - { "list", kc_list, "list [dbfile=dbfile] " - "[policy=policyname]" }, + { "list", kc_list, + "list [dbfile=dbfile] [policy=policyname]\n" + "\tlist plugin" }, { "delete", kc_delete, "delete [dbfile=dbfile] " "policy=policyname" }, { "create", kc_create, @@ -125,11 +129,16 @@ static verbcmd cmds[] = { "\t\tipsecUser | timeStamping |\n\t" "\t\tOCSPSigning],[...]\n" "\t\t[ekuoids=OID,OID,OID...]\n" - "\t\t[eku-none=true|false]\n" }, + "\t\t[eku-none=true|false]\n\n" + "\tmodify plugin keystore=keystorename option=optionstring\n"}, + { "import", kc_import, "import [dbfile=dbfile] policy=policyname " "infile=inputdbfile\n" }, { "export", kc_export, "export [dbfile=dbfile] policy=policyname " "outfile=newdbfile\n" }, + { "install", kc_install, "install keystore=keystorename " + "modulepath=path [option=optionstring]\n"}, + { "uninstall", kc_uninstall, "uninstall keystore=keystorename\n"}, { "-?", kc_help, "help"}, { "help", kc_help, ""} }; @@ -235,6 +244,10 @@ main(int argc, char *argv[]) break; case KC_ERR_ACCESS: break; + case KC_ERR_INSTALL: + break; + case KC_ERR_UNINSTALL: + break; default: (void) fprintf(stderr, gettext("%s operation failed. " "error 0x%02x\n"), cmds[found].verb, ret); |