简体   繁体   English

如何获取安装在Android设备中的所有用户CA证书的列表?

[英]How to get list of all user CA certificates installed in an Android Device?

Need to get a list of all the user CA certificates installed on the device. 需要获取设备上安装的所有用户CA证书的列表。 We can get System certs by running 我们可以通过运行获得系统证书

adb shell cat /system/etc/security/cacerts/* | grep Issuer:

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. 如果不可能,我们是否可以打开显示设备中已安装CA证书的活动?

The activity which shows user added certificates is com.android.settings.TRUSTED_CREDENTIALS_USER . 显示用户添加的证书的活动是com.android.settings.TRUSTED_CREDENTIALS_USER

The certificates are stored in the /data/misc/keychain/cacerts-added folder 证书存储在/data/misc/keychain/cacerts-added文件夹中

Settings->Secutity->Trusted credentials. 设置->安全->受信任的凭据。 Go to the 'User' tab to see CAs installed by the user. 转到“用户”标签,查看用户安装的CA。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 获取Android设备上已安装的根CA的列表 - Getting the list of installed root CA on an android device 如何获取用户在 Android 设备上安装的应用列表? - How to get the list of apps that have been installed by a user on an Android device? 如何获取Android设备中所有已安装应用程序的apk列表 - How to get list of apk of all installed app in android device 如何获取 Android 设备上已安装应用程序的列表 - How to get a list of installed apps on Android device 列出 android 上所有已安装的证书 - Listing all installed certificates on android 如何在列表中获取所有共享应用程序(安装在设备上)? - How to get all share apps (installed on the device) in a list? 如何获取Android手机上安装的所有白日梦的列表 - How to get list of all daydreams installed on android phone 如何获取android中主屏幕Launcher中找到的所有已安装快捷方式的列表 - How to get the list of all installed shortcuts found in the homescreen Launcher in android Android 4.4:如何获取所有已安装打印机的列表? - Android 4.4: How to get a list of all installed printers? 在 android 中,如何获取所有已安装的外部 memory 的列表 - In android how can I get a list of all external memory installed
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM