See Also: KeyChain Members
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:
An application may remember the value of a selected alias to avoid prompting the user with KeyChain.ChoosePrivateKeyAlias(Android.App.Activity, Android.Security.IKeyChainAliasCallback, Android.Security.IKeyChainAliasCallback, Android.Security.IKeyChainAliasCallback, Android.Security.IKeyChainAliasCallback, Android.Security.IKeyChainAliasCallback, Android.Security.IKeyChainAliasCallback) on subsequent connections. If the alias is no longer valid, null will be returned on lookups using that value
An application can request the installation of private keys and certificates via the Intent provided by KeyChain.CreateInstallIntent. Private keys installed via this Intent will be accessible via KeyChain.ChoosePrivateKeyAlias(Android.App.Activity, Android.Security.IKeyChainAliasCallback, Android.Security.IKeyChainAliasCallback, Android.Security.IKeyChainAliasCallback, Android.Security.IKeyChainAliasCallback, Android.Security.IKeyChainAliasCallback, Android.Security.IKeyChainAliasCallback) while Certificate Authority (CA) certificates will be trusted by all applications through the default X509TrustManager.