Spade
Mini Shell
| Directory:~$ /lib/python2.7/site-packages/certbot/ |
| [Home] [System Details] [Kill Me] |
�
���_c@s�dZddlZddlZddlmZeje�Zdej fd��YZ
de
fd��YZde
fd ��YZdS(
s0Client 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
i����N(t
challengestAnnotatedChallengecBs#eZdZdZeZd�ZRS(s�Client
annotated challenge.
Wraps around server provided challenge and annotates with data
useful for the client.
:ivar challb: Wrapped `~.ChallengeBody`.
tchallbcCst|j|�S(N(tgetattrR(tselftname((s7/usr/lib/python2.7/site-packages/certbot/achallenges.pyt__getattr__*s(schallb(t__name__t
__module__t__doc__t __slots__tNotImplementedt acme_typeR(((s7/usr/lib/python2.7/site-packages/certbot/achallenges.pyRst"KeyAuthorizationAnnotatedChallengecBseZdZdZd�ZRS(s7Client
annotated `KeyAuthorizationChallenge`
challenge.Rtdomaintaccount_keycOs|jjj|j||�S(s!Generate
response and
validation.(Rtchalltresponse_and_validationR(Rtargstkwargs((s7/usr/lib/python2.7/site-packages/certbot/achallenges.pyR2s(schallbRsaccount_key(RRR R
R(((s7/usr/lib/python2.7/site-packages/certbot/achallenges.pyR
.stDNScBseZdZdZejZRS(s&Client
annotated "dns" ACME challenge.RR(schallbsdomain(RRR R
RRR(((s7/usr/lib/python2.7/site-packages/certbot/achallenges.pyR8s(
R tloggingtjosepytjosetacmeRt getLoggerRtloggertImmutableMapRR
R(((s7/usr/lib/python2.7/site-packages/certbot/achallenges.pyt<module>s