
    +h^                       d dl mZ d dlZd dlmZ ej                  rd dlmZ ej                  Z	 G d de
      Z G d de
      Z G d	 d
e
      Z G d de
      Z G d de
      Z G d de
      Z G d de
      Z G d de
      Zy)    )annotationsN)
exceptions)opensslc                  .     e Zd Z	 d	 	 	 	 	 d fdZ xZS )UnsupportedAlgorithmc                2    t         |   |       || _        y N)super__init___reason)selfmessagereason	__class__s      J/var/www/html/venv/lib/python3.12/site-packages/cryptography/exceptions.pyr   zUnsupportedAlgorithm.__init__   s     	!    r	   )r   strr   ztyping.Optional[_Reasons]returnNone__name__
__module____qualname__r   __classcell__r   s   @r   r   r      s(    @D$=	 r   r   c                      e Zd Zy)AlreadyFinalizedNr   r   r    r   r   r   r          r   r   c                      e Zd Zy)AlreadyUpdatedNr   r   r   r   r"   r"      r    r   r"   c                      e Zd Zy)NotYetFinalizedNr   r   r   r   r$   r$   !   r    r   r$   c                      e Zd Zy)
InvalidTagNr   r   r   r   r&   r&   %   r    r   r&   c                      e Zd Zy)InvalidSignatureNr   r   r   r   r(   r(   )   r    r   r(   c                  ,     e Zd Z	 	 	 	 	 	 d fdZ xZS )InternalErrorc                2    t         |   |       || _        y r	   )r
   r   err_code)r   msgr,   r   s      r   r   zInternalError.__init__.   s     	 r   )r-   r   r,   z&typing.List[rust_openssl.OpenSSLError]r   r   r   r   s   @r   r*   r*   -   s%    !!"H!	! !r   r*   c                      e Zd Zy)
InvalidKeyNr   r   r   r   r/   r/   5   r    r   r/   )
__future__r   typing"cryptography.hazmat.bindings._rustr   rust_exceptionsTYPE_CHECKINGr   rust_openssl_Reasons	Exceptionr   r   r"   r$   r&   r(   r*   r/   r   r   r   <module>r8      s   
 #  L	J##9 	y 		Y 		i 		 		y 	!I !	 	r   