search

Home  >  Q&A  >  body text

如何使用python实现一个asn.1的解码器?

我想用python实现一个asn.1的解码器,不知道各位大神有什么好办法,如果存在库,最好能给一个完整且简单的示例来展示一下如何完成,谢谢!

PHPzPHPz2887 days ago498

reply all(1)I'll reply

  • PHP中文网

    PHP中文网2017-04-17 17:38:25

    You need to know that there is no universal decoder for the specific ASN.1 protocol.
    You can refer to the decoding of the SNMP library. This is an implementation of the ASN.1 format. See pysnmp https://pypi.python. org/pypi/pysnmp/4.3.1
    Protocol Description
    http://blog.csdn.net/zhangxinrun/article/details/6609292

    reply
    0
  • Cancelreply