+
    4i                    P   R t ^ RIHt ^ RIHtHt ]'       d   ^RIHt ^ RIt ! R R]	4      t
]P                  ! RR7       ! R	 R
4      4       t ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      t]P                  ! RR7       ! R R]4      4       t ! R R]4      tR# )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                      ] tR t^tRtRtR# )SubjectAltNameWarningz
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____firstlineno____doc____static_attributes__r       =/usr/lib/python3/dist-packages/service_identity/exceptions.pyr   r      s    
r   r   T)slotsc                  D    ] tR t^!t$ ]P
                  ! 4       tR]R&   RtR# )Mismatchr   mismatched_idr   N)	r
   r   r   r   attribr   __annotations__r   r   r   r   r   r   !   s    #wwyM9(r   r   c                      ] tR t^&tRtRtR# )DNSMismatchz(
No matching DNSPattern could be found.
r   Nr	   r   r   r   r   r   &       r   r   c                      ] tR t^,tRtRtR# )SRVMismatchz(
No matching SRVPattern could be found.
r   Nr	   r   r   r   r   r   ,   r   r   r   c                      ] tR t^2tRtRtR# )URIMismatchz(
No matching URIPattern could be found.
r   Nr	   r   r   r   r   r   2   r   r   r   c                      ] tR t^8tRtRtR# )IPAddressMismatchz.
No matching IPAddressPattern could be found.
r   Nr	   r   r   r   r!   r!   8   r   r   r!   )auto_excc                  T    ] tR t^>t$ Rt]P                  ! 4       tR]R&   R R lt	Rt
R# )VerificationErrorz'
Service identity verification failed.
zSequence[Mismatch]errorsc                   V ^8  d   QhRR/# )   returnstrr   )formats   "r   __annotate__VerificationError.__annotate__F   s       r   c                	"    V P                  4       # )N)__repr__)selfs   &r   __str__VerificationError.__str__F   s    }}r   r   N)r
   r   r   r   r   r   r   r%   r   r0   r   r   r   r   r$   r$   >   s$     "&F* r   r$   c                      ] tR t^JtRtRtR# )CertificateErrorz
Certificate contains invalid or unexpected data.

This includes the case where s certificate contains no
``subjectAltName``\ s.
r   Nr	   r   r   r   r3   r3   J   s    r   r3   )r   
__future__r   typingr   r   hazmatr   r   DeprecationWarningr   sr   r   r   r   r!   	Exceptionr$   r3   r   r   r   <module>r:      s    # * ! .  d) ) )( ( (   	  y r   