Home | Trees | Index | Help |
|
---|
Package ldaptor :: Package protocols :: Module pureber |
|
Classes | |
---|---|
BERBase |
|
BERBoolean |
|
BERDecoderContext |
|
BEREnumerated |
|
BERInteger |
|
BERNull |
|
BEROctetString |
|
BERSequence |
|
BERSequenceOf |
|
BERSet |
|
BERStructured |
Exceptions | |
---|---|
BERException |
|
BERExceptionInsufficientData |
|
UnknownBERTag |
Function Summary | |
---|---|
ber2int(e,
signed)
| |
Return a tuple of (length, lengthLength). | |
berDecodeMultiple(content, berdecoder) -> [objects] | |
berDecodeObject(context, string) -> (berobject, bytesUsed) berobject may be None. | |
int2ber(i,
signed)
| |
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 |
---|
berDecodeLength(m, offset=0)Return a tuple of (length, lengthLength). m must be atleast one byte long. |
berDecodeMultiple(content, berdecoder)berDecodeMultiple(content, berdecoder) -> [objects] Decodes everything in content and returns a list of decoded objects. All of content will be decoded, and content must contain complete BER objects. |
berDecodeObject(context, m)berDecodeObject(context, string) -> (berobject, bytesUsed) berobject may be None. |
Variable Details |
---|
CLASS_APPLICATION
|
CLASS_CONTEXT
|
CLASS_MASK
|
CLASS_PRIVATE
|
CLASS_UNIVERSAL
|
NOT_STRUCTURED
|
STRUCTURED
|
STRUCTURED_MASK
|
TAG_MASK
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Fri May 6 14:58:11 2005 | http://epydoc.sf.net |