public class ClientCertRequestCLI extends CommandCLI
| Modifier and Type | Field and Description |
|---|---|
ClientCLI |
clientCLI |
static org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
ClientCertRequestCLI(ClientCLI clientCLI) |
| Modifier and Type | Method and Description |
|---|---|
void |
createOptions() |
void |
execute(org.apache.commons.cli.CommandLine cmd) |
java.lang.String |
generateCrmfRequest(org.mozilla.jss.crypto.X509Certificate transportCert,
java.lang.String subjectDN,
boolean attributeEncoding,
java.lang.String algorithm,
int length,
java.lang.String curve,
boolean sslECDH,
boolean temporary,
int sensitive,
int extractable,
boolean withPop,
org.mozilla.jss.crypto.KeyWrapAlgorithm keyWrapAlgorithm) |
java.lang.String |
generatePkcs10Request(java.io.File certDatabase,
java.lang.String password,
java.lang.String algorithm,
java.lang.String length,
java.lang.String subjectDN) |
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 ClientCertRequestCLI(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 java.lang.String generatePkcs10Request(java.io.File certDatabase,
java.lang.String password,
java.lang.String algorithm,
java.lang.String length,
java.lang.String subjectDN)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String generateCrmfRequest(org.mozilla.jss.crypto.X509Certificate transportCert,
java.lang.String subjectDN,
boolean attributeEncoding,
java.lang.String algorithm,
int length,
java.lang.String curve,
boolean sslECDH,
boolean temporary,
int sensitive,
int extractable,
boolean withPop,
org.mozilla.jss.crypto.KeyWrapAlgorithm keyWrapAlgorithm)
throws java.lang.Exception
java.lang.Exception