若要加载Windows中的证书我用:如何在Linux中以编程方式列出所有SSL/TLS证书?
KeyStore keystore = KeyStore.getInstance("WINDOWS-ROOT"); //and WINDOWS-MY
keystore.load(null, null);
// here operations to make the list
在安卓
KeyStore keystore = KeyStore.getInstance("AndroidCAStore");
keystore.load(null, null);
// here operations to make the list
我如何能做到这一点的Linux呢?如果使用这个API在Linux下无法完成,我怎么能以另一种方式来完成?
是的,它不起作用。它会打开空的“jks”(java keystore)密钥库。无论如何感谢您的尝试! – VanDir