Class VerifyJar

All Implemented Interfaces:
Cloneable

public class VerifyJar extends AbstractJarSignerTask
JAR verification task. For every JAR passed in, we fork jarsigner to verify that it is correctly signed. This is more rigorous than just checking for the existence of a signature; the entire certification chain is tested
Since:
Ant 1.7
  • Field Details

  • Constructor Details

    • VerifyJar

      public VerifyJar()
  • Method Details

    • setCertificates

      public void setCertificates(boolean certificates)
      Ask for certificate information to be printed
      Parameters:
      certificates - if true print certificates.
    • execute

      public void execute() throws BuildException
      verify our jar files
      Overrides:
      execute in class Task
      Throws:
      BuildException - on error.
    • beginExecution

      protected void beginExecution()
      Description copied from class: AbstractJarSignerTask
      init processing logic; this is retained through our execution(s)
      Overrides:
      beginExecution in class AbstractJarSignerTask
      Since:
      1.10.3
    • endExecution

      protected void endExecution()
      Description copied from class: AbstractJarSignerTask
      any cleanup logic
      Overrides:
      endExecution in class AbstractJarSignerTask
      Since:
      1.10.3