Skip to content

Most visited

Recently visited

navigation
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
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a one-minute survey?
Help us improve Android tools and documentation.