+
    i&  c                  s
   ^ RI Ht ^ RIt^ RIHt ^ RIHt ^ RIHt  ! R R]4      t	 ! R R	4      t
 ! R
 R4      t ! R R4      t ! R R]4      t ! R R]4      t ! R R]P                  R7      t ! R R]4      tR R ltR# )i    )annotationsN)hashes)AsymmetricPadding)rsac                  s    ] tR t^tRtRtR# )PKCS1v15zEMSA-PKCS1-v1_5 N)__name__
__module____qualname____firstlineno__name__static_attributes__r       X/usr/lib64/python3.14/site-packages/cryptography/hazmat/primitives/asymmetric/padding.pyr   r      s    Dr   r   c                  s    ] tR t^tRtRtR# )
_MaxLengthz Sentinel value for `MAX_LENGTH`.r   Nr   r   r   r	   Z__doc__r   r   r   r   r   r      s    &r   r   c                  s    ] tR t^tRtRtR# )_AutozSentinel value for `AUTO`.r   Nr   r   r   r   r   r      s     r   r   c                  s    ] tR t^tRtRtR# )_DigestLengthz#Sentinel value for `DIGEST_LENGTH`.r   Nr   r   r   r   r   r      s    )r   r   c                  sr    ] tR t^ t$ ]! 4       t]! 4       t]! 4       t	Rt
R]R&   R R lt]R R l4       tRtR	# )
PSSzEMSA-PSS(int | _MaxLength | _Auto | _DigestLength_salt_lengthc               $    V ^8  d   QhRRRRRR/# )   mgfMGFsalt_lengthr   returnZNoner   Zformat   "r   __annotate__PSS.__annotate__'   s(     ( (( >( 
	(r   c                	s    Wn         \        V\        \        \        \
        34      '       g   \        R 4      h\        V\        4      '       d   V^ 8  d   \        R4      hW n        R# )zBsalt_length must be an integer, MAX_LENGTH, DIGEST_LENGTH, or AUTOz$salt_length must be zero or greater.N)	_mgf
isinstanceintr   r   r   	TypeErrorZ
ValueErrorr   )selfr   r   s   &&&r   __init__ZPSS.__init__'   s_    
 	#z5-@
 
 ) 
 k3''K!OCDD'r   c                   V ^8  d   QhRR/# r   r   r   r   r   r   r   r   r   <         S r   c                	    V P                   # Nr   r#      &r   r   ZPSS.mgf;       yyr   )r   r   N)r   r   r   r	   r   Z
MAX_LENGTHr   ZAUTOr   ZDIGEST_LENGTHr
   __annotations__r$   propertyr   r   r   r   r   r   r       s;    J7D!OMD::((  r   r   c                  sR    ] tR t^@tRtR R lt]R R l4       t]R R l4       tRt	R	# )
OAEPzEME-OAEPc               r   )r   r   r   	algorithmhashes.HashAlgorithmlabelzbytes | Noner   r   r   r   r   OAEP.__annotate__C   s(       ( 	r   c                	s    \        V\        P                  4      '       g   \        R 4      hWn        W n        W0n        R# z*Expected instance of hashes.HashAlgorithm.N)r    r   HashAlgorithmr"   r   
_algorithm_label)r#   r   r1   r3   s   &&&&r   r$   ZOAEP.__init__C   s2     )V%9%9::HII	#r   c               r%   )r   r   r2   r   r   r   r   r   r4   Q   s      / r   c                	r(   r)   r7   r+   r,   r   r1   ZOAEP.algorithmP   s    r   c               r%   r&   r   r   r   r   r   r4   U   r'   r   c                	r(   r)   r*   r+   r,   r   r   ZOAEP.mgfT   r-   r   )r7   r8   r   N)
r   r   r   r	   r
   r$   r/   r1   r   r   r   r   r   r0   r0   @   s4    D    r   r0   c                  s"    ] tR t^Yt$ R]R&   RtR# )r   r2   r7   r   N)r   r   r   r	   r.   r   r   r   r   r   r   Y   s    $$r   r   )Z	metaclassc                  s"    ] tR t^]tR R ltRtR# )MGF1c               r%   )r   r1   r2   r   r   r   r   r   ZMGF1.__annotate__^   s     $ $"6 $r   c                	sh    \        V\        P                  4      '       g   \        R 4      hWn        R# r5   )r    r   r6   r"   r7   )r#   r1   s   &&r   r$   ZMGF1.__init__^   s&    )V%9%9::HII#r   r9   N)r   r   r   r	   r$   r   r   r   r   r:   r:   ]   s    $ $r   r:   c               r   )r   keyz$rsa.RSAPrivateKey | rsa.RSAPublicKeyhash_algorithmr2   r   r!   r   r   r   r   r   r   e   s&     
 
	-
(
 	
r   c                s    \        V \        P                  \        P                  34      '       g   \	        R 4      hV P
                  ^,           ^,          pW!P                  ,
          ^,
          pV^ 8  g   Q hV# )z(key must be an RSA public or private key)r    r   ZRSAPrivateKeyZRSAPublicKeyr"   Zkey_sizeZdigest_size)r;   r<   Zemlenr   s   &&  r   calculate_max_pss_salt_lengthr=   e   sh     cC--s/?/?@AABCC\\A!#E444q8K!r   )Z
__future__r    ZabcZcryptography.hazmat.primitivesr   Z*cryptography.hazmat.primitives._asymmetricr   Z)cryptography.hazmat.primitives.asymmetricr   r   r   r   r   r   r0   ZABCMetar   r:   r=   r   r   r   <module>r>      s   
 # 
 1 :  ' '! !* *
 @ 2%CKK %$3 $
r   