+
    i                       ^ RI Ht ^ RIt^ RIHt ^ RIHt ^ RIHt	 ^ RI
Ht ^ RIHt ^ RIHtHtHtHtHt ^ R	IHt . ROt]P.                  ]P0                  ]P2                  ]P4                  ]P6                  ]P8                  3,          t]	P<                  t ! R R
4      t]	P@                  t ]	PB                  t!]P.                  ]PD                  ]3,          t#R R lt$R R lt%R# )    )annotationsN)Iterable)x509)pkcs12)serialization)PBES)dsaeced448ed25519rsa)PrivateKeyTypesPKCS12KeyAndCertificatesc                      ] tR t^.tR R lt]R R l4       t]R R l4       t]R R l4       tR	 R
 lt	R R lt
R R ltRtR# )r   c               $    V ^8  d   QhRRRRRR/# )   keyPrivateKeyTypes | NonecertPKCS12Certificate | Noneadditional_certslist[PKCS12Certificate] )formats   "z/home/wkmabra/.openclaw/workspace/venv/lib/python3.14/site-packages/cryptography/hazmat/primitives/serialization/pkcs12.py__annotate__%PKCS12KeyAndCertificates.__annotate__/   s(      2  2# 2 ' 2 2	 2    c                	   Vei   \        V\        P                  \        P                  \
        P                  \        P                  \        P                  34      '       g   \        R4      hVe"   \        V\        4      '       g   \        R4      h\        ;QJ d    R V 4       F  '       d   K   RM	  RM! R V 4       4      '       g   \        R4      hWn        W n        W0n        R # )NLKey must be RSA, DSA, EllipticCurve, ED25519, or ED448 private key, or None.z/cert must be a PKCS12Certificate object or Nonec              3  B   "   T F  p\        V\        4      x  K  	  R # 5iN)
isinstancePKCS12Certificate).0add_certs   & r   	<genexpr>4PKCS12KeyAndCertificates.__init__.<locals>.<genexpr>E   s"      
, x!233,s   FTz@all values in additional_certs must be PKCS12Certificate objects)r#   r   RSAPrivateKeyr	   DSAPrivateKeyr
   EllipticCurvePrivateKeyr   Ed25519PrivateKeyr   Ed448PrivateKey	TypeErrorr$   all_key_cert_additional_certs)selfr   r   r   s   &&&&r   __init__!PKCS12KeyAndCertificates.__init__/   s     ?:!!!!**))%%	$
 	$
 )  Jt5F$G$GMNNs 
,
sss 
,
 
 
   	
!1r   c                   V ^8  d   QhRR/# )r   returnr   r   )r   s   "r   r   r   R   s      + r   c                	    V P                   # r"   )r0   r3   s   &r   r   PKCS12KeyAndCertificates.keyQ   s    yyr   c                   V ^8  d   QhRR/# )r   r7   r   r   )r   s   "r   r   r   V   s      . r   c                	    V P                   # r"   )r1   r9   s   &r   r   PKCS12KeyAndCertificates.certU   s    zzr   c                   V ^8  d   QhRR/# )r   r7   r   r   )r   s   "r   r   r   Z   s     & &"9 &r   c                	    V P                   # r"   )r2   r9   s   &r   r   )PKCS12KeyAndCertificates.additional_certsY   s    %%%r   c                    V ^8  d   QhRRRR/# )r   otherobjectr7   boolr   )r   s   "r   r   r   ]   s     
 
F 
t 
r   c                	    \        V\        4      '       g   \        # V P                  VP                  8H  ;'       d;    V P                  VP                  8H  ;'       d    V P
                  VP
                  8H  # r"   )r#   r   NotImplementedr   r   r   )r3   rB   s   &&r   __eq__PKCS12KeyAndCertificates.__eq__]   si    %!9::!! HH		! @ @		UZZ'@ @%%)?)??	
r   c                   V ^8  d   QhRR/# )r   r7   intr   )r   s   "r   r   r   g   s     I I# Ir   c                	l    \        V P                  V P                  \        V P                  4      34      # r"   )hashr   r   tupler   r9   s   &r   __hash__!PKCS12KeyAndCertificates.__hash__g   s'    TXXtyy%0E0E*FGHHr   c                   V ^8  d   QhRR/# )r   r7   strr   )r   s   "r   r   r   j   s     F F# Fr   c                	h    R pVP                  V P                  V P                  V P                  4      # )z@<PKCS12KeyAndCertificates(key={}, cert={}, additional_certs={})>)r   r   r   r   )r3   fmts   & r   __repr__!PKCS12KeyAndCertificates.__repr__j   s-    N 	 zz$((DIIt/D/DEEr   )r2   r1   r0   N)__name__
__module____qualname____firstlineno__r4   propertyr   r   r   rG   rN   rT   __static_attributes__r   r   r   r   r   .   s[     2D     & &
IF Fr   c               $    V ^8  d   QhRRRRRR/# )r   certszIterable[PKCS12Certificate]encryption_algorithm(serialization.KeySerializationEncryptionr7   bytesr   )r   s   "r   r   r   {   s+     N N&NBN Nr   c                    V '       g   \        R 4      h\        V\        P                  4      '       g   \	        R4      h\
        P                  ! W4      # )z!You must supply at least one certFKey encryption algorithm must be a KeySerializationEncryption instance)
ValueErrorr#   r   KeySerializationEncryptionr.   rust_pkcs12serialize_java_truststore)r]   r^   s   &&r   rf   rf   {   sR     <==mFF  2
 	

 00MMr   c               0    V ^8  d   QhRRRRRRRRR	R
RR/# )r   namezbytes | Noner   zPKCS12PrivateKeyTypes | Noner   zx509.Certificate | NonecaszIterable[_PKCS12CATypes] | Noner^   r_   r7   r`   r   )r   s   "r   r   r      sE     # #
#	%# "# 
)	#
 C# #r   c                   Vei   \        V\        P                  \        P                  \
        P                  \        P                  \        P                  34      '       g   \        R4      h\        V\        P                  4      '       g   \        R4      hVf   Vf   V'       g   \        R4      h\        P                   ! WW#V4      # )Nr    rb   z1You must supply at least one of key, cert, or cas)r#   r   r)   r	   r*   r
   r+   r   r,   r   r-   r.   r   rd   rc   re   serialize_key_and_certificates)rh   r   r   ri   r^   s   &&&&&r   rk   rk      s     z&&%%!!	
	  	  %
 	

 mFF  2
 	

 {t|CLMM5542 r   )r   r$   r   PKCS12PrivateKeyTypesload_key_and_certificatesload_pkcs12rf   rk   )&
__future__r   typingcollections.abcr   cryptographyr   "cryptography.hazmat.bindings._rustr   re   cryptography.hazmat.primitivesr   -cryptography.hazmat.primitives._serializationr   )cryptography.hazmat.primitives.asymmetricr	   r
   r   r   r   /cryptography.hazmat.primitives.asymmetric.typesr   __all__Unionr)   r*   r+   r,   r-   rl   r$   r   rm   rn   Certificate_PKCS12CATypesrf   rk   r   r   r   <module>r|      s   
 #  $  D 8 F  L	 		   11 @F @FF (AA %% N$#r   