o
    þðc¢  ã                   @   s*  d Z ddlZddlZddlmZmZ ddlmZmZm	Z	m
Z
 ddlmZ ddlmZmZmZmZmZmZmZmZmZmZmZmZ ddlmZmZmZmZmZm Z m!Z!m"Z"m#Z#m$Z$m%Z%m&Z&m'Z' ddl(m)Z)m*Z*m+Z+m,Z, dd	l-m.Z.m/Z/m0Z0 dd
l1m2Z2m3Z3m4Z4m5Z5m6Z6 ej7dd… dkr“e 8de9¡ dS dS )a-  Javascript Object Signing and Encryption (JOSE).

This package is a Python implementation of the standards developed by
IETF `Javascript Object Signing and Encryption (Active WG)`_, in
particular the following RFCs:

- `JSON Web Algorithms (JWA)`_
- `JSON Web Key (JWK)`_
- `JSON Web Signature (JWS)`_

Originally developed as part of the ACME_ protocol implementation.

.. _`Javascript Object Signing and Encryption (Active WG)`:
  https://tools.ietf.org/wg/jose/

.. _`JSON Web Algorithms (JWA)`:
  https://datatracker.ietf.org/doc/draft-ietf-jose-json-web-algorithms/

.. _`JSON Web Key (JWK)`:
  https://datatracker.ietf.org/doc/draft-ietf-jose-json-web-key/

.. _`JSON Web Signature (JWS)`:
  https://datatracker.ietf.org/doc/draft-ietf-jose-json-web-signature/

.. _ACME: https://pypi.python.org/pypi/acme

é    N)Ú	b64decodeÚ	b64encode)ÚDeserializationErrorÚErrorÚSerializationErrorÚUnrecognizedTypeError)ÚJSONDeSerializable)ÚFieldÚJSONObjectWithFieldsÚTypedJSONObjectWithFieldsÚdecode_b64joseÚdecode_certÚ
decode_csrÚdecode_hex16Úencode_b64joseÚencode_certÚ
encode_csrÚencode_hex16Úfield)ÚES256ÚES384ÚES512ÚHS256ÚHS384ÚHS512ÚPS256ÚPS384ÚPS512ÚRS256ÚRS384ÚRS512ÚJWASignature)ÚJWKÚJWKECÚJWKRSAÚJWKOct)ÚJWSÚHeaderÚ	Signature)ÚComparableECKeyÚComparableKeyÚComparableRSAKeyÚComparableX509ÚImmutableMapé   )é   é   zePython 3.6 support will be dropped in the next release of josepy. Please upgrade your Python version.):Ú__doc__ÚsysÚwarningsÚ
josepy.b64r   r   Újosepy.errorsr   r   r   r   Újosepy.interfacesr   Újosepy.json_utilr	   r
   r   r   r   r   r   r   r   r   r   r   Ú
josepy.jwar   r   r   r   r   r   r   r   r   r   r   r    r!   Ú
josepy.jwkr"   r#   r$   r%   Ú
josepy.jwsr&   r'   r(   Újosepy.utilr)   r*   r+   r,   r-   Úversion_infoÚwarnÚDeprecationWarning© r?   r?   ú</opt/certbot/lib/python3.10/site-packages/josepy/__init__.pyÚ<module>   s"    8<ýÿ