
    M j                    f   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\" \S
5      (       a%  \R!                  \R"                  R                  5         " S S\R                  S	9r\" \S5      (       a&  \R!                  \R"                  R$                  5        g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\R                  SS j5       rS	rg
)Ed448PublicKey   c                    SSK Jn  UR                  5       (       d  [        S[        R
                  5      e[        R                  R                  U5      $ Nr   )backendz2ed448 is not supported by this version of OpenSSL.)	,cryptography.hazmat.backends.openssl.backendr   ed448_supportedr   r    UNSUPPORTED_PUBLIC_KEY_ALGORITHMrust_openssled448from_public_bytesclsdatar   s      ڀ/root/GenerationalWealth/GenerationalWealth/venv/lib/python3.13/site-packages/cryptography/hazmat/primitives/asymmetric/ed448.pyr    Ed448PublicKey.from_public_bytes   sF    H&&((&D99 
 !!33D99    c                    g)z)
The serialized bytes of the public key.
N )selfencodingformats      r   public_bytesEd448PublicKey.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Ed448PublicKey.public_bytes_raw&   r"   r   c                    g)z
Verify the signature.
Nr   )r   	signaturer   s      r   verifyEd448PublicKey.verify-   r"   r   c                    g)z
Checks equality.
Nr   )r   others     r   __eq__Ed448PublicKey.__eq__3   r"   r   c                    gz
Returns a copy.
Nr   r$   s    r   __copy__Ed448PublicKey.__copy__9   r"   r   c                    gz
Returns a deep copy.
Nr   r   memos     r   __deepcopy__Ed448PublicKey.__deepcopy__?   r"   r   r   N)r   bytesreturnr
   )r   _serialization.Encodingr   z_serialization.PublicFormatr:   r9   r:   r9   )r(   r   r   r   r:   None)r,   objectr:   boolr:   r
   )r6   dictr:   r
   )__name__
__module____qualname____firstlineno__classmethodr   abcabstractmethodr    r%   r)   r-   r1   r7   __static_attributes__r   r   r   r
   r
      s    	: 	: 	) , 
	  	  	 
 	 
 	 
 	 r   r
   )	metaclassr   c                  <   \ 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\R                  SS	 j5       rS
rg)Ed448PrivateKeyJ   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Ed448PrivateKey.generateK   sD    H&&((&D99 
 !!..00r   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   rS   "Ed448PrivateKey.from_private_bytesW   sF    H&&((&D99 
 !!44T::r   c                    g)z2
The Ed448PublicKey derived from the private key.
Nr   r$   s    r   
public_keyEd448PrivateKey.public_keyc   r"   r   c                    g)z
Signs the data.
Nr   )r   r   s     r   signEd448PrivateKey.signi   r"   r   c                    g)z*
The serialized bytes of the private key.
Nr   )r   r   r   encryption_algorithms       r   private_bytesEd448PrivateKey.private_byteso   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!Ed448PrivateKey.private_bytes_rawz   r"   r   c                    gr0   r   r$   s    r   r1   Ed448PrivateKey.__copy__   r"   r   c                    gr4   r   r5   s     r   r7   Ed448PrivateKey.__deepcopy__   r"   r   r   N)r:   rL   )r   r   r:   rL   r@   )r   r   r:   r9   )r   r;   r   z_serialization.PrivateFormatr\   z)_serialization.KeySerializationEncryptionr:   r9   r<   )r6   rA   r:   rL   )rB   rC   rD   rE   rF   rP   rS   rG   rH   rV   rY   r]   r`   r1   r7   rI   r   r   r   rL   rL   J   s    	1 	1 	; 	; 	 
 	 
 	) - H	
 
  	  	 
 	 r   rL   x448)
__future__r   rG   cryptography.exceptionsr   r   "cryptography.hazmat.bindings._rustr   r   cryptography.hazmat.primitivesr   cryptography.utilsr   ABCMetar
   hasattrregisterr   rL   r   r   r   <module>ro      s   
 # 
 B F 9 %4s{{ 4n <!!L..==>A AH <  \//??@ !r   