o
    ¼>hÁ  ã                   @   sn   d dl Z d dlmZ eƒ ZG dd„ deƒZdd„ Zdd„ Zd	d
„ Zdd„ Z	dd„ Z
dd„ Zdd„ Zdd„ ZdS )é    N)Úimport_numpyc                   @   sF   e Zd ZdgZeddd„ƒZeddd„ƒZdd„ Zd	d
„ Zdd„ Z	dS )ÚAuthCryptosignRequestÚ_tabr   c                 C   s.   t j t jj||¡}tƒ }| ||| ¡ |S ©N)ÚflatbuffersÚencodeÚGetÚpackerÚuoffsetr   ÚInit)ÚclsÚbufÚoffsetÚnÚx© r   ú’/var/www/vedio/testing/chatpythonscript.ninositsolution.com/env/lib/python3.10/site-packages/autobahn/wamp/gen/wamp/proto/AuthCryptosignRequest.pyÚ	GetRootAs   s   zAuthCryptosignRequest.GetRootAsc                 C   s   |   ||¡S )z6This method is deprecated. Please switch to GetRootAs.)r   )r   r   r   r   r   r   ÚGetRootAsAuthCryptosignRequest   s   z4AuthCryptosignRequest.GetRootAsAuthCryptosignRequestc                 C   s   t j ||¡| _d S r   )r   ÚtableÚTabler   )Úselfr   Úposr   r   r   r      s   zAuthCryptosignRequest.Initc                 C   s6   t jj | j d¡¡}|dkr| j || jj ¡S d S )Né   r   )r   Únumber_typesÚUOffsetTFlagsÚpy_typer   ÚOffsetÚStringÚPos©r   Úor   r   r   ÚPubkey   s   zAuthCryptosignRequest.Pubkeyc                 C   s<   t jj | j d¡¡}|dkr| j t jj|| jj ¡S dS )Né   r   )	r   r   r   r   r   r   r   Ú
Uint8Flagsr   r    r   r   r   ÚChannelBinding#   s   z$AuthCryptosignRequest.ChannelBindingN)r   )
Ú__name__Ú
__module__Ú__qualname__Ú	__slots__Úclassmethodr   r   r   r"   r%   r   r   r   r   r   	   s    r   c                 C   s   |   d¡ d S )Né   )ÚStartObject©Úbuilderr   r   r   ÚAuthCryptosignRequestStart)   s    r/   c                 C   ó   t | ƒS r   )r/   r-   r   r   r   ÚStart*   ó   r1   c                 C   s   |   dtjj |¡d¡ d S )Nr   )ÚPrependUOffsetTRelativeSlotr   r   r   r   ©r.   Úpubkeyr   r   r   ÚAuthCryptosignRequestAddPubkey,   s    r6   c                 C   ó
   t | |ƒS r   )r6   r4   r   r   r   Ú	AddPubkey-   ó   
r8   c                 C   s   |   d|d¡ d S )Né   r   )ÚPrependUint8Slot©r.   ÚchannelBindingr   r   r   Ú&AuthCryptosignRequestAddChannelBinding/   s    r>   c                 C   r7   r   )r>   r<   r   r   r   ÚAddChannelBinding0   r9   r?   c                 C   s   |   ¡ S r   )Ú	EndObjectr-   r   r   r   ÚAuthCryptosignRequestEnd2   s    rA   c                 C   r0   r   )rA   r-   r   r   r   ÚEnd3   r2   rB   )r   Úflatbuffers.compatr   ÚnpÚobjectr   r/   r1   r6   r8   r>   r?   rA   rB   r   r   r   r   Ú<module>   s    