| Server IP : 93.115.150.27 / Your IP : 216.73.216.221 Web Server : LiteSpeed System : Linux host2.azar.host 4.18.0-553.80.1.lve.el8.x86_64 #1 SMP Wed Oct 22 19:29:36 UTC 2025 x86_64 User : dorfakkh ( 1797) PHP Version : 8.1.34 Disable Function : show_source, system, passthru, exec, popen, proc_open, mail MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /lib/python3.6/site-packages/acme/__pycache__/ |
Upload File : |
3
گa � @ sj d Z ddlmZ ddlmZ G dd� d�ZG dd� de�ZG dd � d e�Zeeeeeef d
�dd�Zd
S )z0Useful mixins for Challenge and Resource objects� )�Any)�Dictc sR e Zd ZdZeed�dd��Zejedd�dd��Zee dd�� fd d
�Z
� ZS )�VersionedLEACMEMixinzEThis mixin stores the version of Let's Encrypt's endpoint being used.)�returnc C s t | dd�S )z*Define the version of ACME protocol to use�_le_acme_version� )�getattr)�self� r
�/usr/lib/python3.6/mixins.py�le_acme_version s z$VersionedLEACMEMixin.le_acme_versionN)�versionr c C s t j| d|� d S )Nr )�object�__setattr__)r r
r
r
r r
s )�key�valuer c s* |dkrt j| ||� nt� j||� d S )Nr )r r �super)r r r )� __class__r
r r s z VersionedLEACMEMixin.__setattr__)�__name__�
__module__�__qualname__�__doc__�property�intr �setter�strr r �
__classcell__r
r
)r r r s r c sH e Zd ZdZeeef d�� fdd�Zeeef d�� fdd�Z� Z S )�
ResourceMixinz�
This mixin generates a RFC8555 compliant JWS payload
by removing the `resource` field if needed (eg. ACME v2 protocol).
)r c s t t� dd�S )z/See josepy.JSONDeserializable.to_partial_json()�to_partial_json�resource)�_safe_jobj_compliancer )r )r r
r r ! s zResourceMixin.to_partial_jsonc s t t� dd�S )z8See josepy.JSONObjectWithFields.fields_to_partial_json()�fields_to_partial_jsonr )r r )r )r r
r r! &