|
LINK="#0000bb" VLINK="#551a8b" ALINK="#ff0000">
BER methods for ASN.1 universal data types
The pysnmp.asn1.ber.univ module implements BER encoders
and decoders for universal ASN.1 types. Each of these classes is designed
to be mixed into corresponding universal ASN.1
class for adding BER functionality to the resultant super class.
The following classes implement BER methods for simple
ASN.1 types:
- class Boolean()
- class Integer()
- class BitString()
- class OctetString()
- class Null()
- class ObjectIdentifier()
-
These classes are derived from
SimpleAsn1Object class, and do not define any additional public
methods.
The following classes implement BER methods for structured
ASN.1 types:
- class Sequence()
-
These classes are derived from
OrderedFixedTypeAsn1Object class, and do not define any additional
public methods.
- class SequenceOf()
-
These classes are derived from
OrderedVariableTypeAsn1Object class, and do not define any additional
public methods.
- class Set()
-
These classes are derived from
UnorderedFixedTypeAsn1Object class, and do not define any additional
public methods.
- class SetOf()
-
These classes are derived from
UnorderedVariableTypeAsn1Object class, and do not define any
additional public methods.
- class Choice()
-
These classes are derived from
SingleFixedTypeAsn1Object class, and do not define any additional
public methods.
Methods of the above classes may raise exceptions based on
error.BerError base class as well as
ASN.1 specific exceptions.
ilya@glas.net
|