| |
- Asn1Object
-
- SimpleAsn1Object
- StructuredAsn1Object
-
- FixedTypeAsn1Object
-
- AnyTypeAsn1Object
- ChoiceTypeAsn1Object
- RecordTypeAsn1Object
- VariableTypeAsn1Object
class AnyTypeAsn1Object(FixedTypeAsn1Object) |
|
Base class for any-type ASN.1 objects |
|
- Method resolution order:
- AnyTypeAsn1Object
- FixedTypeAsn1Object
- StructuredAsn1Object
- Asn1Object
Methods defined here:
- __delitem__(self, key)
- Delete component by key
- __init__(self, **kwargs)
- Store dictionary args
- __setitem__(self, key, value)
- Set component by key & value
Data and other attributes defined here:
- initialComponent = None
Methods inherited from FixedTypeAsn1Object:
- __cmp__(self, other)
- Attempt to compare the payload of instances of the same class
- __getitem__(self, key)
- Return component by key
- __hash__(self)
- Returns hash of the payload value
- __len__(self)
- Get length of the object
- __repr__(self)
- Return native representation of instance payload
- __str__(self)
- Return string representation of class instance
- get(self, key, default=None)
- Lookup by key with default
- has_key(self, key)
- Return true if key exists
- items(self)
- Return a list of tuples (key, value)
- keys(self)
- Return a list of keys
- update(self, dict)
- Merge dict to ourselves
- values(self)
- Return a list of values
Data and other attributes inherited from StructuredAsn1Object:
- tagFormat = 32
Methods inherited from Asn1Object:
- getUnderlyingTag(self)
Data and other attributes inherited from Asn1Object:
- allowedTypes = ()
- constraints = ()
- tagCategory = 1
- tagClass = 0
- tagId = None
|
class Asn1Object |
|
Base class for all ASN.1 objects |
|
Methods defined here:
- getUnderlyingTag(self)
Data and other attributes defined here:
- allowedTypes = ()
- constraints = ()
- tagCategory = 1
- tagClass = 0
- tagFormat = None
- tagId = None
|
class ChoiceTypeAsn1Object(FixedTypeAsn1Object) |
|
Base class for choice-type ASN.1 objects |
|
- Method resolution order:
- ChoiceTypeAsn1Object
- FixedTypeAsn1Object
- StructuredAsn1Object
- Asn1Object
Methods defined here:
- __delitem__(self, key)
- Delete component by key
- __init__(self, **kwargs)
- Store dictionary args
- __setitem__(self, key, value)
- Set component by key & value
- componentFactoryBorrow(self, key)
Data and other attributes defined here:
- choiceComponents = []
- choiceNames = []
- initialComponent = None
Methods inherited from FixedTypeAsn1Object:
- __cmp__(self, other)
- Attempt to compare the payload of instances of the same class
- __getitem__(self, key)
- Return component by key
- __hash__(self)
- Returns hash of the payload value
- __len__(self)
- Get length of the object
- __repr__(self)
- Return native representation of instance payload
- __str__(self)
- Return string representation of class instance
- get(self, key, default=None)
- Lookup by key with default
- has_key(self, key)
- Return true if key exists
- items(self)
- Return a list of tuples (key, value)
- keys(self)
- Return a list of keys
- update(self, dict)
- Merge dict to ourselves
- values(self)
- Return a list of values
Data and other attributes inherited from StructuredAsn1Object:
- tagFormat = 32
Methods inherited from Asn1Object:
- getUnderlyingTag(self)
Data and other attributes inherited from Asn1Object:
- allowedTypes = ()
- constraints = ()
- tagCategory = 1
- tagClass = 0
- tagId = None
|
class RecordTypeAsn1Object(FixedTypeAsn1Object) |
|
Base class for fixed-structure ASN.1 objects |
|
- Method resolution order:
- RecordTypeAsn1Object
- FixedTypeAsn1Object
- StructuredAsn1Object
- Asn1Object
Methods defined here:
- __init__(self, **kwargs)
- Store dictionary args
- __setitem__(self, key, value)
- Set component by key & value
Data and other attributes defined here:
- fixedComponents = []
- fixedNames = []
Methods inherited from FixedTypeAsn1Object:
- __cmp__(self, other)
- Attempt to compare the payload of instances of the same class
- __getitem__(self, key)
- Return component by key
- __hash__(self)
- Returns hash of the payload value
- __len__(self)
- Get length of the object
- __repr__(self)
- Return native representation of instance payload
- __str__(self)
- Return string representation of class instance
- get(self, key, default=None)
- Lookup by key with default
- has_key(self, key)
- Return true if key exists
- items(self)
- Return a list of tuples (key, value)
- keys(self)
- Return a list of keys
- update(self, dict)
- Merge dict to ourselves
- values(self)
- Return a list of values
Data and other attributes inherited from StructuredAsn1Object:
- tagFormat = 32
Methods inherited from Asn1Object:
- getUnderlyingTag(self)
Data and other attributes inherited from Asn1Object:
- allowedTypes = ()
- constraints = ()
- tagCategory = 1
- tagClass = 0
- tagId = None
|
class SimpleAsn1Object(Asn1Object) |
|
Base class for a simple ASN.1 object. Defines behaviour and
properties of various non-structured ASN.1 objects. |
|
Methods defined here:
- __cmp__(self, other)
- Attempt to compare the payload of instances of the same class
- __hash__(self)
- Returns hash of the payload value
- __init__(self, value=None)
- Store ASN.1 value
- __nonzero__(self)
- Returns true if value is true
- __repr__(self)
- Return native representation of instance payload
- __str__(self)
- Return string representation of class instance
- componentFactoryBorrow(self, value=None)
- get(self)
- Get a value from object
- getTerminal(self)
- set(self, value)
- Set a value to object
Data and other attributes defined here:
- NORMAL_STATIC_TYPES = (<type 'int'>, <type 'long'>, <type 'str'>, <type 'NoneType'>, <type 'float'>, <type 'tuple'>)
- initialValue = None
- tagFormat = 0
- tagId = 0
Methods inherited from Asn1Object:
- getUnderlyingTag(self)
Data and other attributes inherited from Asn1Object:
- allowedTypes = ()
- constraints = ()
- tagCategory = 1
- tagClass = 0
|
class VariableTypeAsn1Object(StructuredAsn1Object) |
|
Base class for variable-structure ASN.1 objects |
|
- Method resolution order:
- VariableTypeAsn1Object
- StructuredAsn1Object
- Asn1Object
Methods defined here:
- __cmp__(self, other)
- Attempt to compare the payload of instances of the same class
- __delitem__(self, idx)
- Remove object by subscription
- __getitem__(self, idx)
- Get object by subscription
- __hash__(self)
- Returns hash of the payload value
- __init__(self, *args)
- Store possible components
- __len__(self)
- __repr__(self)
- Return native representation of instance payload
- __setitem__(self, idx, value)
- Set object by subscription
- __str__(self)
- Return string representation of class instance
- append(self, value)
- Append object to end
- clear(self)
- componentFactoryBorrow(self)
- componentFactoryReturn(self, *vals)
- extend(self, values)
- Extend list by appending list elements
- index(self, idx)
- insert(self, idx, value)
- Insert object before index
- pop(self, idx=None)
- Remove and return item at index (default last)
Data and other attributes defined here:
- initialValue = []
- protoComponent = None
Data and other attributes inherited from StructuredAsn1Object:
- tagFormat = 32
Methods inherited from Asn1Object:
- getUnderlyingTag(self)
Data and other attributes inherited from Asn1Object:
- allowedTypes = ()
- constraints = ()
- tagCategory = 1
- tagClass = 0
- tagId = None
| |