o
    b                     @   s4   d dl Z G dd de jdZG dd de jdZdS )    Nc                   @   s8   e Zd ZejdeddfddZejdefddZdS )AsymmetricSignatureContextdatareturnNc                 C      dS zC
        Processes the provided bytes and returns nothing.
        N selfr   r   r   q/var/www/secure340b-portal/env/lib/python3.10/site-packages/cryptography/hazmat/primitives/asymmetric/__init__.pyupdate
       z!AsymmetricSignatureContext.updatec                 C   r   )z1
        Returns the signature as bytes.
        Nr   r	   r   r   r
   finalize   r   z#AsymmetricSignatureContext.finalize)__name__
__module____qualname__abcabstractmethodbytesr   r   r   r   r   r
   r   	   s
    r   )	metaclassc                   @   s4   e Zd ZejdeddfddZejdddZdS )	AsymmetricVerificationContextr   r   Nc                 C   r   r   r   r   r   r   r
   r      r   z$AsymmetricVerificationContext.updatec                 C   r   )z
        Raises an exception if the bytes provided to update do not match the
        signature or the signature does not match the public key.
        Nr   r   r   r   r
   verify   r   z$AsymmetricVerificationContext.verify)r   N)r   r   r   r   r   r   r   r   r   r   r   r
   r      s
    r   )r   ABCMetar   r   r   r   r   r
   <module>   s   