error when applet try to load java.security.spec.PKCS8EncodedKeySpec class
843810Dec 11 2002 — edited Dec 20 2002Hi i am writing an applet which grants permissions from the user
.I am using swing components so i use dubuild(from microsfot) to make
a cab file,then i sign it and all goes ok.
Also in my applet i try to read a Key from the user's harddrive in
PKCS8Encoded format but it fails.
I tried to run the same code as an application and all worked fine.
I suspect that somehow i have to include the PKCS8EncodedKeySpec.class
in the cab file.I have put it inside the cab file(together with all the swing components classes and mine too) but i still get NoClassDefFoundError:java.security.spec.PKCS8EncodedKeySpec
that means it can load the specific class that my applet has been previously compiled with.
i would appreciate any suggestion,help
Yours
Andrew