Modifier and Type | Class and Description |
---|---|
static class |
JarResigner.Strategy |
JarSigner.Options
Modifier and Type | Method and Description |
---|---|
static JarSigner |
create(JarResigner.Strategy strategy,
JarSigner delegate,
org.apache.maven.plugin.logging.Log log) |
static JarSigner |
doNotResign(JarSigner jarSigner,
org.apache.maven.plugin.logging.Log log) |
static JarSigner |
overwrite(JarSigner jarSigner,
org.apache.maven.plugin.logging.Log log) |
static JarSigner |
overwriteWithSameDigestAlgorithm(JarSigner jarSigner,
org.apache.maven.plugin.logging.Log log) |
static JarSigner |
resign(JarSigner jarSigner,
org.apache.maven.plugin.logging.Log log) |
static JarSigner |
resignWithSameDigestAlgorithm(JarSigner jarSigner,
org.apache.maven.plugin.logging.Log log) |
int |
sign(Path jar,
JarSigner.Options options)
Sign the given Jar file.
|
static JarSigner |
throwException(JarSigner jarSigner,
org.apache.maven.plugin.logging.Log log) |
public static JarSigner create(JarResigner.Strategy strategy, JarSigner delegate, org.apache.maven.plugin.logging.Log log)
public int sign(Path jar, JarSigner.Options options) throws IOException
JarSigner
sign
in interface JarSigner
jar
- the file to sign.IOException
public static JarSigner doNotResign(JarSigner jarSigner, org.apache.maven.plugin.logging.Log log)
public static JarSigner throwException(JarSigner jarSigner, org.apache.maven.plugin.logging.Log log)
public static JarSigner resignWithSameDigestAlgorithm(JarSigner jarSigner, org.apache.maven.plugin.logging.Log log)
public static JarSigner overwriteWithSameDigestAlgorithm(JarSigner jarSigner, org.apache.maven.plugin.logging.Log log)
Copyright © 2024 Eclipse Foundation. All rights reserved.