Java ASN.1 验证库
是否有任何免费的开源 Java 库可以通过 模块定义文件。
Is there any free open-source java library to validate ASN.1 BER/DER/XER over module definitions file.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
是的,有(通常它是编码器/解码器库的一部分)例如:
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.
我想您可以使用一些 BouncyCastle 类来构建此功能。
也可能有用的东西: BERViewer
I guess you could use some of the BouncyCastle Classes for building this function.
Something that also might be usefull: BERViewer
如果您的 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.