Spamworldpro Mini Shell
Spamworldpro


Server : Apache/2.4.62 (Unix) OpenSSL/1.0.2k-fips
System : Linux server1.richineiserver.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : fdshops ( 1003)
PHP Version : 8.2.21
Disable Function : NONE
Directory :  /lib/python2.7/site-packages/certbot/tests/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python2.7/site-packages/certbot/tests/acme_util.pyc
�
���_c@s�dZddlZddlZddlZddlmZddlmZddlm	Z	ddl
mZejj
ejd��Zejd�Zejdd	�Zejdd
�Zejdd�ZeegZd�Zd
�Zeeej�Zeeej�Zeeej�ZeegZe	jeed�Ze	jeed�Ze	jeed�ZeegZ e!d�Z"dS(sACME utilities for testing.i����N(t
challenges(tmessages(tauth_handler(tutilsrsa512_key.pemttokens+evaGxfADs6pSRb2LAv9IZf17Dt3juxGJ+PCt92wr+oAt 17817c66b60ce2e4012dfad92657527at cafecafecafecafecafecafe0feedbaccCstd�t|�D��S(s*Generate natural combinations for challbs.css|]\}}|fVqdS(N((t.0tit_((s;/usr/lib/python2.7/site-packages/certbot/tests/acme_util.pys	<genexpr>s(ttuplet	enumerate(tchallbs((s;/usr/lib/python2.7/site-packages/certbot/tests/acme_util.pyt
gen_combosscCs^i|d6|jdd6|d6}|tjkrQ|jitjj�d6�ntj|�S(s$Return ChallengeBody from Challenge.tchallt_urituritstatust	validated(ttypRtSTATUS_VALIDtupdatetdatetimetnowt
ChallengeBody(RRtkwargs((s;/usr/lib/python2.7/site-packages/certbot/tests/acme_util.pytchall_to_challbs
 sexample.comsexample.orgsesimerkki.example.orgcCs�td�tjj||�D��}itjdtjd|�d6|d6}|rq|jit|�d6�n|tj	kr�|ji|d6t
j
j�t
jdd	�d
6�n|ji|d6�tj
ddd
tj|��S(s&Generate an authorization resource.

    :param authz_status: Status object
    :type authz_status: :class:`acme.messages.Status`
    :param list challs: Challenge objects
    :param list statuses: status of each challenge object
    :param bool combos: Whether or not to add combinations

    css$|]\}}t||�VqdS(N(R(RRR((s;/usr/lib/python2.7/site-packages/certbot/tests/acme_util.pys	<genexpr>GsRtvaluet
identifierRtcombinationsRtdaysitexpiresRs%https://trusted.ca/new-authz-resourcetbody(R
tsixtmovestzipRt
IdentifiertIDENTIFIER_FQDNRR
RRRt	timedeltatAuthorizationResourcet
Authorization(tauthz_statustdomaintchallststatusestcombosRtauthz_kwargs((s;/usr/lib/python2.7/site-packages/certbot/tests/acme_util.pyt
gen_authzr<s$
	
	'		(#t__doc__RtjosepytjoseR!tacmeRRtcertbot._internalRt
certbot.testsRtJWKtloadtload_vectortload_rsa_private_keytKEYtHTTP01tDNS01tDNS01_2t
CHALLENGESR
RtSTATUS_PENDINGtHTTP01_PtDNS01_Pt	DNS01_P_2tCHALLENGES_Ptchallb_to_achalltHTTP01_AtDNS01_At	DNS01_A_2tACHALLENGEStTrueR/(((s;/usr/lib/python2.7/site-packages/certbot/tests/acme_util.pyt<module>s2				

Spamworldpro Mini