o
    ¼>hÐ  ã                   @   sj   d dl mZmZmZmZmZ d dlmZ d dlm	Z	 deeee
ef e
f  deeee	f  fdd„ZdS )	é    )ÚListÚTupleÚDictÚAnyÚUnion)ÚEIP712DelegateCertificate)ÚEIP712AuthorityCertificateÚcertificatesÚreturnc                 C   sZ   g }| D ]&\}}}|d dkrt  |¡}n|d dkr!t |¡}nJ dƒ‚| |¡ q|S )z,

    :param certificates:
    :return:
    ÚprimaryTyper   r   Fzshould not arrive here)r   Úparser   Úappend)r	   Ú
cert_chainÚ	cert_hashÚ	cert_dataÚcert_sigÚcert© r   ú†/var/www/vedio/testing/chatpythonscript.ninositsolution.com/env/lib/python3.10/site-packages/autobahn/xbr/_eip712_certificate_chain.pyÚparse_certificate_chain!   s   Dr   N)Útypingr   r   r   r   r   Ú)autobahn.xbr._eip712_delegate_certificater   Ú*autobahn.xbr._eip712_authority_certificater   Ústrr   r   r   r   r   Ú<module>   s   ÿ