Package com.netscape.cmstools.client
Class ClientCertRequestCLI
java.lang.Object
org.dogtagpki.cli.CLI
org.dogtagpki.cli.CommandCLI
com.netscape.cmstools.client.ClientCertRequestCLI
- Author:
- Endi S. Dewata
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
execute
(org.apache.commons.cli.CommandLine cmd) generateCrmfRequest
(org.mozilla.jss.crypto.X509Certificate transportCert, String subjectDN, boolean attributeEncoding, String algorithm, int length, String curve, boolean sslECDH, boolean temporary, int sensitive, int extractable, boolean withPop, org.mozilla.jss.crypto.KeyWrapAlgorithm keyWrapAlgorithm, boolean useOAEP) generatePkcs10Request
(File certDatabase, String password, String algorithm, String length, String subjectDN) void
Methods inherited from class org.dogtagpki.cli.CommandCLI
execute
Methods inherited from class org.dogtagpki.cli.CLI
addModule, addModule, findModule, findModules, getClient, getClient, getConfig, getDescription, getFullModuleName, getFullName, getManPage, getModule, getModules, getName, getParent, getRoot, isDeprecated, removeModule, runExternal, runExternal, setDescription, setName
-
Field Details
-
logger
public static org.slf4j.Logger logger -
clientCLI
-
-
Constructor Details
-
ClientCertRequestCLI
-
-
Method Details
-
printHelp
public void printHelp() -
createOptions
public void createOptions()- Overrides:
createOptions
in classCommandCLI
-
execute
- Overrides:
execute
in classCommandCLI
- Throws:
Exception
-
generatePkcs10Request
public String generatePkcs10Request(File certDatabase, String password, String algorithm, String length, String subjectDN) throws Exception - Throws:
Exception
-
generateCrmfRequest
public String generateCrmfRequest(org.mozilla.jss.crypto.X509Certificate transportCert, String subjectDN, boolean attributeEncoding, String algorithm, int length, String curve, boolean sslECDH, boolean temporary, int sensitive, int extractable, boolean withPop, org.mozilla.jss.crypto.KeyWrapAlgorithm keyWrapAlgorithm, boolean useOAEP) throws Exception - Throws:
Exception
-