a
    ž˜ëj  ã                   @  s8   d dl mZ d dlZd dlmZ G dd„ dejd�ZdS )é    )ÚannotationsN)ÚBufferc                   @  sR   e Zd Zejdddœdd„ƒZejddddœdd	„ƒZejdddd
œdd„ƒZdS )ÚKeyDerivationFunctionÚbytes)Úkey_materialÚreturnc                 C  s   dS )zo
        Deterministically generates and returns a new key based on the existing
        key material.
        N© )Úselfr   r   r   új/mnt/bigstor/www/usecases/.venv/lib/python3.9/site-packages/cryptography/hazmat/primitives/kdf/__init__.pyÚderive   s    zKeyDerivationFunction.deriver   ÚNone)r   Úbufferr   c                 C  s   dS )zˆ
        Deterministically generates a new key based on the existing key
        material and stores it in the provided buffer.
        Nr   )r	   r   r   r   r   r
   Úderive_into   s    z!KeyDerivationFunction.derive_into)r   Úexpected_keyr   c                 C  s   dS )zš
        Checks whether the key generated by the key material matches the
        expected derived key. Raises an exception if they do not match.
        Nr   )r	   r   r   r   r   r
   Úverify   s    zKeyDerivationFunction.verifyN)Ú__name__Ú
__module__Ú__qualname__ÚabcÚabstractmethodr   r   r   r   r   r   r
   r      s   r   )Ú	metaclass)Ú
__future__r   r   Zcryptography.utilsr   ÚABCMetar   r   r   r   r
   Ú<module>   s   