Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
对于指定的密码,比如 RSA/ECB/PKCS1Padding,我如何查看可用的提供程序?我需要按名称引用它,这可用于 getInstance(String transformation, String provider) 重载。
Provider[] provides=Security.getProviders("Cipher.RSA"); for (int i = 0; i < provides.length; i++) { System.out.println("provider:"+provides[i].getName()); }