blob: aaef646f7919c7ee80fe74f17e916381a2376392 [file] [log] [blame]
Stuart McCullochbb014372012-06-07 21:57:32 +00001package aQute.bnd.service;
2
3import aQute.lib.osgi.*;
4
5public interface SignerPlugin {
6 /**
7 * Sign the current jar. The alias is the given certificate
8 * keystore.
9 *
10 * @param builder The current builder that contains the jar to sign
11 * @param alias The keystore certificate alias
12 * @throws Exception When anything goes wrong
13 */
14 void sign(Builder builder, String alias) throws Exception;
15}