+
    P(i                     D    ^ RI Ht ^RIHt ^RIHt  ! R R4      tR tR# )    )
json_loads)load_pem_key)KeySetc                   \   a  ] tR t^t o / t]RR l4       t]RR l4       t]R 4       tRt	V t
R# )
JsonWebKeyNc                L    V P                   V,          pVP                  W#V4      # )a   Generate a Key with the given key type, curve name or bit size.

:param kty: string of ``oct``, ``RSA``, ``EC``, ``OKP``
:param crv_or_size: curve name or bit size
:param options: a dict of other options for Key
:param is_private: create a private key or public key
:return: Key instance
)JWK_KEY_CLSgenerate_key)clsktycrv_or_sizeoptions
is_privatekey_clss   &&&&& ^/Users/agent/.openclaw/workspace/venv/lib/python3.14/site-packages/authlib/jose/rfc7517/jwk.pyr
   JsonWebKey.generate_key
   s%     //#&##K*EE    c                   RpVe   VP                  R4      pVf(   \        V\        4      '       d   VP                  R4      pVf\   \        V4      pV P                   F@  pV P                  V,          pVP                  V4      '       g   K/  VP                  WB4      u # 	  V P                  V,          pVP                  W4      # )zEImport a Key from bytes, string, PEM or dict.

:return: Key instance
Nr   )get
isinstancedictr   r	   validate_raw_key
import_key)r   rawr   r   raw_key_ktyr   s   &&&    r   r   JsonWebKey.import_key   s     ++e$C;:c400''%.C;"3'G//$/++G44"--g?? (
 //#&!!#//r   c                    \        V4      p\        V\        4      '       dB   RV9   d;   VP                  R4      p\	        V Uu. uF  q0P                  V4      NK  	  up4      # \        R4      hu upi )zMImport KeySet from string, dict or a list of keys.

:return: KeySet instance
keyszInvalid key set format)_transform_raw_keyr   r   r   r   r   
ValueError)r   r   r   ks   &&  r   import_key_setJsonWebKey.import_key_set.   s`     !%c4  Vs]776?Dd;d>>!,d;<<122 <s   A. )NF)N)__name__
__module____qualname____firstlineno__r	   classmethodr
   r   r#   __static_attributes____classdictcell__)__classdict__s   @r   r   r      sF     K
F 
F 0 0, 	3 	3r   r   c                     \        V \        4      '       d:   V P                  R 4      '       d#   V P                  R4      '       d   \	        V 4      # \        V \
        \        34      '       d   RV /# V # ){}r   )r   str
startswithendswithr   tuplelist)r   s   &r   r    r    ;   sU    #ss 3 3S8I8I#	C%	'	'}Jr   N)authlib.common.encodingr   _cryptography_keyr   key_setr   r   r    r%   r   r   <module>r9      s    . + 13 13hr   