Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)

BasicAndroidKeyStore

This sample demonstrates how to use a {java.security.KeyStore} to safely create and store encryption keys that only your application can access. You can also sign data using those keys.

To see this in action, run the sample application and click:

  • Create to create a new KeyPair.
  • Sign to sign some data using a KeyPair.
  • Verify to verify the data using the signature provided.