
    (pht                    ,   S SK Jr  S SKrS SKJrJr  S SKJr  S SK	J
r
  S SKJr   " S S\R                  S	9r\R                  \R                   R                  5         " S
 S\R                  S	9r\R                  \R                   R"                  5        g)    )annotationsN)UnsupportedAlgorithm_Reasons)openssl)_serialization)Bufferc                      \ rS rSr\S
S j5       r\R                        SS j5       r\R                  SS j5       r	\R                  SS j5       r
\R                  SS j5       r\R                  SS j5       rSrg	)Ed25519PublicKey   c                    SSK Jn  UR                  5       (       d  [        S[        R
                  5      e[        R                  R                  U5      $ Nr   )backendz4ed25519 is not supported by this version of OpenSSL.)	,cryptography.hazmat.backends.openssl.backendr   ed25519_supportedr   r    UNSUPPORTED_PUBLIC_KEY_ALGORITHMrust_openssled25519from_public_bytesclsdatar   s      d/var/www/html/venv/lib/python3.13/site-packages/cryptography/hazmat/primitives/asymmetric/ed25519.pyr   "Ed25519PublicKey.from_public_bytes   sF    H((**&F99 
 ##55d;;    c                    g)z)
The serialized bytes of the public key.
N )selfencodingformats      r   public_bytesEd25519PublicKey.public_bytes       r   c                    g)zH
The raw bytes of the public key.
Equivalent to public_bytes(Raw, Raw).
Nr   r   s    r   public_bytes_raw!Ed25519PublicKey.public_bytes_raw&   r"   r   c                    g)z
Verify the signature.
Nr   )r   	signaturer   s      r   verifyEd25519PublicKey.verify-   r"   r   c                    g)z
Checks equality.
Nr   )r   others     r   __eq__Ed25519PublicKey.__eq__3   r"   r   c                    gz
Returns a copy.
Nr   r$   s    r   __copy__Ed25519PublicKey.__copy__9   r"   r   r   N)r   bytesreturnr
   )r   _serialization.Encodingr   z_serialization.PublicFormatr4   r3   r4   r3   )r(   r   r   r   r4   None)r,   objectr4   boolr4   r
   )__name__
__module____qualname____firstlineno__classmethodr   abcabstractmethodr    r%   r)   r-   r1   __static_attributes__r   r   r   r
   r
      s    	< 	< 	) , 
	  	  	 
 	 
 	 r   r
   )	metaclassc                     \ rS rSr\SS j5       r\SS j5       r\R                  SS j5       r	\R                          SS j5       r
\R                  SS j5       r\R                  SS j5       r\R                  SS j5       rS	rg
)Ed25519PrivateKeyC   c                    SSK Jn  UR                  5       (       d  [        S[        R
                  5      e[        R                  R                  5       $ r   )	r   r   r   r   r   r   r   r   generate_key)r   r   s     r   generateEd25519PrivateKey.generateD   sD    H((**&F99 
 ##0022r   c                    SSK Jn  UR                  5       (       d  [        S[        R
                  5      e[        R                  R                  U5      $ r   )	r   r   r   r   r   r   r   r   from_private_bytesr   s      r   rL   $Ed25519PrivateKey.from_private_bytesP   sF    H((**&F99 
 ##66t<<r   c                    g)z4
The Ed25519PublicKey derived from the private key.
Nr   r$   s    r   
public_keyEd25519PrivateKey.public_key\   r"   r   c                    g)z*
The serialized bytes of the private key.
Nr   )r   r   r   encryption_algorithms       r   private_bytesEd25519PrivateKey.private_bytesb   r"   r   c                    g)zZ
The raw bytes of the private key.
Equivalent to private_bytes(Raw, Raw, NoEncryption()).
Nr   r$   s    r   private_bytes_raw#Ed25519PrivateKey.private_bytes_rawm   r"   r   c                    g)z
Signs the data.
Nr   )r   r   s     r   signEd25519PrivateKey.signt   r"   r   c                    gr0   r   r$   s    r   r1   Ed25519PrivateKey.__copy__z   r"   r   r   N)r4   rE   )r   r   r4   rE   r:   )r   r5   r   z_serialization.PrivateFormatrR   z)_serialization.KeySerializationEncryptionr4   r3   r6   )r   r   r4   r3   )r;   r<   r=   r>   r?   rI   rL   r@   rA   rO   rS   rV   rY   r1   rB   r   r   r   rE   rE   C   s    	3 	3 	= 	= 	 
 	) - H	
 
  	  	 
 	 r   rE   )
__future__r   r@   cryptography.exceptionsr   r   "cryptography.hazmat.bindings._rustr   r   cryptography.hazmat.primitivesr   cryptography.utilsr   ABCMetar
   registerr   rE   r   r   r   <module>rd      ss   
 # 
 B F 9 %. .b   ,..?? @;#++ ;|   <//AA Br   