PHP WebShell

Текущая директория: /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/asymmetric/__pycache__

Просмотр файла: ed448.cpython-310.pyc

o

�)%aF
�@sPddlZddlmZmZddlmZGdd�dejd�ZGdd�dejd�ZdS)	�N)�UnsupportedAlgorithm�_Reasons)�_serializationc@sZeZdZededdfdd��Zejdej	dej
defdd��Zejd	edefd
d��ZdS)
�Ed448PublicKey�data�returncC�*ddlm}|��stdtj��|�|�S�Nr)�backendz2ed448 is not supported by this version of OpenSSL.)�,cryptography.hazmat.backends.openssl.backendr
�ed448_supportedrr� UNSUPPORTED_PUBLIC_KEY_ALGORITHM�ed448_load_public_bytes��clsrr
�r�Q/usr/lib/python3/dist-packages/cryptography/hazmat/primitives/asymmetric/ed448.py�from_public_bytes
��
z Ed448PublicKey.from_public_bytes�encoding�formatcC�dS)z9
        The serialized bytes of the public key.
        Nr)�selfrrrrr�public_bytes�zEd448PublicKey.public_bytes�	signaturecCr)z'
        Verify the signature.
        Nr)rrrrrr�verify#rzEd448PublicKey.verifyN)
�__name__�
__module__�__qualname__�classmethod�bytesr�abc�abstractmethodr�Encoding�PublicFormatrrrrrrrs���	r)�	metaclassc@s~eZdZeddd��Zededdfdd��Zejde	fdd��Z
ejdedefd	d
��Zejdej
dejd
ejfdd��ZdS)�Ed448PrivateKeyrcCs(ddlm}|��stdtj��|��Sr	)rr
rrrr
�ed448_generate_key)rr
rrr�generate+s�zEd448PrivateKey.generatercCrr	)rr
rrrr
�ed448_load_private_bytesrrrr�from_private_bytes6rz"Ed448PrivateKey.from_private_bytescCr)zB
        The Ed448PublicKey derived from the private key.
        Nr)rrrr�
public_keyBrzEd448PrivateKey.public_keycCr)z!
        Signs the data.
        Nr)rrrrr�signHrzEd448PrivateKey.signrr�encryption_algorithmcCr)z:
        The serialized bytes of the private key.
        Nr)rrrr.rrr�
private_bytesNrzEd448PrivateKey.private_bytesN)rr')rrrr r)r!r+r"r#rr,r-rr$�
PrivateFormat�KeySerializationEncryptionr/rrrrr'*s"
���r')	r"�cryptography.exceptionsrr�cryptography.hazmat.primitivesr�ABCMetarr'rrrr�<module>s


Выполнить команду


Для локальной разработки. Не используйте в интернете!