12-03-2012 02:12 AM
CAn you please confirm if application loaded in fresh device with no sim works on WIFI for secure API eg: RSA.
We have installed this appclication on fresh(new ) Blackberry device without SIM.
We have connected it to WIFI.
Now We we run the application . Everything in it works fine except a function where we have used RSA encryption logic. Can we know what is the reason behind it ???
Now if we insert SIM register it and then remove the SIM card and try running it on WIFI.
Application works even the RSA logic works...
12-03-2012 03:59 AM
I was not aware that encryption and SIM were dependent.
Can you tell us what encryption functionality you are trying? Have you tried it, by itself, in a standalone application to make sure that there is no other application logic that is preventing its use?
12-03-2012 04:11 AM
We have some functionality for e.g may be login. It works fine. But we have useed plane RSA encryption logic to encrypt data to send it to server. But only this functionality is not workign.. I dnt know why? CAn you please help.,.
12-04-2012 05:23 AM - edited 12-04-2012 05:24 AM
I was asking a different question.
"We get the encrypted public key from server(tyhrough webservice) ,& using this key we encrypt the data..."
It would appear that your application requires this key to work. So rather than the problem being RSA not working without a SIM, perhaps it is this logic that does not work correctly and so this stops you using RSA.
Perhaps the best way to prove this is what I suggested before, i.e. create a completely standalone (no network interaction) test of this in a separate application. Use hard coded data instead of stuff from your server. This will demonstrate if the RSA algorithm parts needs the SIM.
Does this make sense?