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 -
Method Summary
Modifier and TypeMethodDescriptionintsign(Path jarfile, JarSigner.Options options) Sign the given Jar file.
-
Method Details
-
sign
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.MojoExecutionExceptionIOException
-