aspose file tools
The moose likes Android and the fly likes encryption Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Mobile » Android
Reply Bookmark "encryption" Watch "encryption" New topic
Author

encryption

Aris Doxakis
Ranch Hand

Joined: Dec 05, 2004
Posts: 132

good morning,
if i have a web service, written in .NET, is there a common way to encrypt/decrypt data so they can be read by my android app? Do they share common methods? The web service is SOAP and i use KSOAP2 for the data. Thanks in advance.
Satya Komatineni
author
Ranch Hand

Joined: May 11, 2011
Posts: 38
Good Morning.

if you use https as the transport it is encrypted on the wire.

If you want to encrypt the data specifically, looks like android has the javax.crypto library included. I have seen some examples on the net using AES encryption.

Here is one such link

However the device may need to know the passwords to decrypt it unless you are using a public/private keys and you hold the public key. But then it only gives you the authentication or certification of what is sent.

Thanks
Satya


My Web Site: satyakomatineni.com
Our Book for Tablets/Phones: Pro Android 3
 
IntelliJ Java IDE
 
subject: encryption
 
Threads others viewed
Suggestions for Web as well as stand alone Spring application in one project
Exposng Servlet as Webservice
Invoke secure web service by clicking on an HTML link
Q to authors: webservices not so popular?
Exchange Web Service message between Desktop APP and Web App
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture