码迷,mamicode.com
首页 > 编程语言 > 详细

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

时间:2015-09-15 10:38:51      阅读:2233      评论:0      收藏:0      [点我收藏+]

标签:

技术分享

 

出现: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

 

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

标签:

原文地址:http://www.cnblogs.com/enaihei/p/4809283.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!