ok
Direktori : /lib/python3.6/site-packages/acme/__pycache__/ |
Current File : //lib/python3.6/site-packages/acme/__pycache__/challenges.cpython-36.pyc |
3 گa�T � @ s$ d Z ddlZddlZddlZddlZddlZddlZddlmZ ddlm Z ddlm Z ddlmZ ddlmZ ddlm Z dd lmZ dd lmZ ddlZddlmZ ddlmZ ddlZdd lmZ ddlmZ ddlmZ ddlmZ ddlmZ eje�Z G dd� dej!�Z"G dd� deeej!�Z#G dd� de"�Z$G dd� de"�Z%G dd� de#�Z&G dd� de%ej'd�Z(e#j)G dd � d e&��Z*e"j)G d!d"� d"e(��Z+e#j)G d#d$� d$e&��Z,e"j)G d%d&� d&e(��Z-e#j)G d'd(� d(e&��Z.e"j)G d)d*� d*e(��Z/e"j)G d+d,� d,e%��Z0e#j)G d-d.� d.e#��Z1dS )/z&ACME Identifier Validation Challenges.� N)�cast)�Any)�Dict)�Mapping)�Optional)�Tuple)�Type)�hashes)�crypto)�SSL)�crypto_util)�errors)�fields)� ResourceMixin)� TypeMixinc sJ e Zd ZU dZi Zeeed f ee ee f d d�� fdd��Z� ZS )� ChallengezACME challenge.)�jobj�returnc sD yt � j|�S tjk r> } ztj|� tj|�S d }~X nX d S )N)�super� from_json�joseZUnrecognizedTypeError�logger�debug�UnrecognizedChallenge)�clsr �error)� __class__� � /usr/lib/python3.6/challenges.pyr $ s zChallenge.from_json) �__name__� __module__�__qualname__�__doc__�TYPESr �strr �classmethodr r r � __classcell__r r )r r r s r c @ s4 e Zd ZU dZi Zeeed f dZe j e�ZdS )�ChallengeResponsezACME challenge response.Z challengeN)r r r! r"