modules/jdk.packager/src/main/java/com/sun/javafx/tools/packager/JarSignature.java

Print this page

        

@@ -78,11 +78,14 @@
  * Validation mode:
  *   - create new instance using JarSignature.load()
  *   - add entries using updateWithEntry()
  *   - use isValid() to validate result
  *   - use getCodeSigners() to get list of code signers used
+ * 
+ * @deprecated use {@link ToolProvider} to locate the {@code "javapackager"} tool instead.
  */
+@Deprecated(since="10", forRemoval=true)
 public class JarSignature {
     //name of jar manifest attribute that contains signature
     public static final String BLOB_SIGNATURE = "META-INF/SIGNATURE.BSF";
 
     private final Signature sig;