Server IP : 209.38.156.173 / Your IP : 216.73.216.122 [ Web Server : Apache/2.4.52 (Ubuntu) System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.1.2-1ubuntu2.22 Disable Function : NONE Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /proc/thread-self/root/usr/lib/python3/dist-packages/acme/__pycache__/ |
Upload File : |
o 6��a � @ sp d Z ddlmZ ddlmZ G dd� d�ZG dd� de�ZG dd � d e�Zd ededed eeef fdd�ZdS )z0Useful mixins for Challenge and Resource objects� )�Any)�Dictc sX e Zd ZdZedefdd��Zejdeddfdd��Zded e ddf� 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/dist-packages/acme/mixins.py�le_acme_version s z$VersionedLEACMEMixin.le_acme_version�versionNc C s t �| d|� d S )Nr )�object�__setattr__)r r r r r r s �key�valuec s, |dkr t �| ||� d S t� �||� 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 �H e Zd ZdZdeeef f� fdd�Zdeeef f� 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 � t t� dd�S )�/See josepy.JSONDeserializable.to_partial_json()�to_partial_json�resource��_safe_jobj_compliancer r r r r r# ! � �zResourceMixin.to_partial_jsonc r! )�8See josepy.JSONObjectWithFields.fields_to_partial_json()�fields_to_partial_jsonr$ r% r r r r r) &