blob: 54b4e80f8f9d940ce34f115cffb76e99c1cd947c [file] [log] [blame]
Stuart McCullochf3173222012-06-07 21:57:32 +00001package aQute.bnd.service;
2
Stuart McCulloch42151ee2012-07-16 13:43:38 +00003import aQute.bnd.osgi.*;
Stuart McCullochf3173222012-06-07 21:57:32 +00004
5public interface SignerPlugin {
Stuart McCulloch4482c702012-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 McCullochf3173222012-06-07 21:57:32 +000017}