Ë
    �ÏÏe   ã                   óT  — 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jn                  dd dk(  r ejp                  de9«       yy)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é   )é   é   zoPython 3.7 support will be dropped in the next scheduled 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© ó    ú1/usr/lib/python3/dist-packages/josepy/__init__.pyú<module>rC      s˜   ðñó6 Û ÷ ,÷ó õ 1÷÷ ÷ ó ÷÷ ÷ õ ÷ 2Ó 1ß -Ñ -÷õ ð ×Ñ�B�QÐ˜6Ò!Ø€H‡M�Mð	6àõð "rA   