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
Author:
Tony Chemit
  • Field Details

    • 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()
    • getTsapolicyid

      public String getTsapolicyid()
    • getTsadigestalg

      public String getTsadigestalg()
    • setKeypass

      public void setKeypass(String keypass)
    • setSigfile

      public void setSigfile(String sigfile)
    • setTsaLocation

      public void setTsaLocation(String tsaLocation)
    • setTsaAlias

      public void setTsaAlias(String tsaAlias)
    • setTsapolicyid

      public void setTsapolicyid(String tsapolicyid)
    • setTsadigestalg

      public void setTsadigestalg(String tsadigestalg)
    • 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