<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet"
        integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css"
        integrity="sha512-SzlrxWUlpfuzQ+pcUCosxcglQRNAq/DZjVsC0lE40xsADsfeQoEypE+enwcOiGjk/bSuGGKHEyjSoQ1zVisanQ=="
        crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
</html>
3
lá˜_å  ã               @   sp   d dl mZmZmZ d dlZd dlZd dlmZmZ ej	ej
ƒG dd„ deƒƒZej	ej
ƒG dd„ deƒƒZdS )é    )Úabsolute_importÚdivisionÚprint_functionN)ÚUnsupportedAlgorithmÚ_Reasonsc               @   s&   e Zd Zedd„ ƒZejdd„ ƒZdS )ÚX25519PublicKeyc             C   s*   ddl m} |jƒ s tdtjƒ‚|j|ƒS )Nr   )Úbackendz3X25519 is not supported by this version of OpenSSL.)Ú,cryptography.hazmat.backends.openssl.backendr   Úx25519_supportedr   r   ÚUNSUPPORTED_EXCHANGE_ALGORITHMZx25519_load_public_bytes)ÚclsÚdatar   © r   ú/usr/lib64/python3.6/x25519.pyÚfrom_public_bytes   s    z!X25519PublicKey.from_public_bytesc             C   s   dS )z9
        The serialized bytes of the public key.
        Nr   )ÚselfÚencodingÚformatr   r   r   Úpublic_bytes   s    zX25519PublicKey.public_bytesN)Ú__name__Ú
__module__Ú__qualname__Úclassmethodr   ÚabcÚabstractmethodr   r   r   r   r   r      s   r   c               @   sN   e Zd Zedd„ ƒZedd„ ƒZejdd„ ƒZejdd„ ƒZ	ejd	d
„ ƒZ
dS )ÚX25519PrivateKeyc             C   s(   ddl m} |jƒ s tdtjƒ‚|jƒ S )Nr   )r   z3X25519 is not supported by this version of OpenSSL.)r	   r   r
   r   r   r   Zx25519_generate_key)r   r   r   r   r   Úgenerate%   s    zX25519PrivateKey.generatec             C   s*   ddl m} |jƒ s tdtjƒ‚|j|ƒS )Nr   )r   z3X25519 is not supported by this version of OpenSSL.)r	   r   r
   r   r   r   Zx25519_load_private_bytes)r   r   r   r   r   r   Úfrom_private_bytes0   s    z#X25519PrivateKey.from_private_bytesc             C   s   dS )z9
        The serialized bytes of the public key.
        Nr   )r   r   r   r   Ú
public_key<   s    zX25519PrivateKey.public_keyc             C   s   dS )z:
        The serialized bytes of the private key.
        Nr   )r   r   r   Zencryption_algorithmr   r   r   Úprivate_bytesB   s    zX25519PrivateKey.private_bytesc             C   s   dS )zY
        Performs a key exchange operation using the provided peer's public key.
        Nr   )r   Zpeer_public_keyr   r   r   ÚexchangeH   s    zX25519PrivateKey.exchangeN)r   r   r   r   r   r   r   r   r   r   r    r   r   r   r   r   #   s
   r   )Z
__future__r   r   r   r   ZsixZcryptography.exceptionsr   r   Zadd_metaclassÚABCMetaÚobjectr   r   r   r   r   r   Ú<module>   s   