From 832c228cad1c06077f6080e0bb8c20646e1ec687 Mon Sep 17 00:00:00 2001 From: Deon Lackey Date: Wed, 18 Aug 2010 20:02:03 -0400 Subject: editing command synopsis --- pk12util.xml | 88 +++++++++++++++++++++++++++++++----------------------------- 1 file changed, 46 insertions(+), 42 deletions(-) diff --git a/pk12util.xml b/pk12util.xml index 8e83b87..93b8344 100644 --- a/pk12util.xml +++ b/pk12util.xml @@ -9,13 +9,10 @@ August 2010 pk12util + 1 - - 1 - - pk12util Export and import keys and certificate to or from a PKCS #12 file and the NSS database @@ -24,9 +21,16 @@ pk12util - - - + -i p12File [-h tokenname] [-v] [common-options] + + -l p12File [-h tokenname] [-r] [common-options] + + -o p12File -n certname [-c keyCipher] [-C certCipher] [-m|--key_len keyLen] [-n|--cert_key_len certKeyLen] [common-options] + + +common-options are: +[-d dir] [-P dbprefix] [-k slotPasswordFile|-K slotPassword] [-w p12filePasswordFile|-W p12filePassword] + @@ -39,95 +43,95 @@ Options - p12file - Import keys and certs from p12file into the nss database. + -i p12file + Import keys and certs from p12file into the nss database. - p12file - List the keys and certs in p12file. + -l p12file + List the keys and certs in p12file. - p12file - Export keys and certs from the nss database to 12file. + -o p12file + Export keys and certs from the nss database to 12file. - certname - Specify the nickname of the cert and private key to export. + -n certname + Specify the nickname of the cert and private key to export. - dir - Specify the database directory into which to import to or export from certificates and keys. + -d dir + Specify the database directory into which to import to or export from certificates and keys. If not specified the directory defaults to $HOME/.netscape (when $HOME exists in the environment), - or to ./.netscape (when $HOME does not exist in the environment. + or to ./.netscape (when $HOME does not exist in the environment. - prefix - Specify the prefix used on the cert8.db and key3.db files + -P prefix + Specify the prefix used on the cert8.db and key3.db files (for example, my_cert8.db and my_key3.db). This option is provided as a special case. - Changing the names of the certificate and key databases is not recommended. + Changing the names of the certificate and key databases is not recommended. - tokenname - Specify the name of the token to import into or export from. + -h tokenname + Specify the name of the token to import into or export from. - - Enable debug logging when importing. + -v + Enable debug logging when importing. - slotPasswordFile - Specify the text file containing the slot's password. + -k slotPasswordFile + Specify the text file containing the slot's password. - slotPassword - Specify the slot's password. + -K slotPassword + Specify the slot's password. - p12filePasswordFile - Specify the text file containing the pkcs #12 file password. + -w p12filePasswordFile + Specify the text file containing the pkcs #12 file password. - p12filePassword - Specify the pkcs #12 file password. + -W p12filePassword + Specify the pkcs #12 file password. - keyCipher - Specify the key encryption algorithm. + -c keyCipher + Specify the key encryption algorithm. - certCipher - Specify the key cert (overall package) encryption algorithm. + -C certCipher + Specify the key cert (overall package) encryption algorithm. - keyLength - Specify the desired length of the symmetric key to be used to encrypt the private key. + -m | --key-len keyLength + Specify the desired length of the symmetric key to be used to encrypt the private key. - certKeyLength - Specify the desired length of the symmetric key to be used to encrypt the certificates and other meta-data. + -m | --cert-key-len certKeyLength + Specify the desired length of the symmetric key to be used to encrypt the certificates and other meta-data. Basic Usage - The example will do this and that + The following example will do this and that % blah blah line 2 -- cgit