Spade
Mini Shell
�
�t0^c@svdZddlZddlZddlmZmZddlmZmZm Z m
Z
ddlmZddl
mZmZmZmZmZmZmZmZmZmZmZddlmZmZmZmZmZmZm
Z m!Z!m"Z"m#Z#ddl$m%Z%m&Z&dd l'm(Z(m)Z)m*Z*dd
l+m,Z,m-Z-m.Z.m/Z/ej0d dkrrej1de2�ndS(s-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
i����N(t b64decodet b64encode(tDeserializationErrortSerializationErrortErrortUnrecognizedTypeError(tJSONDeSerializable(tFieldtJSONObjectWithFieldstTypedJSONObjectWithFieldstdecode_b64josetdecode_certt
decode_csrtdecode_hex16tencode_b64josetencode_certt
encode_csrtencode_hex16(
tHS256tHS384tHS512tJWASignaturetPS256tPS384tPS512tRS256tRS384tRS512(tJWKtJWKRSA(tHeadertJWSt Signature(tComparableX509t
ComparableKeytComparableRSAKeytImmutableMapiiisePython
3.4 support will be dropped in the next release of josepy. Please upgrade
your Python version.(ii(3t__doc__tsystwarningst
josepy.b64RRt
josepy.errorsRRRRtjosepy.interfacesRtjosepy.json_utilRRR R
RRR
RRRRt
josepy.jwaRRRRRRRRRRt
josepy.jwkRRt
josepy.jwsRRR
tjosepy.utilR!R"R#R$tversion_infotwarntDeprecationWarning(((s3/usr/lib/python2.7/site-packages/josepy/__init__.pyt<module>s"LF
"