Java ASN.1 编译器

发布于 2024-07-22 20:49:11 字数 310 浏览 4 评论 0原文

现在,我正在使用 BinaryNotes 来解析 ASN.1 文件以在 Java 项目中使用。 它采用 ASN.1 定义并生成 Java 类,让我可以操作 ASN.1 文件。

我用扩展标记碰壁了(...),因为它不支持它们。 Source Forge 项目页面说他们将在下一个版本中出现,但最后一个版本是近两年前的,所以我担心该项目已经死了。

谁能推荐一个简单(且免费)的替代品,它可以做类似的事情并且支持扩展标记?

Right now I'm using BinaryNotes to parse ASN.1 files for use in a Java project. It takes an ASN.1 definition and produces Java class(s) that let me manipulate ASN.1 files.

I've hit a wall with extension markers (...) because it doesn't support them. The source forge project page says they're coming in the next release, but the last release was nearly 2 years ago so I fear the project is dead.

Can anyone recommend an easy (and $free) replacement that does a similar thing and does support extension markers?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

顾北清歌寒 2024-07-29 20:49:11

您是否尝试过Bouncy Castle

从网站:

适用于 Java 的 Bouncy Castle Crypto API 包含以下内容:

  • 轻量级加密 API。
  • Java 加密扩展和 Java 加密体系结构的提供者。
  • JCE 1.2.1 的洁净室实施。
  • 用于读取和写入编码 ASN.1 对象的库。
  • ...

Have you tried Bouncy Castle.

From the site:

Bouncy Castle Crypto APIs for Java consist of the following:

  • A lightweight cryptography API.
  • A provider for the Java Cryptography Extension and the Java Cryptography Architecture.
  • A clean room implementation of the JCE 1.2.1.
  • A library for reading and writing encoded ASN.1 objects.
  • ...
讽刺将军 2024-07-29 20:49:11

不支持二进制注释,但您可以尝试 OpenMuc 中的 jASN1。 它似乎部分基于 Binary Notes,目前处于活动状态。 jASN1 库可在其主页以及 org.openmuc 组下的 JCenter 和 Maven Central 上下载

Binary Notes is unsupported, but you can try jASN1 from OpenMuc. It appears to be based in part on Binary Notes and is currently active. The jASN1 libraries are available for download on their home page, and on JCenter and Maven Central under the group org.openmuc

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文