Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android 4.3 keychain example

I am trying to understand the keychain concept in android 4.3 and I will really appreciate it if I can get a example to understand it.

like image 955
Avijeet Avatar asked Aug 07 '13 06:08

Avijeet


People also ask

What is the Android KeyChain?

The KeyChain class provides access to private keys and their corresponding certificate chains in credential storage. Applications accessing the KeyChain normally go through these steps: Receive a callback from an X509KeyManager that a private key is requested.

What is KeyChain and keystore?

Use the Android Keystore provider to let an individual app store its own credentials that only the app itself can access. This provides a way for apps to manage credentials that are usable only by itself while providing the same security benefits that the KeyChain API provides for system-wide credentials.

What is a KeyChain used for?

A keychain (also key fob or keyring) is a small ring or chain of metal to which several keys can be attached. The length of a keychain allows an item to be used more easily than if connected directly to a keyring.


1 Answers

I was reading about it right now.

Basically the KeyChain class provides access to private keys and their corresponding certificate chains in credential storage. (Google says)

Here is Google's reference.

Also you can check this link.

Here you have a code sample too.

I hope it helps to you ;)

like image 71
Jose Antonio Benitez Montero Avatar answered Oct 06 '22 17:10

Jose Antonio Benitez Montero