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

[iaik-jce] RSA cipher in an applet


i'm trying to use the public key encryption in an applet like this:

    Cipher rsa = Cipher.tegInstance("RSA/ECB/PKCS1Padding");
    rsa.init(Cipher.ENCRYPT_MODE, publickey);
    byte[] encrypted = rsa.doFinal();

but i get the NoSuchAlgorithmException. i realise that installing IAIK
provider would provide RSA but i'd like to avoid that on the client. is
there something i can do on the server side to have RSA available? tia,


Aaron Stromas    | "Tick-tick-tick!!!... ja, Pantani is weg..."
Oracle Corp      |                             BRTN commentator
+1 703.708.68.21 |                              L'Alpe d'Huez
                                            1995 Tour de France

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