问题
I am trying to achieve certificate based multi factor authentication in Android device. In my app the first level authentication is with password and next level is with client certificate. I am trying to achieve the same in my app and I have few doubts related to this.
Doubt 1
When I try to install my certificate It is going and saving to User Credentials in Settings – Security.
When I look into my device I can see two options in Security. Trusted Credentials and User Credentials. What is the difference between these two. Why it is going to User Credentials instead of Trusted Credentials.
Doubt 2
I need to read this certificate information from User Credentials and Need to send it along with all my Http Requests. How can I read this information from User Credential.
Also I am not sure If I am going in the correct direction or not. Could you please guide me if I am trying something not possible. I am afraid because I can see lot of discussions related to this topic while searching in Google but most of it are neither significant nor giving a complete direction about how to start.
来源:https://stackoverflow.com/questions/57389622/client-certificate-based-multifactor-authentication-in-android