Java ASN.1 验证库

发布于 2024-11-25 17:49:05 字数 160 浏览 4 评论 0原文

是否有任何免费的开源 Java 库可以通过 模块定义文件

Is there any free open-source java library to validate ASN.1 BER/DER/XER over module definitions file.

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

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

发布评论

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

评论(3

风渺 2024-12-02 17:49:05

是的,有(通常它是编码器/解码器库的一部分)例如:

JAC (Java Asn.1如果您想 (1) 解析您的 asn1 文件 (2) 创建 .java 类和 (3) 对类的实例进行编码/解码,Compiler) 是一个适合您的工具。

Yes, there are (Usually it is a part of encoder/decoder library) e.g.:

JAC (Java Asn.1 Compiler) is a tool for you if you want to (1)parse your asn1 file (2)create .java classes and (3)encode/decode instances of your classes.

轮廓§ 2024-12-02 17:49:05

我想您可以使用一些 BouncyCastle 类来构建此功能。
也可能有用的东西: BERViewer

I guess you could use some of the BouncyCastle Classes for building this function.
Something that also might be usefull: BERViewer

冰雪梦之恋 2024-12-02 17:49:05

如果您的 ASN.1 模块定义文件不是很大并且您只是想验证定义是否正确,您可以在线使用此 工具。要测试您的定义文件,您可以解码编码的二进制数据 hexdump 或使用模块定义文件中定义的类型的 ASN.1 值表示法格式进行编码。

If your ASN.1 module definition file is not very big and if you just want to verify definitions are correct, you can use this online tool. To test your definition file you can decode either encoded binary data hexdump or encode using ASN.1 value notation format of your type which is defined in your module definition file.

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