Package Crypto :: Package Util :: Module asn1 :: Class DerNull
[frames] | no frames]

Class DerNull

DerObject --+
            |
           DerNull

Instance Methods
 
__init__(self)
Initialize the DER object according to a specific type.
    Inherited from DerObject
 
decode(self, derEle, noLeftOvers=0)
Decode a complete DER element, and re-initializes this object with it.
 
encode(self)
Return a complete DER element, fully encoded as a TLV.
 
isType(self, ASN1Type)
Class Variables
    Inherited from DerObject
  typeTags = {'BIT STRING': 3, 'INTEGER': 2, 'NULL': 5, 'OBJECT ...
Method Details

__init__(self)
(Constructor)

 

Initialize the DER object according to a specific type.

The ASN.1 type is either specified as the ASN.1 string (e.g. 'SEQUENCE'), directly with its numerical tag or with no tag at all (None).

Overrides: DerObject.__init__
(inherited documentation)