Stuart McCulloch | f317322 | 2012-06-07 21:57:32 +0000 | [diff] [blame^] | 1 | package aQute.bnd.service; |
2 | |||||
3 | import aQute.lib.osgi.*; | ||||
4 | |||||
5 | public 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 | } |