nelenkov / keystore-test

Sample code for ICS security blog posts

Home Page:http://nelenkov.blogspot.com/2011/11/using-ics-keychain-api.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Sample code for ICS security blog posts

http://nelenkov.blogspot.com/2011/11/using-ics-keychain-api.html

License:Other


Languages

Language:Java 95.8%Language:Perl 4.2%