Package com.netscape.cmstools.cli
Class MainCLI
java.lang.Object
org.dogtagpki.cli.CLI
com.netscape.cmstools.cli.MainCLI
- Author:
- Endi S. Dewata
-
Field Summary
FieldsModifier and TypeFieldDescriptionboolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
convertCertStatusList
(String list, Collection<Integer> statuses) createCAClient
(PKIClient client) org.mozilla.jss.ssl.SSLCertificateApprovalCallback
void
void
getFullModuleName
(String moduleName) static void
void
init()
loadPassword
(String path) loadPasswordConfig
(String filename) static void
void
parseOptions
(org.apache.commons.cli.CommandLine cmd) void
static void
printMessage
(String message) void
promptForPassword
(String prompt) Methods inherited from class org.dogtagpki.cli.CLI
addModule, addModule, findModule, findModules, getClient, getDescription, getFullName, getModule, getModules, getName, getParent, getRoot, isDeprecated, removeModule, runExternal, runExternal, setDescription, setName
-
Field Details
-
config
-
rejectedCertStatuses
-
ignoredCertStatuses
-
ignoreBanner
public boolean ignoreBanner
-
-
Constructor Details
-
MainCLI
- Throws:
Exception
-
-
Method Details
-
getConfig
-
getNSSDatabase
-
getFullModuleName
- Overrides:
getFullModuleName
in classCLI
-
getManPage
- Overrides:
getManPage
in classCLI
-
getAPIVersion
-
printVersion
public void printVersion() -
printHelp
-
createOptions
- Throws:
UnknownHostException
-
loadPassword
- Throws:
IOException
-
loadPasswordConfig
- Throws:
Exception
-
promptForPassword
- Throws:
IOException
-
promptForPassword
- Throws:
IOException
-
createCAClient
- Throws:
Exception
-
parseOptions
- Throws:
Exception
-
convertCertStatusList
- Throws:
Exception
-
init
- Throws:
Exception
-
createCertApprovalCallback
public org.mozilla.jss.ssl.SSLCertificateApprovalCallback createCertApprovalCallback() -
getClient
-
execute
-
printMessage
-
handleException
-
main
-