java.lang.SecurityException:JCE cannot authenticate the provider BC

技术分享

 

出现:java.lang.SecurityException:JCE cannot authenticate the provider BC

2种方法:修改jdk的提供者:

  1. 在jdk/jre/lib/sercurity/java.security 增加 security.provider.11=org.bouncycastle.jce.provider.BouncyCastleProvider
  2. 导入bcprov-jdk15-145.jar

 

文章来自:http://www.cnblogs.com/enaihei/p/4809283.html
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3