Package dpkt :: Module asn1
[show private | hide private]
[frames | no frames]

Module dpkt.asn1

Abstract Syntax Notation #1.

Function Summary
  decode(buf)
Sleazy ASN.1 decoder.
  utctime(buf)
Convert ASN.1 UTCTime string to UTC float.

Variable Summary
int APPLICATION = 64                                                                    
int CLASSMASK = 192                                                                   
int CONSTRUCTED = 32                                                                    
int CONTEXT = 128                                                                   
int INTEGER = 2                                                                     
int NULL = 5                                                                     
int PRIVATE = 192                                                                   
int TAGMASK = 31                                                                    
int UNIVERSAL = 0                                                                     
int UTC_TIME = 23                                                                    

Function Details

decode(buf)

Sleazy ASN.1 decoder.
Return list of (id, value) tuples from ASN.1 BER/DER encoded buffer.

utctime(buf)

Convert ASN.1 UTCTime string to UTC float.

Variable Details

APPLICATION

Type:
int
Value:
64                                                                    

CLASSMASK

Type:
int
Value:
192                                                                   

CONSTRUCTED

Type:
int
Value:
32                                                                    

CONTEXT

Type:
int
Value:
128                                                                   

INTEGER

Type:
int
Value:
2                                                                     

NULL

Type:
int
Value:
5                                                                     

PRIVATE

Type:
int
Value:
192                                                                   

TAGMASK

Type:
int
Value:
31                                                                    

UNIVERSAL

Type:
int
Value:
0                                                                     

UTC_TIME

Type:
int
Value:
23                                                                    

Generated by Epydoc 2.1 on Sun Oct 1 11:24:14 2006 http://epydoc.sf.net