本文介绍了如何获取安装在Android设备中的所有用户CA证书的列表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
需要获取设备上安装的所有用户CA证书的列表。我们可以通过运行
Need to get a list of all the user CA certificates installed on the device. We can get System certs by running
adb shell cat / system / etc / security / cacerts / *获得系统证书。 grep发行者:
是否也有类似的方式来获取用户证书。如果不可能,我们是否可以打开显示设备中已安装CA证书的活动?
Is there a similar way to get user certs as well. If it is not possible, can we alteast open the Activity which shows the install CA certs in the device.
推荐答案
显示用户添加的证书的活动是 com.android.settings.TRUSTED_CREDENTIALS_USER
。
The activity which shows user added certificates is com.android.settings.TRUSTED_CREDENTIALS_USER
.
证书存储在 / data / misc / keychain / cacerts-添加的
文件夹中
这篇关于如何获取安装在Android设备中的所有用户CA证书的列表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!