一聚教程网:一个值得你收藏的教程网站

最新下载

热门教程

java applet 签名和认证 ---大致过程和我的问题

时间:2022-07-02 17:25:56 编辑:袖梨 来源:一聚教程网

在java中的 applet 的认证和签名 确实麻烦。。
java.sun.com 的tutorial 上有用apple 在本地写一个文件的例子:
http://java.***sun.com/docs/books/tutorial/security1.2/tour1/
但只能用AppletViewer 可以看:
appletviewer http://java.***sun.com/docs/books/tutorial/security1.2/tour1/example-1dot2/WriteFile.html
又在[阿费]的帮助下找到可以用ie or Nescape 查看你的applet 的例子:
http://www.intellig**entse*arch.org/namesearch_from_java.htm#_Toc490550108
大致过程如下::
服务器端:
1。
 Compile the java classes --写applet并编译。
javac *.class
2. Place the class files in a JAR file --打包:
jar cvf yourjarname.jar yourdir/*.class
1). Create a Keystore and Keys for signing the JAR file
keytool

热门栏目