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