`

JCE cannot authenticate the provider BC

    博客分类:
  • Java
阅读更多

最近想通过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.

也就是说我们另外打包后并没有签名.

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics