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 classJarSigner.Options
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intsign(java.nio.file.Path jarfile, JarSigner.Options options)Sign the given Jar file.
-
-
-
Method Detail
-
sign
int sign(java.nio.file.Path jarfile, JarSigner.Options options) throws java.io.IOExceptionSign the given Jar file.- Parameters:
jarfile- the file to sign.- Returns:
- the number of Jar that has been signed.
- Throws:
org.apache.maven.plugin.MojoExecutionExceptionjava.io.IOException
-
-