1 | Get an Authenticode Certificate, e.g., from digitalid.verisign.com/developer/ms_pick.htm. |
2 | Get Microsoft Java SDK, from www.microsoft.com/msdownload/java/sdk/31f/SDK-JAVA.asp |
3 | Prepare archive file , in Microsoft's CAB format, cabarc N test.cab *.class |
4 | Use Microsoft Security Zones concept. By default, a security zone, assigned a security level, is a group of Web sites. The available levels are Low, Medium, High, Custom. |
5 | signcode -j JavaSign.dll -jp High -spc c:\myCert.spc -v a:\myKey.pvk -n "My Applet Software" -i http://www.mywebpage.com/ myapp.cab where -j is to sign java code, -jp to pass parameter to JavaSign.dll, zone level, -i information page for the software that user can check. |