JCE cannot authenticate the provider BC
JCE cannot authenticate the provider BC
最近想通过J2OBJC来转换bouncycastle包,发现通过源码来打成jar包导入项目会报错:
JCE cannot authenticate the provider BC
通过资料查找,发现如下:
all JCE provider JARs must be signed before they will be trusted by your Java runtime.
BouncyCastle dutifully supplies signed JARs that will work without a problem. However, if you extract class files from this JAR, or recompile the source, it will remove the signature and cause Java to reject the code.
也就是说我们另外打包后并没有签名.
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~