[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[iaik-jce] ClassCastException with jarsigner

Hi All!

I've got a problem with the IAIK-JCE2.51 and the jarsigner from

I copy iaik_jce_full.jar to ${java.home}/jre/lib/ext and
made this change to ${java.home}/jre/lib/security/java.security:

I then tried the commands from Suns Tutorial
(see http://web2.java.sun.com/docs/books/tutorial/security1.2/toolsign/index.html ff.):

$ keytool -genkey -alias signFiles -keystore susanstore 
$ jarsigner -keystore susanstore -signedjar sCount.jar Count.jar signFiles
Enter Passphrase for keystore: passpass
jarsigner error: java.lang.ClassCastException: iaik.asn1.structures.Name

What's going wrong? Is there a workaround? Or won't I be able
to use the security-tools with the IAIK-JCE?



Timo Neumann      -- GUS#2 --        '95-'96  Suzuki GS500E 11.2 Mm
http://www.userland.de/              '96-'99  Honda  CB750  32.3 Mm
PGP: 1024/0792BF9D 18 07 12 F7 E4 2C 3A 66  BD 74 2D 60 81 45 02 DA
--------------  Do you know where your towel is?  -----------------

Mailinglist-archive at http://jcewww.iaik.at/mailarchive/iaik-jce/jcethreads.html

To unsubscribe send an email to listserv@iaik.at with the folowing content: UNSUBSCRIBE iaik-jce