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
  • Field Details

    • logger

      public static org.slf4j.Logger logger
    • clientCLI

      public ClientCLI clientCLI
  • Constructor Details

    • ClientCertRequestCLI

      public ClientCertRequestCLI(ClientCLI clientCLI)
  • Method Details

    • printHelp

      public void printHelp()
      Overrides:
      printHelp in class CLI
    • createOptions

      public void createOptions()
      Overrides:
      createOptions in class CommandCLI
    • execute

      public void execute(org.apache.commons.cli.CommandLine cmd) throws Exception
      Overrides:
      execute in class CommandCLI
      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