B
    ˆuf  ã               @  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d„Zeddœdd„ƒZd	S )
Ú	Prehashedzhashes.HashAlgorithm)Ú	algorithmc             C  s&   t |tjƒstdƒ‚|| _|j| _d S )Nz#Expected instance of HashAlgorithm.)Ú
isinstancer   ZHashAlgorithmÚ	TypeErrorÚ
_algorithmÚdigest_sizeÚ_digest_size)Úselfr   © r   úq/home/ankuromar296_gmail_com/myenv/lib/python3.7/site-packages/cryptography/hazmat/primitives/asymmetric/utils.pyÚ__init__   s    zPrehashed.__init__Úint)Úreturnc             C  s   | j S )N)r   )r   r   r   r   r
      s    zPrehashed.digest_sizeN)Ú__name__Ú
__module__Ú__qualname__r   Úpropertyr
   r   r   r   r   r      s   r   N)	Ú
__future__r   Z"cryptography.hazmat.bindings._rustr   Zcryptography.hazmat.primitivesr   Zdecode_dss_signatureZencode_dss_signaturer   r   r   r   r   Ú<module>   s
   