
íÂÐZå  ã               @   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 d d l 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& d d	 l' m( Z( m) Z) m* Z* d d
 l+ m, Z, m- Z- m. Z. m/ Z/ xU d d g D]G \ Z0 Z1 e j2 d d … e0 e1 f k rYe j3 d j4 e0 e1 ƒ e5 ƒ qYWd 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ÚSerializationErrorÚErrorÚUnrecognizedTypeError)ÚJSONDeSerializable)ÚFieldÚJSONObjectWithFieldsÚTypedJSONObjectWithFieldsÚdecode_b64joseÚdecode_certÚ
decode_csrÚdecode_hex16Úencode_b64joseÚencode_certÚ
encode_csrÚencode_hex16)
ÚHS256ÚHS384ÚHS512ÚJWASignatureÚPS256ÚPS384ÚPS512ÚRS256ÚRS384ÚRS512)ÚJWKÚJWKRSA)ÚHeaderÚJWSÚ	Signature)ÚComparableX509ÚComparableKeyÚComparableRSAKeyÚImmutableMapé   é   é   ziPython {0}.{1} support will be dropped in the next release of josepy. Please upgrade your Python version.)r'   r(   )r)   r)   )6Ú__doc__ÚsysÚwarningsZ
josepy.b64r   r   Zjosepy.errorsr   r   r   r   Zjosepy.interfacesr   Zjosepy.json_utilr	   r
   r   r   r   r   r   r   r   r   r   Z
josepy.jwar   r   r   r   r   r   r   r   r   r   Z
josepy.jwkr   r   Z
josepy.jwsr    r!   r"   Zjosepy.utilr#   r$   r%   r&   ÚmajorÚminorÚversion_infoÚwarnÚformatÚDeprecationWarning© r3   r3   ú1/usr/lib/python3/dist-packages/josepy/__init__.pyÚ<module>   s    "LF"	