HEX
Server: LiteSpeed
System: Linux php-prod-1.spaceapp.ru 5.15.0-157-generic #167-Ubuntu SMP Wed Sep 17 21:35:53 UTC 2025 x86_64
User: xnsbb3110 (1041)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //usr/local/CyberCP/lib/python3.10/site-packages/asyncssh/crypto/__pycache__/misc.cpython-310.pyc
o

�ha	�@s�UdZddlmZmZmZddlmZmZmZddlm	Z	m
Z
ddlmZddlm
Z
mZmZddlmZmZmZeejejeje	je
jfZeejejeje	je
jfZeeefZdd	�e
eeeeefD�Z ee!egeffe"d
<Gdd�d�Z#d
S)z0Miscellaneous PyCA utility classes and functions�)�Callable�Mapping�Union)�dsa�ec�rsa)�ed25519�ed448)�
HashAlgorithm)�MD5�SHA1�SHA224)�SHA256�SHA384�SHA512cCsi|]}t|j�|�qS�)�str�name)�.0�hrr�G/usr/local/CyberCP/lib/python3.10/site-packages/asyncssh/crypto/misc.py�
<dictcomp>+s�r�hashesc	@sdeZdZdZdefdd�Zedefdd��Zdd	ed
e	defdd�Z
dd	ed
ed
e	defdd�ZdS)�	CryptoKeyz'Base class for PyCA private/public keys�pyca_keycCs
||_dS)N��	_pyca_key)�selfrrrr�__init__3s
zCryptoKey.__init__�returncCs|jS)z/Return the PyCA object associated with this keyr)rrrrr6szCryptoKey.pyca_key��data�	hash_namecC�t�)zSign a block of data��RuntimeError)rr!r"rrr�sign<�zCryptoKey.sign�sigcCr#)z'Verify the signature on a block of datar$)rr!r(r"rrr�verifyBr'zCryptoKey.verifyN)r )
�__name__�
__module__�__qualname__�__doc__�PyCAKeyr�propertyr�bytesrr&�boolr)rrrrr0s rN)$r-�typingrrr�)cryptography.hazmat.primitives.asymmetricrrrrr	�%cryptography.hazmat.primitives.hashesr
rrr
rrr�
DSAPrivateKey�
RSAPrivateKey�EllipticCurvePrivateKey�Ed25519PrivateKey�Ed448PrivateKey�PyCAPrivateKey�DSAPublicKey�RSAPublicKey�EllipticCurvePublicKey�Ed25519PublicKey�Ed448PublicKey�
PyCAPublicKeyr.rr�__annotations__rrrrr�<module>s(
�
��