Ë
    Õ¦eë  ã                  óB  — d Z ddlmZ ddlmZmZ erddlmZ ddlZ G d„ de	«      Z
 ej                  d	¬
«       G d„ d«      «       Z G d„ de«      Z G d„ de«      Z G d„ de«      Z G d„ de«      Z ej                  d	¬«       G d„ de«      «       Z G d„ de«      Zy)z¡
All exceptions and warnings thrown by ``service-identity``.

Separated into an own package for nicer tracebacks, you should still import
them from __init__.py.
é    )Úannotations)ÚTYPE_CHECKINGÚSequenceé   )Ú	ServiceIDNc                  ó   — e Zd ZdZy)ÚSubjectAltNameWarninga  
    This warning is not used anymore and will be removed in a future version.

    Formerly:

    Server Certificate does not contain a ``SubjectAltName``.

    Hostname matching is performed on the ``CommonName`` which is deprecated.

    .. deprecated:: 23.1.0
    N©Ú__name__Ú
__module__Ú__qualname__Ú__doc__© ó    ú=/usr/lib/python3/dist-packages/service_identity/exceptions.pyr	   r	      s   „ ò
r   r	   T)Úslotsc                  ó:   — e Zd ZU  ej                  «       Zded<   y)ÚMismatchr   Úmismatched_idN)r   r   r   ÚattrÚibr   Ú__annotations__r   r   r   r   r   !   s   … à&˜tŸw™w›y€M�9Ô(r   r   c                  ó   — e Zd ZdZy)ÚDNSMismatchz0
    No matching DNSPattern could be found.
    Nr
   r   r   r   r   r   &   ó   „ òr   r   c                  ó   — e Zd ZdZy)ÚSRVMismatchz0
    No matching SRVPattern could be found.
    Nr
   r   r   r   r   r   ,   r   r   r   c                  ó   — e Zd ZdZy)ÚURIMismatchz0
    No matching URIPattern could be found.
    Nr
   r   r   r   r   r   2   r   r   r   c                  ó   — e Zd ZdZy)ÚIPAddressMismatchz6
    No matching IPAddressPattern could be found.
    Nr
   r   r   r   r!   r!   8   r   r   r!   )Úauto_excc                  óF   — e Zd ZU dZ ej
                  «       Zded<   dd„Zy)ÚVerificationErrorz/
    Service identity verification failed.
    zSequence[Mismatch]Úerrorsc                ó"   — | j                  «       S )N)Ú__repr__)Úselfs    r   Ú__str__zVerificationError.__str__F   s   € Ø�}‰}‹Ðr   N)ÚreturnÚstr)	r   r   r   r   r   r   r%   r   r)   r   r   r   r$   r$   >   s!   … ñð ") §¡£€FÐÓ*ôr   r$   c                  ó   — e Zd ZdZy)ÚCertificateErrorz‘
    Certificate contains invalid or unexpected data.

    This includes the case where s certificate contains no
    ``subjectAltName``\ s.
    Nr
   r   r   r   r-   r-   J   s   „ òr   r-   )r   Ú
__future__r   Útypingr   r   Úhazmatr   r   ÚDeprecationWarningr	   Úsr   r   r   r   r!   Ú	Exceptionr$   r-   r   r   r   ú<module>r4      s°   ðñõ #ç *ñ Ý!ã ôÐ.ô ð €‡�ˆdÔ÷)ð )ó ð)ô�(ô ô�(ô ô�(ô ô˜ô ð €‡��Ôô˜	ó ó ðô�yõ r   