Stuart McCulloch | f317322 | 2012-06-07 21:57:32 +0000 | [diff] [blame] | 1 | package aQute.bnd.service; |
| 2 | |
Stuart McCulloch | 42151ee | 2012-07-16 13:43:38 +0000 | [diff] [blame] | 3 | import aQute.bnd.osgi.*; |
Stuart McCulloch | f317322 | 2012-06-07 21:57:32 +0000 | [diff] [blame] | 4 | |
| 5 | public interface SignerPlugin { |
Stuart McCulloch | 4482c70 | 2012-06-15 13:27:53 +0000 | [diff] [blame] | 6 | /** |
| 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 McCulloch | f317322 | 2012-06-07 21:57:32 +0000 | [diff] [blame] | 17 | } |