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,
boolean useOAEP) |
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() |
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 ClientCertRequestCLI(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 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.Exception
public 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, boolean useOAEP) throws java.lang.Exception
java.lang.Exception