Package Crypto :: Package Util :: Module asn1 :: Class DerObject
[hide private]
[frames] | no frames]

Class DerObject

Known Subclasses:

Instance Methods [hide private]
 
__init__(self, ASN1Type=None)
 
_lengthOctets(self, payloadLen)
Return an octet string that is suitable for the BER/DER length element if the relevant payload is of the given size (in bytes).
 
encode(self)
 
_decodeLen(self, idx, str)
Given a string and an index to a DER LV, this function returns a tuple with the length of V and an index to the first byte of it.
 
decode(self, input, noLeftOvers=0)
Class Variables [hide private]
  typeTags = {'BIT STRING': '\x03', 'INTEGER': '\x02', 'SEQUENCE...
Class Variable Details [hide private]

typeTags

Value:
{'BIT STRING': '\x03', 'INTEGER': '\x02', 'SEQUENCE': '0'}