【发布时间】:2021-03-08 13:03:45
【问题描述】:
以前有人做过吗?我在谷歌上找到的唯一参考是:http://onjava.com/onjava/2001/04/12/signing_jar.html,它仍然使用 sun.* 会导致问题的类...
也发现了这个,但不适用于 java16:https://svn.cs.cf.ac.uk/projects/whip/trunk/whip-core/src/main/java/org/whipplugin/data/bundle/JarSigner15.java
【问题讨论】:
-
你可以从 java 中调用 jar 签名者进程。最好使用 ProcessBuilder。