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 TypeMethodDescriptionvoidvoidexecute(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) voidMethods inherited from class CommandCLI
executeMethods inherited from class CLI
addModule, addModule, findModule, findModules, getClient, getClient, getConfig, getDescription, getFullModuleName, getFullName, getManPage, getModule, getModules, getName, getParent, getRoot, isDeprecated, removeModule, runExternal, runExternal, setDescription, setNameModifier and TypeMethodDescriptionvoidvoidfindModule(String command) Find the last module that handles the specified command.findModules(String command) Find the list of modules that handle the specified command.getFullModuleName(String moduleName) getName()getRoot()booleanremoveModule(String name) voidrunExternal(String[] command) voidrunExternal(List<String> command) voidsetDescription(String description) void
-
Field Details
-
logger
public static org.slf4j.Logger logger -
clientCLI
-
-
Constructor Details
-
ClientCertRequestCLI
-
-
Method Details
-
printHelp
-
createOptions
public void createOptions()- Overrides:
createOptionsin classCommandCLI
-
execute
- Overrides:
executein classCommandCLI- Throws:
Exception
-
generatePkcs10Request
-
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
-