Interface JarSigner

All Known Implementing Classes:
AutoValue_RecursiveJarSigner, AutoValue_RemoteJarSigner, FilteredJarSigner, JarResigner, JarResigner.DoNotResign, JarResigner.OverwriteSignature, JarResigner.OverwriteSignatureWithSameDigestAlg, JarResigner.Resign, JarResigner.ResignWithSameDigestAlg, JarResigner.ThrowException, RecursiveJarSigner, RemoteJarSigner

public interface JarSigner
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    sign(Path jarfile, JarSigner.Options options)
    Sign the given Jar file.
  • Method Details

    • sign

      int sign(Path jarfile, JarSigner.Options options) throws IOException
      Sign the given Jar file.
      Parameters:
      jarfile - the file to sign.
      Returns:
      the number of Jar that has been signed.
      Throws:
      org.apache.maven.plugin.MojoExecutionException
      IOException