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