tags:

views:

28

answers:

1

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
All I can find is the snmpy_hex_to_binary() function in snmpymodule.c. That may help. I'll see.
Daryl Spitzer