CasperSecurity

Current Path : /lib/python3/dist-packages/certbot/__pycache__/
Upload File :
Current File : //lib/python3/dist-packages/certbot/__pycache__/achallenges.cpython-310.pyc

o

6��a�@sxdZddlZddlmZddlZddlmZddlm	Z	e�
e�ZGdd�dej
�ZGdd	�d	e�ZGd
d�de�ZdS)a0Client annotated ACME challenges.

Please use names such as ``achall`` to distinguish from variables "of type"
:class:`acme.challenges.Challenge` (denoted by ``chall``)
and :class:`.ChallengeBody` (denoted by ``challb``)::

  from acme import challenges
  from acme import messages
  from certbot import achallenges

  chall = challenges.DNS(token='foo')
  challb = messages.ChallengeBody(chall=chall)
  achall = achallenges.DNS(chall=challb, domain='example.com')

Note, that all annotated challenges act as a proxy objects::

  achall.token == challb.token

�N)�Type)�
challenges)�	Challengec@s.eZdZUdZdZeZeee	d<dd�Z
dS)�AnnotatedChallengez�Client annotated challenge.

    Wraps around server provided challenge and annotates with data
    useful for the client.

    :ivar ~.challb: Wrapped `~.ChallengeBody`.

    )�challb�
_acme_typecCst|j|�S)N)�getattrr)�self�name�r�5/usr/lib/python3/dist-packages/certbot/achallenges.py�__getattr__+szAnnotatedChallenge.__getattr__N)�__name__�
__module__�__qualname__�__doc__�	__slots__�NotImplementedrrr�__annotations__r
rrrrrs

rc@seZdZdZdZdd�ZdS)�"KeyAuthorizationAnnotatedChallengez7Client annotated `KeyAuthorizationChallenge` challenge.)r�domain�account_keycOs|jjj|jg|�Ri|��S)z!Generate response and validation.)r�chall�response_and_validationr)r	�args�kwargsrrrr3s���z:KeyAuthorizationAnnotatedChallenge.response_and_validationN)rrrrrrrrrrr/src@seZdZdZdZejZdS)�DNSz&Client annotated "dns" ACME challenge.)rrN)rrrrrrr�	acme_typerrrrr9s
r)r�logging�typingr�josepy�jose�acmer�acme.challengesr�	getLoggerr�logger�ImmutableMaprrrrrrr�<module>s

Hacker Blog, Shell İndir, Sql İnjection, XSS Attacks, LFI Attacks, Social Hacking, Exploit Bot, Proxy Tools, Web Shell, PHP Shell, Alfa Shell İndir, Hacking Training Set, DDoS Script, Denial Of Service, Botnet, RFI Attacks, Encryption
Telegram @BIBIL_0DAY