| 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
JarSignersign in interface JarSignerjar - the file to sign.IOExceptionpublic 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 © 2023 Eclipse Foundation. All rights reserved.