Package com.netscape.cmstools.client
Class ClientCertRequestCLI
- java.lang.Object
-
- org.dogtagpki.cli.CLI
-
- org.dogtagpki.cli.CommandCLI
-
- com.netscape.cmstools.client.ClientCertRequestCLI
-
public class ClientCertRequestCLI extends CommandCLI
- Author:
- Endi S. Dewata
-
-
Constructor Summary
Constructors Constructor Description ClientCertRequestCLI(ClientCLI clientCLI)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateOptions()voidexecute(org.apache.commons.cli.CommandLine cmd)java.lang.StringgenerateCrmfRequest(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.StringgeneratePkcs10Request(java.io.File certDatabase, java.lang.String password, java.lang.String algorithm, java.lang.String length, java.lang.String subjectDN)voidprintHelp()-
Methods inherited from class org.dogtagpki.cli.CommandCLI
execute
-
Methods inherited from class org.dogtagpki.cli.CLI
addModule, findModule, findModules, getClient, getClient, getConfig, getDescription, getFullModuleName, getFullName, getManPage, getModule, getModules, getName, getParent, getRoot, isDeprecated, printCommands, removeModule, runExternal, runExternal, setDescription, setName
-
-
-
-
Field Detail
-
logger
public static org.slf4j.Logger logger
-
clientCLI
public ClientCLI clientCLI
-
-
Constructor Detail
-
ClientCertRequestCLI
public ClientCertRequestCLI(ClientCLI clientCLI)
-
-
Method Detail
-
createOptions
public void createOptions()
- Overrides:
createOptionsin classCommandCLI
-
execute
public void execute(org.apache.commons.cli.CommandLine cmd) throws java.lang.Exception- Overrides:
executein classCommandCLI- Throws:
java.lang.Exception
-
generatePkcs10Request
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- Throws:
java.lang.Exception
-
generateCrmfRequest
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) throws java.lang.Exception- Throws:
java.lang.Exception
-
-