Hi, Iam sekar working in j2me, i want to do (Asymmetric)encryption and decryption in my midlet, i tried with BouncyCastle and i got output fine with symmetricKeys. When i tried for AsymmetricKeyPair generation the runtime(compiled fine)error shown as "java.lang.NoClassDefFoundError: java/security/SecureRandom: Cannot create class in system package"
what i have to do?
One more question: I want to get the public key (was generated by servlet) from server as inputstream in midlet. is it possible getas Publickey fron stream? its urgent.. any help please.
Joined: May 29, 2006
hi, I think j2me does not have the security packages like j2se. Then how to achieve the Asymmetric encryption with j2me, but i believe j2me have any other way for this. any of you have the idea...
Please clikc on the My Profile link above and change your display name to meet the JavaRanch Naming Policy of using your real first and real last names. We do close accounts that continually violate our policy.
i already did encryption with servlet and it work fine.
i want to do the encryption with MIDlet using the key was generated by servlet. while try this i got error like. what may wrong with my procedure or any change i have to made with my bouncy castle or wtk ???