Spade

Mini Shell

Directory:~$ /proc/self/root/usr/lib/python2.7/site-packages/acme/
Upload File

[Home] [System Details] [Kill Me]
Current File:~$ //proc/self/root/usr/lib/python2.7/site-packages/acme/messages.pyo

�
���_c@s�dZddlZddlZddlZddlmZddlmZddlmZddlm	Z	ddlm
Z
ddlmZydd	l
mZWn!ek
r�dd	lmZnXd
ZdZidd
6dd6dd6dd6dd6dd6dd6dd6dd6dd6d
d!6d"d#6d$d%6d&d'6d(d)6d*d+6d,d-6d.d/6d0d16d2d36d4d56d6d76d8d96d:d;6d<d=6d>d?6Zed@�ej�D��ZejedA�ej�D���dB�ZejdCejejfdD��Y�ZdEejefdF��YZdGefdH��YZedI�ZedJ�Z
edK�Z!edL�Z"edM�Z#edN�Z$edO�Z%edP�Z&dQefdR��YZ'e'd!�Z(dSejfdT��YZ)dUejfdV��YZ*dWejfdX��YZ+dYe+fdZ��YZ,d[ejfd\��YZ-d]e.fd^��YZ/d_e-fd`��YZ0e*j1daee0fdb��Y�Z2dcee0fdd��YZ3dee,fdf��YZ4dge-fdh��YZ5die+fdj��YZ6dke-fdl��YZ7e*j1dmee7fdn��Y�Z8doee7fdp��YZ9dqe,fdr��YZ:e*j1dseejfdt��Y�Z;due,fdv��YZ<e*j1dweejfdx��Y�Z=dye-fdz��YZ>d{e,fd|��YZ?e*j1d}e>fd~��Y�Z@dS(sACME
protocol messages.i����N(t
challenges(terrors(tfields(tjws(tutil(t
ResourceMixin(tHashablesurn:acme:error:surn:ietf:params:acme:error:s4The
request specified an account that does not existtaccountDoesNotExistsOThe
request specified a certificate to be revoked that has already been
revokedtalreadyRevokeds2The CSR is unacceptable (e.g., due to a short
key)tbadCSRs1The client sent an unacceptable anti-replay
noncetbadNonces>The JWS was signed by a public key the server does not
supporttbadPublicKeys;The revocation reason provided is not allowed by the
servertbadRevocationReasons@The JWS was signed with an algorithm the
server does not supporttbadSignatureAlgorithms\Certification Authority
Authorization (CAA) records forbid the CA from issuing a
certificatetcaasBSpecific error conditions are indicated in the
"subproblems" arraytcompounds?The server could not connect to
the client to verify the domaint
connectionsAThere was a problem with a DNS query during identifier
validationtdnss4The server could not validate a DNSSEC signed
domaintdnssecs;Response received didn't match the challenge's
requirementstincorrectResponses1The provided email for a registration was
invalidtinvalidEmails$The provided contact URI was
invalidtinvalidContacts!The request message was malformedt	malformeds9The
server will not issue certificates for the
identifiertrejectedIdentifiersLThe request attempted to finalize an order
that is not ready to be finalizedt
orderNotReadys,There were too many
requests of a given typetrateLimiteds(The server experienced an internal
errortserverInternals=The server experienced a TLS error during domain
verificationttlss)The client lacks sufficient
authorizationtunauthorizeds@A contact URL for an account used an
unsupported protocol schemetunsupportedContacts*The server could not
resolve a domain nametunknownHosts'An identifier is of an unsupported
typetunsupportedIdentifiers,The server requires external account
bindingtexternalAccountRequiredccs%|]\}}t||fVqdS(N(tERROR_PREFIX(t.0tnametdesc((s1/usr/lib/python2.7/site-packages/acme/messages.pys	<genexpr>:sccs%|]\}}t||fVqdS(N(tOLD_ERROR_PREFIX(R"R#R$((s1/usr/lib/python2.7/site-packages/acme/messages.pys	<genexpr>=scCs>t|t�r:|jdk	r:t|jkp9t|jkStS(s#Check
if argument is an ACME error.N(t
isinstancetErrorttyptNoneR!R%tFalse(terr((s1/usr/lib/python2.7/site-packages/acme/messages.pyt
is_acme_error@sR'cBs�eZdZejddedd�Zejdde�Zejdde�Ze	d��Z
ed��Zed	��Z
d
�ZRS(s�ACME error.

    https://tools.ietf.org/html/draft-ietf-appsawg-http-problem-00

    :ivar unicode typ:
    :ivar unicode title:
    :ivar unicode detail:

   
ttypet	omitemptytdefaultsabout:blankttitletdetailcKs9|tkrtd|��nt|}|d||�S(s�Create
an Error instance with an ACME Error code.

        :unicode code: An ACME error code, like 'dnssec'.
        :kwargs: kwargs to pass to Error.

        s4The supplied code: %s is not a known ACME error
codeR((tERROR_CODESt
ValueErrorR!(tclstcodetkwargsR(((s1/usr/lib/python2.7/site-packages/acme/messages.pyt	with_codeVs


cCstj|j�S(s�Hardcoded error description based on its type.

        :returns: Description if standard ACME error or ``None``.
        :rtype: unicode

       
(tERROR_TYPE_DESCRIPTIONStgetR((tself((s1/usr/lib/python2.7/site-packages/acme/messages.pytdescriptiondscCs0t|j�jd�d}|tkr,|SdS(s�ACME
error code.

        Basically self.typ without the ERROR_PREFIX.

        :returns: error code if standard ACME code or ``None``.
        :rtype: unicode

       
t:i����N(tstrR(tsplitR2R)(R:R5((s1/usr/lib/python2.7/site-packages/acme/messages.pyR5ns
cCs5djd�|j|j|j|jfD��j�S(Ns ::
css-|]#}|dk	r|jdd�VqdS(tasciitbackslashreplaceN(R)tencode(R"tpart((s1/usr/lib/python2.7/site-packages/acme/messages.pys	<genexpr>s(tjoinR(R;R1R0tdecode(R:((s1/usr/lib/python2.7/site-packages/acme/messages.pyt__str__}s(t__name__t
__module__t__doc__tjosetFieldtTrueR(R0R1tclassmethodR7tpropertyR;R5RE(((s1/usr/lib/python2.7/site-packages/acme/messages.pyR'Gs

t	_ConstantcBs_eZdZd	ZeZd�Zd�Zed��Z	d�Z
d�Zd�Zd�Z
RS(
sACME
constant.R#cCs-tt|�j�||j|<||_dS(N(tsuperRNt__init__tPOSSIBLE_NAMESR#(R:R#((s1/usr/lib/python2.7/site-packages/acme/messages.pyRP�s
cCs|jS(N(R#(R:((s1/usr/lib/python2.7/site-packages/acme/messages.pytto_partial_json�scCs8||jkr-tjdj|j���n|j|S(Ns{0}
not
recognized(RQRItDeserializationErrortformatRF(R4tjobj((s1/usr/lib/python2.7/site-packages/acme/messages.pyt	from_json�scCsdj|jj|j�S(Ns{0}({1})(RTt	__class__RFR#(R:((s1/usr/lib/python2.7/site-packages/acme/messages.pyt__repr__�scCs%t|t|��o$|j|jkS(N(R&R-R#(R:tother((s1/usr/lib/python2.7/site-packages/acme/messages.pyt__eq__�scCst|j|jf�S(N(thashRWR#(R:((s1/usr/lib/python2.7/site-packages/acme/messages.pyt__hash__�scCs||kS(N((R:RY((s1/usr/lib/python2.7/site-packages/acme/messages.pyt__ne__�s(sname(RFRGRHt	__slots__tNotImplementedRQRPRRRLRVRXRZR\R](((s1/usr/lib/python2.7/site-packages/acme/messages.pyRN�s					tStatuscBseZdZiZRS(sACME
"status"
field.(RFRGRHRQ(((s1/usr/lib/python2.7/site-packages/acme/messages.pyR`�stunknowntpendingt
processingtvalidtinvalidtrevokedtreadytdeactivatedtIdentifierTypecBseZdZiZRS(sACME
identifier
type.(RFRGRHRQ(((s1/usr/lib/python2.7/site-packages/acme/messages.pyRi�st
IdentifiercBs5eZdZejddej�Zejd�ZRS(sNACME identifier.

    :ivar IdentifierType typ:
    :ivar unicode value:

   
R-tdecodertvalue(	RFRGRHRIRJRiRVR(Rl(((s1/usr/lib/python2.7/site-packages/acme/messages.pyRj�st	DirectorycBs~eZdZiZdejfd��YZed��Zed��Z	d�Z
d�Zd�Zd�Z
ed	��ZRS(
s
Directory.tMetacBs�eZdZejdde�Zejdde�Zejdde�Zejdde�Z	ejdde�Z
d�Zed��Z
d	�Zd
�ZRS(sDirectory
Meta.sterms-of-serviceR.ttermsOfServicetwebsitet
caaIdentitiesR
cs9�fd�|j�D�}ttj��j|�dS(Ncs(i|]\}}|�j|��qS((t_internal_name(R"tktv(R:(s1/usr/lib/python2.7/site-packages/acme/messages.pys
<dictcomp>�s	(titemsRORmRnRP(R:R6((R:s1/usr/lib/python2.7/site-packages/acme/messages.pyRP�scCs|jp|jS(sURL
for the CA
TOS(t_terms_of_servicet_terms_of_service_v2(R:((s1/usr/lib/python2.7/site-packages/acme/messages.pytterms_of_service�sccsBx;ttj|�j�D]!}|dkr5|dn|VqWdS(NRvi(RORmRnt__iter__(R:R#((s1/usr/lib/python2.7/site-packages/acme/messages.pyRy�scCs|dkrd|S|S(NRxt_((R:R#((s1/usr/lib/python2.7/site-packages/acme/messages.pyRr�s(RFRGRHRIRJRKRvRwRptcaa_identitiestexternal_account_requiredRPRMRxRyRr(((s1/usr/lib/python2.7/site-packages/acme/messages.pyRn�s		cCst|d|�S(Nt
resource_type(tgetattr(R4tkey((s1/usr/lib/python2.7/site-packages/acme/messages.pyt
_canon_key�scCs|j}||j|<|S(sRegister
resource.(R}t_REGISTERED_TYPES(R4tresource_body_clsR}((s1/usr/lib/python2.7/site-packages/acme/messages.pytregister�s	
cCs"tj||j�}||_dS(N(Rtmap_keysR�t_jobj(R:RUt
canon_jobj((s1/usr/lib/python2.7/site-packages/acme/messages.pyRP�scCsDy||jdd�SWn%tk
r?}tt|���nXdS(NRzt-(treplacetKeyErrortAttributeErrorR=(R:R#terror((s1/usr/lib/python2.7/site-packages/acme/messages.pyt__getattr__�scCsMy|j|j|�SWn.tk
rHtd|j|�d��nXdS(NsDirectory field "s" not
found(R�R�R�(R:R#((s1/usr/lib/python2.7/site-packages/acme/messages.pyt__getitem__�s
cCs|jS(N(R�(R:((s1/usr/lib/python2.7/site-packages/acme/messages.pyRRscCs,|jj|jdi��|d<||�S(Ntmeta(RnRVtpop(R4RU((s1/usr/lib/python2.7/site-packages/acme/messages.pyRVs"(RFRGRHR�RItJSONObjectWithFieldsRnRLR�R�RPR�R�RRRV(((s1/usr/lib/python2.7/site-packages/acme/messages.pyRm�s				tResourcecBseZdZejd�ZRS(sOACME
Resource.

    :ivar acme.messages.ResourceBody body: Resource body.

   
tbody(RFRGRHRIRJR�(((s1/usr/lib/python2.7/site-packages/acme/messages.pyR�
stResourceWithURIcBseZdZejd�ZRS(sOACME Resource with
URI.

    :ivar unicode uri: Location of the resource.

   
turi(RFRGRHRIRJR�(((s1/usr/lib/python2.7/site-packages/acme/messages.pyR�stResourceBodycBseZdZRS(sACME
Resource
Body.(RFRGRH(((s1/usr/lib/python2.7/site-packages/acme/messages.pyR�stExternalAccountBindingcBseZdZed��ZRS(sACME
External Account
Bindingc	Cswtj|j��j�}tjj|�}|d}tjj	|tj
jd|�tjj
d||�}|j�S(sLCreate External Account Binding
Resource from contact details, kid and hmac.t
newAccountRN(tjsontdumpsRRRARItb64t	b64decodeRtJWStsigntjwktJWKOcttjwatHS256R)(	R4taccount_public_keytkidthmac_keyt	directorytkey_jsontdecoded_hmac_keyturlteab((s1/usr/lib/python2.7/site-packages/acme/messages.pyt	from_data#s
(RFRGRHRLR�(((s1/usr/lib/python2.7/site-packages/acme/messages.pyR�
stRegistrationcBs"eZdZejddedejj�Zejddedd�Z	ejdde�Z
ejdde�Zejdde�Zejd	de�Z
ejd
de�ZdZdZedddd
��Zd�Zd�Zd�Zd�Zd�Zed��Zed��ZRS(s�Registration
Resource Body.

    :ivar josepy.jwk.JWK key: Public key.
    :ivar tuple contact: Contact information following ACME spec,
        `tuple` of `unicode`.
    :ivar unicode agreement:

   
RR.RktcontactR/t	agreementtstatusttermsOfServiceAgreedtonlyReturnExistingtexternalAccountBindingstel:smailto:cKs�d|k}t|jdd��}|dk	rG|j|j|�n|dk	r�|jg|jd�D]}|j|^qi�n|s�|r�t|�|d<n|r�||d<n||�S(s
        Create registration resource from contact details.

        The `contact` keyword being passed to a Registration object is
meaningful, so
        this function represents empty iterables in its kwargs by passing
on an empty
        `tuple`.
       
R�t,texternal_account_binding(N(	tlistR�R)tappendtphone_prefixtextendR>temail_prefixttuple(R4tphonetemailR�R6tcontact_providedtdetailstmail((s1/usr/lib/python2.7/site-packages/acme/messages.pyR�Ks3
cKs<d|kr"tj|dt�ntt|�j|�dS(s;Note
if the user provides a value for the `contact`
member.R�t_add_contactN(tobjectt__setattr__RKROR�RP(R:R6((s1/usr/lib/python2.7/site-packages/acme/messages.pyRPiscst�fd�|jD��S(Nc3s.|]$}|j��r|t��VqdS(N(t
startswithtlen(R"R1(tprefix(s1/usr/lib/python2.7/site-packages/acme/messages.pys	<genexpr>rs(R�R�(R:R�((R�s1/usr/lib/python2.7/site-packages/acme/messages.pyt_filter_contactpscCs,t|dt�r(|jd�|d<n|S(s�
        The `contact` member of Registration objects should not be required
when
        de-serializing (as it would be if the Fields' `omitempty` flag
were `False`), but
        it should be included in serializations if it was provided.

        :param jobj: Dictionary containing this Registrations' data
        :type jobj: dict

        :returns: Dictionary containing Registrations data to transmit to
the server
        :rtype: dict
       
R�R�(R~R*RA(R:RU((s1/usr/lib/python2.7/site-packages/acme/messages.pyt_add_contact_if_appropriateuscCs"tt|�j�}|j|�S(s2Modify
josepy.JSONDeserializable.to_partial_json()(ROR�RRR�(R:RU((s1/usr/lib/python2.7/site-packages/acme/messages.pyRR�scCs"tt|�j�}|j|�S(s;Modify
josepy.JSONObjectWithFields.fields_to_partial_json()(ROR�tfields_to_partial_jsonR�(R:RU((s1/usr/lib/python2.7/site-packages/acme/messages.pyR��scCs|j|j�S(s*All
phones found in the ``contact``
field.(R�R�(R:((s1/usr/lib/python2.7/site-packages/acme/messages.pytphones�scCs|j|j�S(s*All
emails found in the ``contact``
field.(R�R�(R:((s1/usr/lib/python2.7/site-packages/acme/messages.pytemails�s(N(RFRGRHRIRJRKtJWKRVRR�R�R�tterms_of_service_agreedtonly_return_existingR�R�R�RLR)R�RPR�R�RRR�RMR�R�(((s1/usr/lib/python2.7/site-packages/acme/messages.pyR�2s&!					tNewRegistrationcBs#eZdZdZeje�ZRS(sNew
registration.snew-reg(RFRGRHR}RR�tresource(((s1/usr/lib/python2.7/site-packages/acme/messages.pyR��stUpdateRegistrationcBs#eZdZdZeje�ZRS(sUpdate
registration.treg(RFRGRHR}RR�R�(((s1/usr/lib/python2.7/site-packages/acme/messages.pyR��stRegistrationResourcecBsPeZdZejddej�Zejdde�Z	ejdde�Z
RS(s�Registration Resource.

    :ivar acme.messages.Registration body:
    :ivar unicode new_authzr_uri: Deprecated. Do not use.
    :ivar unicode terms_of_service: URL for the CA TOS.

   
R�Rktnew_authzr_uriR.Rx(RFRGRHRIRJR�RVR�RKR�Rx(((s1/usr/lib/python2.7/site-packages/acme/messages.pyR��st
ChallengeBodycBs�eZdZdZejddedd�Zejddedd�Z	ejdde
jdede�Z
ejdde�Zejd	dejdedd�Zd
�Zd�Zd�Zed
��Zed��Zd�Zd�Zd�ZRS(s>Challenge
Resource Body.

    .. todo::
       Confusingly, this has a similar name to `.challenges.Challenge`,
       as well as `.achallenges.AnnotatedChallenge`. Please use names
       such as ``challb`` to distinguish instances of this class from
       ``achall``.

    :ivar acme.challenges.Challenge: Wrapped challenge.
        Conveniently, all challenge fields are proxied, i.e. you can
        call ``challb.x`` to get ``challb.chall.x`` contents.
    :ivar acme.messages.Status status:
    :ivar datetime.datetime validated:
    :ivar messages.Error error:

   
tchallR�R.R/R�R�Rkt	validatedR�cs6�fd�|j�D�}tt��j|�dS(Ncs(i|]\}}|�j|��qS((Rr(R"RsRt(R:(s1/usr/lib/python2.7/site-packages/acme/messages.pys
<dictcomp>�s	(RuROR�RP(R:R6((R:s1/usr/lib/python2.7/site-packages/acme/messages.pyRP�scCstt|�j|j|��S(N(ROR�RARr(R:R#((s1/usr/lib/python2.7/site-packages/acme/messages.pyRA�scCs/tt|�j�}|j|jj��|S(N(ROR�RRtupdateR�(R:RU((s1/usr/lib/python2.7/site-packages/acme/messages.pyRR�scCs2tt|�j|�}tjj|�|d<|S(NR�(ROR�tfields_from_jsonRt	ChallengeRV(R4RUtjobj_fields((s1/usr/lib/python2.7/site-packages/acme/messages.pyR��scCs|jp|jS(sThe
URL of this
challenge.(t_urlt_uri(R:((s1/usr/lib/python2.7/site-packages/acme/messages.pyR��scCst|j|�S(N(R~R�(R:R#((s1/usr/lib/python2.7/site-packages/acme/messages.pyR��sccs?x8tt|�j�D]!}|dkr2|dn|VqWdS(NR�i(ROR�Ry(R:R#((s1/usr/lib/python2.7/site-packages/acme/messages.pyRy�scCs|dkrd|S|S(NR�Rz((R:R#((s1/usr/lib/python2.7/site-packages/acme/messages.pyRr�s(schallN(RFRGRHR^RIRJRKR)R�R�R`RVtSTATUS_PENDINGR�RtRFC3339FieldR�R'R�RPRARRRLR�RMR�R�RyRr(((s1/usr/lib/python2.7/site-packages/acme/messages.pyR��s"					tChallengeResourcecBsDeZdZejddej�Zejd�Ze	d��Z
RS(s�Challenge Resource.

    :ivar acme.messages.ChallengeBody body:
    :ivar unicode authzr_uri: URI found in the 'up' ``Link``
header.

    R�Rkt
authzr_uricCs
|jjS(sThe URL of the challenge
body.(R�R�(R:((s1/usr/lib/python2.7/site-packages/acme/messages.pyR�s(RFRGRHRIRJR�RVR�R�RMR�(((s1/usr/lib/python2.7/site-packages/acme/messages.pyR��st
AuthorizationcBs�eZdZejddejde�Zejdde�Z	ejdde�Z
ejddedej�Ze
jdde�Zejdde�Ze	jd	��Z	ed
��ZRS(s^Authorization Resource Body.

    :ivar acme.messages.Identifier identifier:
    :ivar list challenges: `list` of `.ChallengeBody`
    :ivar tuple combinations: Challenge combinations (`tuple` of `tuple`
        of `int`, as opposed to `list` of `list` from the spec).
    :ivar acme.messages.Status status:
    :ivar datetime.datetime expires:

    t
identifierRkR.RtcombinationsR�texpirestwildcardcCstd�|D��S(Ncss|]}tj|�VqdS(N(R�RV(R"R�((s1/usr/lib/python2.7/site-packages/acme/messages.pys	<genexpr>
s(R�(Rl((s1/usr/lib/python2.7/site-packages/acme/messages.pyRscst�fd��jD��S(s0Combinations
with challenges instead of
indices.c3s+|]!}t�fd�|D��VqdS(c3s|]}�j|VqdS(N(R(R"tidx(R:(s1/usr/lib/python2.7/site-packages/acme/messages.pys	<genexpr>%sN(R�(R"tcombo(R:(s1/usr/lib/python2.7/site-packages/acme/messages.pys	<genexpr>%s(R�R�(R:((R:s1/usr/lib/python2.7/site-packages/acme/messages.pytresolved_combinations"s(RFRGRHRIRJRjRVRKR�RR�R`R�RR�R�R�RkRMR�(((s1/usr/lib/python2.7/site-packages/acme/messages.pyR�s
tNewAuthorizationcBs#eZdZdZeje�ZRS(sNew
authorization.s	new-authz(RFRGRHR}RR�R�(((s1/usr/lib/python2.7/site-packages/acme/messages.pyR�)stUpdateAuthorizationcBs#eZdZdZeje�ZRS(sUpdate
authorization.tauthz(RFRGRHR}RR�R�(((s1/usr/lib/python2.7/site-packages/acme/messages.pyR�0stAuthorizationResourcecBs;eZdZejddej�Zejdde�Z	RS(s�Authorization
Resource.

    :ivar acme.messages.Authorization body:
    :ivar unicode new_cert_uri: Deprecated. Do not use.

    R�Rktnew_cert_uriR.(
RFRGRHRIRJR�RVR�RKR�(((s1/usr/lib/python2.7/site-packages/acme/messages.pyR�6stCertificateRequestcBsDeZdZdZeje�Zejddej	dej
�ZRS(s�ACME new-cert request.

    :ivar josepy.util.ComparableX509 csr:
        `OpenSSL.crypto.X509Req` wrapped in `.ComparableX509`

    snew-certtcsrRktencoder(RFRGRHR}RR�R�RIRJt
decode_csrt
encode_csrR�(((s1/usr/lib/python2.7/site-packages/acme/messages.pyR�AstCertificateResourcecBs,eZdZejd�Zejd�ZRS(sCertificate
Resource.

    :ivar josepy.util.ComparableX509 body:
        `OpenSSL.crypto.X509` wrapped in `.ComparableX509`
    :ivar unicode cert_chain_uri: URI found in the 'up' ``Link``
header
    :ivar tuple authzrs: `tuple` of `AuthorizationResource`.

   
tcert_chain_uritauthzrs(RFRGRHRIRJR�R�(((s1/usr/lib/python2.7/site-packages/acme/messages.pyR�Nst
RevocationcBsSeZdZdZeje�Zejddej	dej
�Zejd�ZRS(s|Revocation message.

    :ivar .ComparableX509 certificate: `OpenSSL.crypto.X509` wrapped in
        `.ComparableX509`

   
srevoke-certtcertificateRkR�treason(
RFRGRHR}RR�R�RIRJtdecode_certtencode_certR�R�(((s1/usr/lib/python2.7/site-packages/acme/messages.pyR�[stOrdercBs�eZdZejdde�Zejddejde�Z	ejdde�Z
ejdde�Zejdde�Ze
jdde�Zejd	dedej�Zejd
��ZRS(s^Order Resource Body.

    :ivar identifiers: List of identifiers for the certificate.
    :vartype identifiers: `list` of `.Identifier`
    :ivar acme.messages.Status status:
    :ivar authorizations: URLs of authorizations.
    :vartype authorizations: `list` of `str`
    :ivar str certificate: URL to download certificate as a fullchain PEM.
    :ivar str finalize: URL to POST to to request issuance once all
        authorizations have "valid" status.
    :ivar datetime.datetime expires: When the order expires.
    :ivar .Error error: Any error that occurred during finalization, if
applicable.
   
tidentifiersR.R�RktauthorizationsR�tfinalizeR�R�cCstd�|D��S(Ncss|]}tj|�VqdS(N(RjRV(R"R�((s1/usr/lib/python2.7/site-packages/acme/messages.pys	<genexpr>�s(R�(Rl((s1/usr/lib/python2.7/site-packages/acme/messages.pyR��s(RFRGRHRIRJRKR�R`RVR�R�R�R�RR�R�R'R�Rk(((s1/usr/lib/python2.7/site-packages/acme/messages.pyR�js
	t
OrderResourcecBsteZdZejddej�Zejdde�Z	ejd�Z
ejdde�Zejdde�ZRS(s�Order Resource.

    :ivar acme.messages.Order body:
    :ivar str csr_pem: The CSR this Order will be finalized with.
    :ivar authorizations: Fully-fetched AuthorizationResource objects.
    :vartype authorizations: `list` of
`acme.messages.AuthorizationResource`
    :ivar str fullchain_pem: The fetched contents of the certificate URL
        produced once the order was finalized, if it's present.
    :ivar alternative_fullchains_pem: The fetched contents of alternative
certificate
        chain URLs produced once the order was finalized, if present and
requested during
        finalization.
    :vartype alternative_fullchains_pem: `list` of `str`
   
R�Rktcsr_pemR.R�t
fullchain_pemtalternative_fullchains_pem(
RFRGRHRIRJR�RVR�RKR�R�RR(((s1/usr/lib/python2.7/site-packages/acme/messages.pyR��s
tNewOrdercBseZdZdZRS(s
New
order.s	new-order(RFRGRHR}(((s1/usr/lib/python2.7/site-packages/acme/messages.pyR�s(ARHR�tjosepyRItsixtacmeRRRRRtacme.mixinsRtcollections.abcRtImportErrortcollectionsR%R!R2tdictRuR8R�R,tpython_2_unicode_compatibleR�R'tJSONDeSerializableRNR`tSTATUS_UNKNOWNR�tSTATUS_PROCESSINGtSTATUS_VALIDtSTATUS_INVALIDtSTATUS_REVOKEDtSTATUS_READYtSTATUS_DEACTIVATEDRitIDENTIFIER_FQDNRjRmR�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R(((s1/usr/lib/python2.7/site-packages/acme/messages.pyt<module>s�

			<!G		i	
B"