golden hour
/usr/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: jws.pyc
� �t0^c @ s d Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l m Z m Z m Z m Z m Z m Z d e f d � � YZ d e j f d � � YZ d e j f d � � YZ d e j f d � � YZ d e f d � � YZ e d k re e j � � n d S( s JSON Web Signature.i����N( t b64t errorst json_utilt jwat jwkt utilt MediaTypec B s2 e Z d Z d Z e d � � Z e d � � Z RS( s MediaType field encoder/decoder.s application/c C s9 d | k r5 d | k r* t j d � � n | j | S| S( s Decoder.t /t ;s Unexpected semi-colon( R t DeserializationErrort PREFIX( t clst value( ( s. /usr/lib/python2.7/site-packages/josepy/jws.pyt decode s c C s9 d | k r5 | j | j � s$ t � | t | j � S| S( s Encoder.R ( t startswithR t AssertionErrort len( R R ( ( s. /usr/lib/python2.7/site-packages/josepy/jws.pyt encode s ( t __name__t __module__t __doc__R t classmethodR R ( ( ( s. /usr/lib/python2.7/site-packages/josepy/jws.pyR s t Headerc B s� e Z d Z e j d d e j j d e �Z e j d d e �Z e j d d e j j d e �Z e j d d e �Z e j d d e �Z e j d d e d d �Z e j d d e j d e �Z e j d d e j d e �Z e j d d e j d e j d e �Z e j d d e j d e j d e �Z e j d d e d d �Z d � Z d � Z d � Z e j d � � Z e j d � � Z e j d � � Z RS( s6 JOSE Header. .. warning:: This class supports **only** Registered Header Parameter Names (as defined in section 4.1 of the protocol). If you need Public Header Parameter Names (4.2) or Private Header Parameter Names (4.3), you must subclass and override :meth:`from_json` and :meth:`to_partial_json` appropriately. .. warning:: This class does not support any extensions through the "crit" (Critical) Header Parameter (4.1.11) and as a conforming implementation, :meth:`from_json` treats its occurrence as an error. Please subclass if you seek for a different behaviour. :ivar x5tS256: "x5t#S256" :ivar str typ: MIME Media Type, inc. :const:`MediaType.PREFIX`. :ivar str cty: Content-Type, inc. :const:`MediaType.PREFIX`. t algt decodert omitemptyt jkuR t kidt x5ut x5ct defaultt x5ts x5t#S256t typt encodert ctyt critc s&