# `ldap.extop` High-level access to LDAPv3 extended operations

## Classes

This module defines the following classes:

class ldap.extop.ExtendedRequest(requestName, requestValue)

  Generic base class for a LDAPv3 extended operation request

  requestName

    OID as string of the LDAPv3 extended operation request

  requestValue

    value of the LDAPv3 extended operation request (here it is the BER-encoded ASN.1 request value)

  encodedRequestValue()

    returns the BER-encoded ASN.1 request value composed by class attributes set before

class ldap.extop.ExtendedResponse(responseName, encodedResponseValue)

  Generic base class for a LDAPv3 extended operation response

  requestName

    OID as string of the LDAPv3 extended operation response

  encodedResponseValue

    BER-encoded ASN.1 value of the LDAPv3 extended operation response

  decodeResponseValue(value)

    decodes the BER-encoded ASN.1 extended operation response value and sets the appropriate class attributes

## `ldap.extop.dds` Classes for Dynamic Entries extended operations

This requires `pyasn1` and `pyasn1_modules` to be installed.

See also

RFC 2589 - Lightweight Directory Access Protocol (v3): Extensions for Dynamic Directory Services

class ldap.extop.dds.RefreshRequest(requestName=None, entryName=None, requestTtl=None)
  class RefreshRequestValue(**kwargs)
    componentType = <NamedTypes object, types <NamedType object, type entryName=<LDAPDN schema object, tagSet <TagSet object, tags 128:0:0>, encoding iso-8859-1>>, <NamedType object, type requestTtl=<Integer schema object, tagSet <TagSet object, tags 128:0:1>>>>

      Default collection of ASN.1 types of component (e.g. `NamedType`) object imposing size constraint on Asn1Type objects

  encodedRequestValue()

    returns the BER-encoded ASN.1 request value composed by class attributes set before

class ldap.extop.dds.RefreshResponse(responseName, encodedResponseValue)
  class RefreshResponseValue(**kwargs)
    componentType = <NamedTypes object, types <NamedType object, type responseTtl=<Integer schema object, tagSet <TagSet object, tags 128:0:1>>>>

      Default collection of ASN.1 types of component (e.g. `NamedType`) object imposing size constraint on Asn1Type objects

  decodeResponseValue(value)

    decodes the BER-encoded ASN.1 extended operation response value and sets the appropriate class attributes