The following is the first few sections of a chapter from The Busy Coder's Guide to Android Development, plus headings for the remaining major sections, to give you an idea about the content of the chapter.


SSL

The traditional approach to securing HTTP operations is by means of SSL. Android supports SSL, much as ordinary Java does. Most of the time, you can just allow Android to do its thing with respect to SSL, and you will be fine. However, there may be times when you have to play a more direct role in SSL communications, to handle arbitrary SSL-encrypted endpoints, or to help ensure that your app is not the victim of a man-in-the-middle attack.

This chapter will explore various SSL scenarios and how to address them.

Prerequisites

Understanding this chapter requires that you have read the core chapters of this book, particularly the chapter on Internet access.

Basic SSL Operation

The preview of this section was stepped on by Godzilla.

Problems in Paradise

The preview of this section was last seen in the Bermuda Triangle.

Introducing Network Security Configuration

The preview of this section was last seen in the Bermuda Triangle.

SSL Problems and Network Security Configuration

The preview of this section was accidentally identified as an Android 'tasty treat' by the Cookie Monster.

Other SSL Strengthening Techniques

The preview of this section was whisked away by a shark-infested tornado.

Advanced Uses of CWAC-NetSecurity

The preview of this section was abducted by space aliens.

NetCipher

The preview of this section is being chased by zombies.