Sample code for ICS security blog posts
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
res
src/org/nick/keystoretest
.classpath
.project
AndroidManifest.xml
LICENSE
README
proguard.cfg
project.properties

README

Sample code for the 'Using the ICS KeyChain API' and related articles 
on http://nelenkov.blogspot.com/

How to use:

1. Create a CA with OpenSSL, issue an end entity certificate, create a 
PKCS#12 file.
2. Copy the CA certificte and PKCS#12 files to the device's external storage.

$ adb push cacert.pem /mnt/sdcard
$ adb push keystore-test.pfx /mnt/sdcard

3. Import the project in Eclipse, change the file name constants if needed, 
and run on a ICS device/emulator.
4. Press buttons to play. Most output goes to logcat, so a have a terminal 
window handy.