Package com.netscape.cmstools.tps
Class TPSClientCLI
java.lang.Object
org.dogtagpki.cli.CLI
org.dogtagpki.cli.CommandCLI
com.netscape.cmstools.tps.TPSClientCLI
- Author:
- Endi S. Dewata
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
void
displayHelp
(long client) void
displayToken
(long client, Map<String, String> params) void
displayVariable
(long client, Map<String, String> params) void
enrollToken
(long client, Map<String, String> params) void
execute
(org.apache.commons.cli.CommandLine cmd) void
formatToken
(long client, Map<String, String> params) boolean
getOldStyle
(long client) void
invokeOperation
(long client, String op, Map<String, String> params) void
listVariables
(long client) void
newEnrollToken
(long client, Map<String, String> params) void
newFormatToken
(long client, Map<String, String> params) void
newResetPIN
(long client, Map<String, String> params) void
oldEnrollToken
(long client, Map<String, String> params) void
oldFormatToken
(long client, Map<String, String> params) void
oldResetPIN
(long client, Map<String, String> params) void
performEnrollToken
(long client, Map<String, String> params) void
performFormatToken
(long client, Map<String, String> params) void
performResetPIN
(long client, Map<String, String> params) void
void
removeClient
(long client) void
void
setOldStyle
(long client, boolean value) void
setupDebug
(long client, Map<String, String> params) void
setupToken
(long client, Map<String, String> params) void
setVariable
(long client, Map<String, String> params) Methods inherited from class org.dogtagpki.cli.CommandCLI
createOptions, execute
Methods inherited from class org.dogtagpki.cli.CLI
addModule, addModule, findModule, findModules, getClient, getClient, getConfig, getDescription, getFullModuleName, getFullName, getManPage, getModule, getModules, getName, getParent, getRoot, isDeprecated, removeModule, runExternal, runExternal, setDescription, setName
-
Field Details
-
logger
public static org.slf4j.Logger logger -
tpsCLI
-
-
Constructor Details
-
TPSClientCLI
-
-
Method Details
-
printHelp
public void printHelp() -
parse
-
createClient
- Throws:
Exception
-
removeClient
- Throws:
Exception
-
getOldStyle
- Throws:
Exception
-
setOldStyle
- Throws:
Exception
-
displayHelp
- Throws:
Exception
-
performFormatToken
- Throws:
Exception
-
oldFormatToken
- Throws:
Exception
-
newFormatToken
- Throws:
Exception
-
formatToken
- Throws:
Exception
-
performResetPIN
- Throws:
Exception
-
oldResetPIN
- Throws:
Exception
-
newResetPIN
- Throws:
Exception
-
resetPIN
- Throws:
Exception
-
performEnrollToken
- Throws:
Exception
-
oldEnrollToken
- Throws:
Exception
-
newEnrollToken
- Throws:
Exception
-
enrollToken
- Throws:
Exception
-
displayToken
- Throws:
Exception
-
setupToken
- Throws:
Exception
-
setupDebug
- Throws:
Exception
-
setVariable
- Throws:
Exception
-
displayVariable
- Throws:
Exception
-
listVariables
- Throws:
Exception
-
invokeOperation
- Throws:
Exception
-
execute
- Overrides:
execute
in classCommandCLI
- Throws:
Exception
-