I need to be able to decode and encode PER-encoded octet strings using Python. I found PyASN1, but it doesn't include a PER codec. Is there another solution out there? How difficult would it be to write a PER codec?
+1
A:
If, I remember well, there is an incomplete implementation / support of PER encoding format in SNMPy .
pyfunc
2010-10-14 22:09:28
All I can find is the snmpy_hex_to_binary() function in snmpymodule.c. That may help. I'll see.
Daryl Spitzer
2010-10-14 22:28:26