Package com.netscape.cmstools.client
Class ClientCertShowCLI
- java.lang.Object
-
- com.netscape.cmstools.cli.CLI
-
- com.netscape.cmstools.client.ClientCertShowCLI
-
public class ClientCertShowCLI extends CLI
- 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 void
createOptions()
void
execute(java.lang.String[] args)
void
exportCertificate(java.lang.String pkcs12Path, java.lang.String pkcs12PasswordPath, java.lang.String certPath)
void
exportClientCertificateAndPrivateKey(java.lang.String pkcs12Path, java.lang.String pkcs12PasswordPath, java.lang.String clientCertPath)
void
exportPKCS12(java.lang.String dbPath, java.lang.String dbPassword, java.lang.String pkcs12Path, java.lang.String pkcs12PasswordPath, java.lang.String nickname)
void
exportPrivateKey(java.lang.String pkcs12Path, java.lang.String pkcs12PasswordPath, java.lang.String privateKeyPath)
void
printHelp()
-
Methods inherited from class com.netscape.cmstools.cli.CLI
addModule, findModule, findModules, getClient, getClient, getConfig, getDeprecatedModules, getDescription, getFullModuleName, getFullName, getManPage, getModule, getModules, getName, getParent, isDeprecated, isVerbose, removeModule, runExternal, runExternal, setDescription, setName, setVerbose
-
-
-
-
Field Detail
-
clientCLI
public ClientCLI clientCLI
-
-
Constructor Detail
-
ClientCertShowCLI
public ClientCertShowCLI(ClientCLI clientCLI)
-
-
Method Detail
-
createOptions
public void createOptions()
-
execute
public void execute(java.lang.String[] args) 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
-
-