Uname : Linux serv1.rebootns.com 5.14.0-570.62.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Nov 11 10:10:59 EST 2025 x86_64
Soft : LiteSpeed
Ip : 139.99.125.122
Port : 443
~
/
usr
/
lib64
/
python3.9
/
site-packages
/
cryptography
/
hazmat
/
primitives
/
asymmetric
/
__pycache__
[ HOME ]
Exec
Submit
File Name : ed25519.cpython-39.pyc
a �a� � @ sX d dl Z d dlmZmZ d dlmZ dZdZG dd� de jd�Z G d d � d e jd�Z dS )� N)�UnsupportedAlgorithm�_Reasons)�_serialization� �@ c @ sT e Zd Zeed d�dd��Zejej ej ed�dd��Zejeedd�d d ��ZdS )�Ed25519PublicKey��data�returnc C s* ddl m} |�� s tdtj��|�|�S �Nr )�backendz4ed25519 is not supported by this version of OpenSSL.)�,cryptography.hazmat.backends.openssl.backendr �ed25519_supportedr r � UNSUPPORTED_PUBLIC_KEY_ALGORITHMZed25519_load_public_bytes��clsr r � r �W/usr/lib64/python3.9/site-packages/cryptography/hazmat/primitives/asymmetric/ed25519.py�from_public_bytes s �z"Ed25519PublicKey.from_public_bytes)�encoding�formatr c C s dS )z9 The serialized bytes of the public key. Nr )�selfr r r r r �public_bytes s zEd25519PublicKey.public_bytesN)� signaturer r c C s dS )z' Verify the signature. Nr )r r r r r r �verify'