Hi, I think it's not possible to encrypt with the RSA private key but only sign. Apparently, to encrypt it must be a SecretKey which is in fact a symetric key. It's not a problem of JSS, I've tried to do the same thing with IAIK and I've also an exception. It seems that's the wish of SUN to no permit to do the hash and after sign.
But I've got a question, I've seen you use the cryptoManager in the applet. How did you initialize it. (I did also that but I had to use XPCom to get the path to the keystore on the client). Furthermore the jss dll must be present on the client machine. Did you avoid these problems? Thanks by advance, Rodrigue _______________________________________________ mozilla-crypto mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-crypto
