Package com.netscape.cmstools.client
Class ClientCertShowCLI
- java.lang.Object
-
- org.dogtagpki.cli.CLI
-
- org.dogtagpki.cli.CommandCLI
-
- com.netscape.cmstools.client.ClientCertShowCLI
-
public class ClientCertShowCLI extends CommandCLI
- Author:
- Endi S. Dewata
-
-
Constructor Summary
Constructors Constructor Description ClientCertShowCLI(ClientCLI clientCLI)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateOptions()voidexecute(org.apache.commons.cli.CommandLine cmd)voidexportCertificate(java.lang.String pkcs12Path, java.lang.String pkcs12PasswordPath, java.lang.String certPath)voidexportClientCertificateAndPrivateKey(java.lang.String pkcs12Path, java.lang.String pkcs12PasswordPath, java.lang.String clientCertPath)voidexportPKCS12(java.lang.String dbPath, java.lang.String dbPassword, java.lang.String pkcs12Path, java.lang.String pkcs12PasswordPath, java.lang.String nickname)voidexportPrivateKey(java.lang.String pkcs12Path, java.lang.String pkcs12PasswordPath, java.lang.String privateKeyPath)voidprintHelp()-
Methods inherited from class org.dogtagpki.cli.CommandCLI
execute
-
Methods inherited from class org.dogtagpki.cli.CLI
addModule, findModule, findModules, getClient, getClient, getConfig, getDescription, getFullModuleName, getFullName, getManPage, getModule, getModules, getName, getParent, getRoot, isDeprecated, printCommands, removeModule, runExternal, runExternal, setDescription, setName
-
-
-
-
Field Detail
-
logger
public static org.slf4j.Logger logger
-
clientCLI
public ClientCLI clientCLI
-
-
Constructor Detail
-
ClientCertShowCLI
public ClientCertShowCLI(ClientCLI clientCLI)
-
-
Method Detail
-
createOptions
public void createOptions()
- Overrides:
createOptionsin classCommandCLI
-
execute
public void execute(org.apache.commons.cli.CommandLine cmd) throws java.lang.Exception- Overrides:
executein classCommandCLI- Throws:
java.lang.Exception
-
exportPKCS12
public void exportPKCS12(java.lang.String dbPath, java.lang.String dbPassword, java.lang.String pkcs12Path, java.lang.String pkcs12PasswordPath, java.lang.String nickname) throws java.lang.Exception- Throws:
java.lang.Exception
-
exportCertificate
public void exportCertificate(java.lang.String pkcs12Path, java.lang.String pkcs12PasswordPath, java.lang.String certPath) throws java.lang.Exception- Throws:
java.lang.Exception
-
exportPrivateKey
public void exportPrivateKey(java.lang.String pkcs12Path, java.lang.String pkcs12PasswordPath, java.lang.String privateKeyPath) throws java.lang.Exception- Throws:
java.lang.Exception
-
exportClientCertificateAndPrivateKey
public void exportClientCertificateAndPrivateKey(java.lang.String pkcs12Path, java.lang.String pkcs12PasswordPath, java.lang.String clientCertPath) throws java.lang.Exception- Throws:
java.lang.Exception
-
-