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
JarSigner.Options
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
sign(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.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
java.io.IOException
-
-