public class ClientCertShowCLI extends CommandCLI
| Modifier and Type | Field and Description |
|---|---|
ClientCLI |
clientCLI |
static org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
ClientCertShowCLI(ClientCLI clientCLI) |
| Modifier and Type | Method and Description |
|---|---|
void |
createOptions() |
void |
execute(org.apache.commons.cli.CommandLine cmd) |
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() |
executeaddModule, findModule, findModules, getClient, getClient, getConfig, getDescription, getFullModuleName, getFullName, getManPage, getModule, getModules, getName, getParent, getRoot, isDeprecated, printCommands, removeModule, runExternal, runExternal, setDescription, setNamepublic static org.slf4j.Logger logger
public ClientCLI clientCLI
public ClientCertShowCLI(ClientCLI clientCLI)
public void createOptions()
createOptions in class CommandCLIpublic void execute(org.apache.commons.cli.CommandLine cmd)
throws java.lang.Exception
execute in class CommandCLIjava.lang.Exceptionpublic 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
java.lang.Exceptionpublic void exportCertificate(java.lang.String pkcs12Path,
java.lang.String pkcs12PasswordPath,
java.lang.String certPath)
throws java.lang.Exception
java.lang.Exceptionpublic void exportPrivateKey(java.lang.String pkcs12Path,
java.lang.String pkcs12PasswordPath,
java.lang.String privateKeyPath)
throws java.lang.Exception
java.lang.Exceptionpublic void exportClientCertificateAndPrivateKey(java.lang.String pkcs12Path,
java.lang.String pkcs12PasswordPath,
java.lang.String clientCertPath)
throws java.lang.Exception
java.lang.Exception