是否存在免费的通用 ASN.1 解码/转储/检查程序?
是否存在免费的通用 ASN.1 解码/转储/检查程序? 我有一个可疑的 ASN.1 块,可能解密失败,我想检查它以查看它是否有效,如果有效,它包含哪些元素。
Does a free general purpose ASN.1 Decode/Dump/Inspect program exist? I have a suspect ASN.1 block which may have failed decryption, and I would like to inspect it to see it it appears valid, and if so what elements it contains.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我还使用了
dumpasn1
并取得了良好的成功几年),然后我决定在屏幕上查看 200 行长嵌套标签有点困难,并且想要一些更动态的东西,这样我就可以倒塌部分树之类的东西。这就是我试图用我自己的 asn1js 客户端 javascript ASN.1 解码器创建的内容。 它也是开源的,并使用 dumpasn1 巨大的“已知 OID”配置文件。
不会尝试检测所有 ASN.1 格式错误,只会检测无法解码的错误...(例如,不会费心区分 DER 与 BER,例如带有额外前导零的 INTEGER)
是的,这是无耻的自我-促销,但我希望您能发现该软件与您所遇到的问题相关。 ;-)
I also used
dumpasn1
with good success for a couple of years), then I decided that looking at 200-lines long nested tags was a bit difficult to follow onscreen and wanted something more dynamic, so that I could collapse parts of the tree and stuff like that.That's what I'm trying to create with my very own asn1js client-side javascript ASN.1 decoder. It's also opensource and uses dumpasn1's huge "known OIDs" config file.
Doesn't try to detect all ASN.1 format errors, only the impossible-to-decode ones... (e.g. won't bother to differentiate DER from BER such as an INTEGER with extra leading zeros)
Yep, this is shameless self-promotion, but I hope you can find that software useful related to the problem you have in your question. ;-)
我最喜欢的 ASN.1 查看工具是 Peter Gutmann 的 dumpasn1。 仅命令行,但非常灵活,并在出现错误时提供诊断。
My favorite tool for ASN.1 viewing is Peter Gutmann's dumpasn1. Command-line only, but very flexible and gives diagnostics in case of errors.
这个查看器实用程序是免费的,而且看起来相当不错。
http://lipingshare.com/Asn1Editor/
This viewer utility is free, and seems quite good.
http://lipingshare.com/Asn1Editor/