Most visited


Recently visited


Added in API level 14

android.security

Provides access to a few facilities of the Android security subsystems.

Interfaces


KeyChainAliasCallback The KeyChainAliasCallback is the callback for choosePrivateKeyAlias(Activity, KeyChainAliasCallback, String[], Principal[], Uri, String)

Classes


KeyChain The KeyChain class provides access to private keys and their corresponding certificate chains in credential storage. 
KeyPairGeneratorSpec This class was deprecated in API level 23. Use KeyGenParameterSpec instead.  
KeyPairGeneratorSpec.Builder This class was deprecated in API level 23. Use KeyGenParameterSpec.Builder instead.  
KeyStoreParameter This class was deprecated in API level 23. Use KeyProtection instead.  
KeyStoreParameter.Builder This class was deprecated in API level 23. Use KeyProtection.Builder instead.  
NetworkSecurityPolicy Network security policy. 

Exceptions


KeyChainException Thrown on problems accessing the KeyChain

Get the latest Android developer news and tips that will help you find success on Google Play.

* Required Fields

Hooray!

Browse this site in English?

You requested a page in English, but your language preference for this site is English.

Would you like to change your language preference and browse this site in English? If you want to change your language preference later, use the language menu at the bottom of each page.