o
    >h                     @  sB   d dl mZ d dlmZ d dlmZ ejZejZG dd dZdS )    )annotations)asn1)hashesc                   @  s$   e Zd Zd
ddZedddZd	S )	Prehashed	algorithmhashes.HashAlgorithmc                 C  s&   t |tjs
td|| _|j| _d S )Nz#Expected instance of HashAlgorithm.)
isinstancer   HashAlgorithm	TypeError
_algorithmdigest_size_digest_size)selfr    r   /var/www/vedio/testing/chatpythonscript.ninositsolution.com/env/lib/python3.10/site-packages/cryptography/hazmat/primitives/asymmetric/utils.py__init__   s   zPrehashed.__init__returnintc                 C  s   | j S )N)r   )r   r   r   r   r      s   zPrehashed.digest_sizeN)r   r   )r   r   )__name__
__module____qualname__r   propertyr   r   r   r   r   r      s    
r   N)	
__future__r   "cryptography.hazmat.bindings._rustr   cryptography.hazmat.primitivesr   decode_dss_signatureencode_dss_signaturer   r   r   r   r   <module>   s   