Date: Tue, 26 May 1998 17:17:40 -0700
From: Thomas To <thomast@octlab.com>
To: java-security@web2.javasoft.com
Subject: Signed Applet Example
Hi,
I've tried running the
http://java.sun.com/security/signExample/signedWriteFile.html
from appletviewer and also from Netscape. They both failed.
I've downloaded the "Duke.x509" file and executed both commands:
javakey -c Duke true
javakey -ic Duke Duke.x509
The error from appletview is:
writeFile: caught security exception
The error from Netscape is:
writeFile: caught security exception
in the java console:
# Error: Invalid Hash of this JAR entry (-7882)
# jar file: C:\TEMP\jzip1ILK.TMP
# path: writeFile.class
# Error: Strange PKCS7 or RSA failure (-7881)
# jar file: C:\TEMP\jzip1ILK.TMP
# path: C:\TEMP\jzip1ILK.TMP
# Error: loading of signatures has failed (-1)
# jar file: C:\TEMP\jzip1ILK.TMP
# path: /security/signExample/
# Security Exception: checkwrite:tmpfoo
Your help is greatly appreciated.
- Thomas -