Package ldaptor :: Package protocols :: Module pureber
[show private | hide private]
[frames | no frames]

Module ldaptor.protocols.pureber

Pure, simple, BER encoding and decoding
Classes
BERBase  
BERBoolean  
BERDecoderContext  
BEREnumerated  
BERInteger  
BERNull  
BEROctetString  
BERSequence  
BERSequenceOf  
BERSet  
BERStructured  

Exceptions
BERException  
BERExceptionInsufficientData  
UnknownBERTag  

Function Summary
  ber2int(e, signed)
  ber2object(context, m)
ber2object(mutablestring) -> berobject Modifies mutablestring to remove decoded part.
  berlen2int(m)
  int2ber(i)
  int2berlen(i)
  need(buf, n)

Variable Summary
int CLASS_APPLICATION = 64                                                                    
int CLASS_CONTEXT = 128                                                                   
int CLASS_MASK = 192                                                                   
int CLASS_PRIVATE = 192                                                                   
int CLASS_UNIVERSAL = 0                                                                     
int NOT_STRUCTURED = 0                                                                     
int STRUCTURED = 32                                                                    
int STRUCTURED_MASK = 32                                                                    
int TAG_MASK = 31                                                                    

Function Details

ber2object(context, m)

ber2object(mutablestring) -> berobject Modifies mutablestring to remove decoded part. May give None

Variable Details

CLASS_APPLICATION

Type:
int
Value:
64                                                                    

CLASS_CONTEXT

Type:
int
Value:
128                                                                   

CLASS_MASK

Type:
int
Value:
192                                                                   

CLASS_PRIVATE

Type:
int
Value:
192                                                                   

CLASS_UNIVERSAL

Type:
int
Value:
0                                                                     

NOT_STRUCTURED

Type:
int
Value:
0                                                                     

STRUCTURED

Type:
int
Value:
32                                                                    

STRUCTURED_MASK

Type:
int
Value:
32                                                                    

TAG_MASK

Type:
int
Value:
31                                                                    

Generated by Epydoc 2.1 on Tue Aug 17 17:08:22 2004 http://epydoc.sf.net