From: Martin P. <Mar...@ia...> - 2010-02-12 14:04:03
|
Hi... Benedikt Schröfel wrote: > Exception in thread "main" java.lang.ClassCastException: > sun.security.rsa.RSAPublicKeyImpl cannot be cast to > iaik.security.rsa.RSAPublicKey > I suppose that you have tested the code sufficiently indeed > so my question simply is: what am I doing wrong? I would guess you are missing the IAIK-JCE library in your classpath. Please double check if it is accessible from the classpath in the calling script. HTH, Martin |