public class ClientCertImportCLI extends CommandCLI
| Modifier and Type | Field and Description |
|---|---|
ClientCLI |
clientCLI |
static org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
ClientCertImportCLI(ClientCLI clientCLI) |
| Modifier and Type | Method and Description |
|---|---|
void |
createOptions() |
void |
execute(org.apache.commons.cli.CommandLine cmd) |
void |
importCACert(java.io.File dbPath,
java.io.File dbPasswordFile,
java.lang.String certFile,
java.lang.String nickname,
java.lang.String trustAttributes) |
void |
importCert(java.io.File dbPath,
java.io.File dbPasswordFile,
java.lang.String certFile,
java.lang.String nickname,
java.lang.String trustAttributes) |
void |
importPKCS12(java.io.File dbPath,
java.io.File dbPasswordFile,
java.lang.String pkcs12File,
java.lang.String pkcs12PasswordFile) |
void |
importPKCS7(java.lang.String pkcs7Path,
java.lang.String nickname,
java.lang.String trustAttributes) |
void |
printHelp() |
void |
setTrustAttributes(org.mozilla.jss.crypto.X509Certificate cert,
java.lang.String trustAttributes) |
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 ClientCertImportCLI(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 setTrustAttributes(org.mozilla.jss.crypto.X509Certificate cert,
java.lang.String trustAttributes)
throws java.lang.Exception
java.lang.Exceptionpublic void importCert(java.io.File dbPath,
java.io.File dbPasswordFile,
java.lang.String certFile,
java.lang.String nickname,
java.lang.String trustAttributes)
throws java.lang.Exception
java.lang.Exceptionpublic void importCACert(java.io.File dbPath,
java.io.File dbPasswordFile,
java.lang.String certFile,
java.lang.String nickname,
java.lang.String trustAttributes)
throws java.lang.Exception
java.lang.Exceptionpublic void importPKCS7(java.lang.String pkcs7Path,
java.lang.String nickname,
java.lang.String trustAttributes)
throws java.lang.Exception
java.lang.Exceptionpublic void importPKCS12(java.io.File dbPath,
java.io.File dbPasswordFile,
java.lang.String pkcs12File,
java.lang.String pkcs12PasswordFile)
throws java.lang.Exception
java.lang.Exception