public class JartoolSigner extends java.lang.Object implements Plugin, SignerPlugin
Constructor and Description |
---|
JartoolSigner() |
Modifier and Type | Method and Description |
---|---|
void |
setProperties(java.util.Map<java.lang.String,java.lang.String> map)
Give the plugin the remaining properties.
|
void |
setReporter(aQute.service.reporter.Reporter processor)
Set the current reporter.
|
void |
sign(Builder builder,
java.lang.String alias)
Sign the current jar.
|
public void setProperties(java.util.Map<java.lang.String,java.lang.String> map)
Plugin
setProperties
in interface Plugin
map
- attributes and directives for this plugin's clausepublic void setReporter(aQute.service.reporter.Reporter processor)
Plugin
setReporter
in interface Plugin
public void sign(Builder builder, java.lang.String alias) throws java.lang.Exception
SignerPlugin
sign
in interface SignerPlugin
builder
- The current builder that contains the jar to signalias
- The keystore certificate aliasjava.lang.Exception
- When anything goes wrong