How do you programmatically sign jar files in Java?

前端 未结 4 2015
面向向阳花
面向向阳花 2021-01-12 03:33

Has anyone done this before? The only reference I have found on google has been: http://onjava.com/onjava/2001/04/12/signing_jar.html which still uses sun.* classes that wil

4条回答
  •  迷失自我
    2021-01-12 04:18

    To address a sudden change of security restrictions in WebStart applications in Java 7u45 we have created a simple signed jar file generator. It uses Guava 15 and Bouncy Castle bcpkix module. It should run on Java 6 & 7. It is suitable for small files only. Use it for any purpose you want.

提交回复
热议问题