Module ldap3::asn1 [] [src]

ASN.1 structure construction and parsing.

This section is deliberately under-documented; it's expected that the ASN.1 subsystem will be extensively overhauled in the future. If you need examples of using the present interface for, e.g., implementing a new extended operation or a control, consult the source of existing exops/controls.

Modules

write

BER encoding support.

Structs

Boolean

Boolean value.

Enumerated

Integer with a different tag.

ExplicitTag

Explicitly tagged value. LDAP uses implicit tagging, but external structures might not.

Integer

Integer value.

Null

Null value.

OctetString

String of bytes.

Sequence

Sequence of values.

Set

Set of values; doesn't allow duplicates.

StructureTag

ASN.1 structure prepared for serialization.

Enums

IResult

Holds the result of parsing functions

PL

Tagged value payload.

Tag

Set of basic ASN.1 types used by LDAP.

TagClass

Possible classes for a tag.

Traits

ASNTag

Conversion of a tag into a serializable form.

Functions

parse_tag

Parse raw BER data into a serializable structure.

parse_uint

Extract an unsigned integer value from BER data.