Class 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 Detail

      • keypass

        private java.lang.String keypass
        See options.
      • sigfile

        private java.lang.String sigfile
        See options.
      • tsaLocation

        private java.lang.String tsaLocation
        See options.
      • tsaAlias

        private java.lang.String tsaAlias
        See options.
      • signedjar

        protected java.io.File signedjar
        See options.
      • certchain

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

      • JarSignerSignRequest

        public JarSignerSignRequest()
    • Method Detail

      • getKeypass

        public java.lang.String getKeypass()
      • getSigfile

        public java.lang.String getSigfile()
      • getTsaLocation

        public java.lang.String getTsaLocation()
      • getTsaAlias

        public java.lang.String getTsaAlias()
      • setKeypass

        public void setKeypass​(java.lang.String keypass)
      • setSigfile

        public void setSigfile​(java.lang.String sigfile)
      • setTsaLocation

        public void setTsaLocation​(java.lang.String tsaLocation)
      • setTsaAlias

        public void setTsaAlias​(java.lang.String tsaAlias)
      • getSignedjar

        public java.io.File getSignedjar()
      • setSignedjar

        public void setSignedjar​(java.io.File signedjar)
      • setCertchain

        public void setCertchain​(java.io.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 java.io.File getCertchain()
        Get certificate chain.
        Returns:
        Path to the certificate chain file or null if undefined