Package com.netscape.cmstools.client
Class ClientCertShowCLI
java.lang.Object
org.dogtagpki.cli.CLI
org.dogtagpki.cli.CommandCLI
com.netscape.cmstools.client.ClientCertShowCLI
- Author:
- Endi S. Dewata
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidexecute(org.apache.commons.cli.CommandLine cmd) voidexportCertificate(String pkcs12Path, String pkcs12PasswordPath, String certPath) voidexportClientCertificateAndPrivateKey(String pkcs12Path, String pkcs12PasswordPath, String clientCertPath) voidexportPKCS12(String dbPath, String dbPassword, String pkcs12Path, String pkcs12PasswordPath, String nickname) voidexportPrivateKey(String pkcs12Path, String pkcs12PasswordPath, String privateKeyPath) voidMethods inherited from class org.dogtagpki.cli.CommandCLI
executeMethods 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 -
clientCLI
-
-
Constructor Details
-
ClientCertShowCLI
-
-
Method Details
-
printHelp
public void printHelp() -
createOptions
public void createOptions()- Overrides:
createOptionsin classCommandCLI
-
execute
- Overrides:
executein classCommandCLI- Throws:
Exception
-
exportPKCS12
public void exportPKCS12(String dbPath, String dbPassword, String pkcs12Path, String pkcs12PasswordPath, String nickname) throws Exception - Throws:
Exception
-
exportCertificate
public void exportCertificate(String pkcs12Path, String pkcs12PasswordPath, String certPath) throws Exception - Throws:
Exception
-
exportPrivateKey
public void exportPrivateKey(String pkcs12Path, String pkcs12PasswordPath, String privateKeyPath) throws Exception - Throws:
Exception
-
exportClientCertificateAndPrivateKey
public void exportClientCertificateAndPrivateKey(String pkcs12Path, String pkcs12PasswordPath, String clientCertPath) throws Exception - Throws:
Exception
-