ldap3.utils.asn1 module

class ldap3.utils.asn1.LDAPBooleanEncoder

Bases: pyasn1.codec.ber.encoder.AbstractItemEncoder

encodeValue(value, asn1Spec, encodeFun, **options)
supportIndefLenMode = False
ldap3.utils.asn1.compute_ber_size(data)

Compute size according to BER definite length rules Returns size of value and value offset

ldap3.utils.asn1.decode_bind_response(message, start, stop, context_decoders=None)
ldap3.utils.asn1.decode_boolean(message, start, stop, context_decoders=None)
ldap3.utils.asn1.decode_controls(message, start, stop, context_decoders=None)
ldap3.utils.asn1.decode_extended_response(message, start, stop, context_decoders=None)
ldap3.utils.asn1.decode_integer(message, start, stop, context_decoders=None)
ldap3.utils.asn1.decode_intermediate_response(message, start, stop, context_decoders=None)
ldap3.utils.asn1.decode_message_fast(message)
ldap3.utils.asn1.decode_octet_string(message, start, stop, context_decoders=None)
ldap3.utils.asn1.decode_sequence(message, start, stop, context_decoders=None)
ldap3.utils.asn1.get_byte(x)
ldap3.utils.asn1.get_bytes(x)
ldap3.utils.asn1.ldap_result_to_dict_fast(response)