o
    ßý°jÛ  ã                   @   s    d Z ddlmZmZmZ ddlmZmZ ddlm	Z	 ddl
mZ edƒZe	deƒZG dd	„ d	eƒZG d
d„ deƒZG dd„ deƒZG dd„ deƒZddd„ZdS )Ú
é    )ÚOctetStringÚIntegerÚSequence)Ú
NamedTypesÚ	NamedType)ÚValueRangeConstrainté   )Úbuild_controliÿÿÿc                   @   s   e Zd Zeje ZdS )ÚInteger0ToMaxN)Ú__name__Ú
__module__Ú__qualname__r   ÚsubtypeSpecÚrangeInt0ToMaxConstraint© r   r   ú‰/root/aizidognhua/tmp/workspace/projects/ec89d86c-575f-41c9-af57-ac45cbdbf775/venv/lib/python3.10/site-packages/ldap3/protocol/rfc2696.pyr   (   s    r   c                   @   ó   e Zd ZdS )ÚSizeN©r   r   r   r   r   r   r   r   ,   ó    r   c                   @   r   )ÚCookieNr   r   r   r   r   r   1   r   r   c                   @   s&   e Zd Zeedeƒ ƒedeƒ ƒƒZdS )ÚRealSearchControlValueÚsizeÚcookieN)r   r   r   r   r   r   r   ÚcomponentTyper   r   r   r   r   6   s    
ÿr   Fé
   Nc                 C   s:   t ƒ }| dt|ƒ¡ | dt|r|ndƒ¡ td| |ƒS )Nr   r   Ú z1.2.840.113556.1.4.319)r   ÚsetComponentByNamer   r   r
   )Úcriticalityr   r   Úcontrol_valuer   r   r   Úpaged_search_controlA   s   r!   )Fr   N)Ú__doc__Úpyasn1.type.univr   r   r   Úpyasn1.type.namedtyper   r   Úpyasn1.type.constraintr   Úcontrolsr
   ÚMAXINTr   r   r   r   r   r!   r   r   r   r   Ú<module>   s    
