I've copied the files...
-writeFile.html and writeFile.java
-Duke.x509 certificate
-cert_directive_Duke (template for generating a certificate)
-sign_directive_Duke (template for signing an archive)
-signedWriteFile.html and signedWriteFile.jar...
...and I've tried to sign an applet like the way you have described it
on the web side http://java.sun.com/security/signExample/index.html, but
it doesn't work.
Other facts:
- I'm using Netscapes Communicator 4.06.
- Output of the Java Console :
# Error: Invalid Hash of this JAR entry (-7882)
# jar file: C:\TEMP\jzipJU6B.TMP
# path: writeFile.class
# Error: Strange PKCS7 or RSA failure (-7881)
# jar file: C:\TEMP\jzipJU6B.TMP
# path: C:\TEMP\jzipJU6B.TMP
# Error: loading of signatures has failed (-1)
# jar file: C:\TEMP\jzipJU6B.TMP
# path: /C|/Java/signing2/
Where is the bug? Is it possible that I have to configure the
Communicator too?
Thanks and regards,
Bj=F6rn Beuter
_________________________________________
Robert Bosch GmbH, Stuttgart-Feuerbach
Abt.: K5/P-ESP,
0711/811-23 816
0711/811-23 804 (Fax)
Bjoern.Beuter2@pcm.bosch.de