java.lang.SecurityException:JCE cannot authenticate the provider BC
出现:java.lang.SecurityException:JCE cannot authenticate the provider BC
2种方法:修改jdk的提供者:
- 在jdk/jre/lib/sercurity/java.security 增加 security.provider.11=org.bouncycastle.jce.provider.BouncyCastleProvider
- 导入bcprov-jdk15-145.jar
文章来自:http://www.cnblogs.com/enaihei/p/4809283.html