Class JarSignerSignRequest

java.lang.Object
org.apache.maven.shared.utils.cli.javatool.AbstractJavaToolRequest
org.apache.maven.shared.jarsigner.AbstractJarSignerRequest
org.apache.maven.shared.jarsigner.JarSignerSignRequest
All Implemented Interfaces:
JarSignerRequest, org.apache.maven.shared.utils.cli.javatool.JavaToolRequest

public class JarSignerSignRequest extends AbstractJarSignerRequest
Specifies the parameters used to control a jar signer sign operation invocation.
Since:
1.0
  • Field Details

    • keypass

      private String keypass
      See options.
    • sigfile

      private String sigfile
      See options.
    • tsaLocation

      private String tsaLocation
      See options.
    • tsaAlias

      private String tsaAlias
      See options.
    • signedjar

      protected File signedjar
      See options.
    • certchain

      protected File certchain
      Location of the extra certchain file to be used during signing. See options.
      Since:
      3.0.0
  • Constructor Details

    • JarSignerSignRequest

      public JarSignerSignRequest()
  • Method Details

    • getKeypass

      public String getKeypass()
    • getSigfile

      public String getSigfile()
    • getTsaLocation

      public String getTsaLocation()
    • getTsaAlias

      public String getTsaAlias()
    • setKeypass

      public void setKeypass(String keypass)
    • setSigfile

      public void setSigfile(String sigfile)
    • setTsaLocation

      public void setTsaLocation(String tsaLocation)
    • setTsaAlias

      public void setTsaAlias(String tsaAlias)
    • getSignedjar

      public File getSignedjar()
    • setSignedjar

      public void setSignedjar(File signedjar)
    • setCertchain

      public void setCertchain(File certchain)
      Sets certchain to be used.
      Parameters:
      certchain - Cert Chain file path or null to remove the option
      Since:
      3.0.0
    • getCertchain

      public File getCertchain()
      Get certificate chain.
      Returns:
      Path to the certificate chain file or null if undefined