第1步 下载签名工具 Step 1: Download Signing Tools
如果您还没有签名工具,请到SUN公司网站免费下载:http://java.sun.com/j2se/,推荐下载JDK1.4.2或以上版本,支持Solaris SPARC/x86, Linux86 和 Windows 操作系统。
If you have not already done so, download the Java 2 Software Development Kit (SDK). The latest version is available free of charge for the Solaris SPARC/x86, Linux86, and Microsoft Windows platforms from http://java.sun.com/j2se/.
您将使用签名工具中的 keytool, jar, jarsigner 来申请代码签名证书和数字签名您的代码。 You will be using the keytool, jar, and jarsigner to apply for your Code Signing Certificate and sign your code.
如果您已经购买了微软代码签名证书(多用途),需要签名JAR文件,请点击 这里 。
为了防止盗版侵权行为,以下步骤已经省略,请WoTrust客户直接联系WoTrust客服人员获得支持。
第2步 申请签名证书 Step 2: Enrollment
(1) 生成私钥和公钥对(Keystore) Create a Keystore
(2) 生成证书请求文件(CSR) Generate a CSR
第3步 使用代码签名证书 Step 3: Begin Using
(1) 导入签名证书 Import Codesigning Certificate
(2) 把Applet代码打包成JAR文件 Bundle Applet into a JAR File
(3) 数字签名Applet Sign Your Applet
一旦成功签名,就可以把已经签名的JAR文件放到网上供用户下载了,用户端的Java系统会显示您的签名证书信息,如果已经签名的文件被篡改或损坏,则系统会提醒用户并拒绝安装。 When the signed JAR file is downloaded, the Java Runtime Environment will display your certificate to the user. If the file is tampered with in any way after it has been signed, the user will be notified and given the option to refuse installation.
|