JCE 提供者实施
我需要编写一个 java JCE 提供程序。我已经在网上查了好几天了,但找不到解决方案。您能给我一些有用的信息吗? 问候,
I need to write a java JCE provider. I have been looking in the net for several days and I could not find solution. Could you please give me some useful informaion.
Regards,
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
文档位于此处和此处,但是您为什么要这样做做这个吗?大多数主流加密算法已经由 Sun 或 BouncyCastle 实现。
Documentation is here and here, but why would you want to do this? Most of the mainstream cryptographic algorithms are implemented already either by Sun or BouncyCastle.
只是为了补充 ig 的答案,请注意,Sun/Oracle JDK 要求 JCE 提供程序由 Sun、Oracle 或 IBM CA 签名。这不是你可以轻易实现的目标(如果有的话)。
因此,如果只是出于教育目的,您可以遵循 文档用于开发并使用OpenJDK进行测试,因为它不需要JCE提供者进行签名。
还有一个可用的 Windows OpenJDK 版本。
Just to add to ig's answer, note that the Sun/Oracle JDK requires the JCE provider to be signed by Sun, Oracle or IBM CA. This isn't something you can achieve easily (if at all).
So if it's just for educational purposes, you can follow the documentation for development and use OpenJDK for testing, because it does not require the JCE provider to be signed.
There's also a Windows OpenJDK version available.