B
    à%Q[Û  ã               @   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   ZsubtypeSpecÚrangeInt0ToMaxConstraint© r   r   úYC:\Users\HIRONO~1\AppData\Local\Temp\pip-install-6i93dh7p\ldap3\ldap3\protocol\rfc2696.pyr   (   s   r   c               @   s   e Zd ZdS )ÚSizeN)r   r   r   r   r   r   r   r   ,   s   r   c               @   s   e Zd ZdS )ÚCookieN)r   r   r   r   r   r   r   r   1   s   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   Z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   ZsetComponentByNamer   r   r
   )Zcriticalityr   r   Zcontrol_valuer   r   r   Úpaged_search_controlA   s    r   )Fr   N)Ú__doc__Zpyasn1.type.univr   r   r   Zpyasn1.type.namedtyper   r   Zpyasn1.type.constraintr   Úcontrolsr
   ÚMAXINTr   r   r   r   r   r   r   r   r   r   Ú<module>   s   
