golden hour
/lib/python2.7/site-packages/josepy
⬆️ Go Up
Upload
File/Folder
Size
Actions
__init__.py
1.88 KB
Del
OK
__init__.pyc
2.45 KB
Del
OK
__init__.pyo
2.45 KB
Del
OK
b64.py
1.47 KB
Del
OK
b64.pyc
1.87 KB
Del
OK
b64.pyo
1.87 KB
Del
OK
b64_test.py
2.27 KB
Del
OK
b64_test.pyc
4.22 KB
Del
OK
b64_test.pyo
4.22 KB
Del
OK
errors.py
815 B
Del
OK
errors.pyc
1.88 KB
Del
OK
errors.pyo
1.88 KB
Del
OK
errors_test.py
463 B
Del
OK
errors_test.pyc
1.04 KB
Del
OK
errors_test.pyo
1.04 KB
Del
OK
interfaces.py
7.67 KB
Del
OK
interfaces.pyc
8.48 KB
Del
OK
interfaces.pyo
8.48 KB
Del
OK
interfaces_test.py
3.54 KB
Del
OK
interfaces_test.pyc
6.25 KB
Del
OK
interfaces_test.pyo
6.25 KB
Del
OK
json_util.py
15.38 KB
Del
OK
json_util.pyc
17.33 KB
Del
OK
json_util.pyo
17.33 KB
Del
OK
json_util_test.py
13.94 KB
Del
OK
json_util_test.pyc
19.88 KB
Del
OK
json_util_test.pyo
19.88 KB
Del
OK
jwa.py
6.11 KB
Del
OK
jwa.pyc
7.75 KB
Del
OK
jwa.pyo
7.75 KB
Del
OK
jwa_test.py
4.54 KB
Del
OK
jwa_test.pyc
6.66 KB
Del
OK
jwa_test.pyo
6.66 KB
Del
OK
jwk.py
9.19 KB
Del
OK
jwk.pyc
10.5 KB
Del
OK
jwk.pyo
10.5 KB
Del
OK
jwk_test.py
6.92 KB
Del
OK
jwk_test.pyc
9.29 KB
Del
OK
jwk_test.pyo
9.29 KB
Del
OK
jws.py
13.93 KB
Del
OK
jws.pyc
15.53 KB
Del
OK
jws.pyo
15.02 KB
Del
OK
jws_test.py
8.32 KB
Del
OK
jws_test.pyc
11.65 KB
Del
OK
jws_test.pyo
11.65 KB
Del
OK
magic_typing.py
371 B
Del
OK
magic_typing.pyc
816 B
Del
OK
magic_typing.pyo
816 B
Del
OK
magic_typing_test.py
1.45 KB
Del
OK
magic_typing_test.pyc
1.6 KB
Del
OK
magic_typing_test.pyo
1.6 KB
Del
OK
test_util.py
2.23 KB
Del
OK
test_util.pyc
3.27 KB
Del
OK
test_util.pyo
3.27 KB
Del
OK
testdata
-
Del
OK
util.py
7.41 KB
Del
OK
util.pyc
11.18 KB
Del
OK
util.pyo
11.08 KB
Del
OK
util_test.py
6.45 KB
Del
OK
util_test.pyc
11.53 KB
Del
OK
util_test.pyo
11.53 KB
Del
OK
Edit: __init__.py
"""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 """ import sys import warnings # flake8: noqa from josepy.b64 import ( b64decode, b64encode, ) from josepy.errors import ( DeserializationError, SerializationError, Error, UnrecognizedTypeError, ) from josepy.interfaces import JSONDeSerializable from josepy.json_util import ( Field, JSONObjectWithFields, TypedJSONObjectWithFields, decode_b64jose, decode_cert, decode_csr, decode_hex16, encode_b64jose, encode_cert, encode_csr, encode_hex16, ) from josepy.jwa import ( HS256, HS384, HS512, JWASignature, PS256, PS384, PS512, RS256, RS384, RS512, ) from josepy.jwk import ( JWK, JWKRSA, ) from josepy.jws import ( Header, JWS, Signature, ) from josepy.util import ( ComparableX509, ComparableKey, ComparableRSAKey, ImmutableMap, ) if sys.version_info[:2] == (3, 4): warnings.warn( "Python 3.4 support will be dropped in the next release of " "josepy. Please upgrade your Python version.", DeprecationWarning, )
Save