Stuart McCulloch | bb01437 | 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 { |
Stuart McCulloch | 2286f23 | 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 | bb01437 | 2012-06-07 21:57:32 +0000 | [diff] [blame] | 17 | } |