Android Question Selection of installed user certificates

nesam

Member
Licensed User
Longtime User
Hi,
I need that after manually installing the certificate on the device ("user credentials"), the user selects the new certificate in the application.
The android.security.KeyChain has a "choosePrivateKeyAlias" method. How to access it, via Intent or JavaObject. And how to restore data from KeyChainAliasCallback.

Thank you in advance.

choosePrivateKeyAlias (Activity activity, KeyChainAliasCallback response, String[] keyTypes, Principal[] issuers, String host, int port, String alias).
-"Call choosePrivateKeyAlias to allow the user to select from a list of currently available private keys and corresponding certificate chains. The chosen alias will be returned by the callback KeyChainAliasCallback#alias, or null if no private key is available or the user cancels the request."
 
Top