Spade
Mini Shell
| Directory:~$ /usr/lib/python2.7/site-packages/acme/ |
| [Home] [System Details] [Kill Me] |
�
���_c@sQdZddlmZdefd��YZdefd��YZdejfd��YZd efd
��YZ de fd��YZ
d
e fd��YZdefd��YZdefd��YZ
de fd��YZdefd��YZdefd��YZdefd��YZde fd��YZdefd��YZdS(
sACME errors.i����(terrorstErrorcBseZdZRS(sGeneric ACME
error.(t__name__t
__module__t__doc__(((s//usr/lib/python2.7/site-packages/acme/errors.pyRstDependencyErrorcBseZdZRS(sDependency
error(RRR(((s//usr/lib/python2.7/site-packages/acme/errors.pyR stSchemaValidationErrorcBseZdZRS(s)JSON
schema ACME object validation
error.(RRR(((s//usr/lib/python2.7/site-packages/acme/errors.pyR
stClientErrorcBseZdZRS(sNetwork
error.(RRR(((s//usr/lib/python2.7/site-packages/acme/errors.pyRstUnexpectedUpdatecBseZdZRS(sUnexpected
update
error.(RRR(((s//usr/lib/python2.7/site-packages/acme/errors.pyRst
NonceErrorcBseZdZRS(sServer response nonce
error.(RRR(((s//usr/lib/python2.7/site-packages/acme/errors.pyR stBadNoncecBs
eZdZd�Zd�ZRS(sBad nonce
error.cOs/tt|�j||�||_||_dS(N(tsuperR
t__init__tnonceterror(tselfR
Rtargstkwargs((s//usr/lib/python2.7/site-packages/acme/errors.pyRs cCsdj|j|j�S(NsInvalid
nonce ({0!r}):
{1}(tformatR
R(R((s//usr/lib/python2.7/site-packages/acme/errors.pyt__str__)s(RRRRR(((s//usr/lib/python2.7/site-packages/acme/errors.pyR
s
tMissingNoncecBs eZdZd�Zd�ZRS(s�Missing nonce error.
According to the specification an "ACME server MUST include an
Replay-Nonce header field in each successful response to a POST it
provides to a client (...)".
:ivar requests.Response response: HTTP Response
cOs&tt|�j||�||_dS(N(RRRtresponse(RRRR((s//usr/lib/python2.7/site-packages/acme/errors.pyR7scCsdj|jjj|jj�S(Ns_Server
{0} response did not include a replay nonce, headers: {1} (This may be a
service
outage)(RRtrequesttmethodtheaders(R((s//usr/lib/python2.7/site-packages/acme/errors.pyR<s(RRRRR(((s//usr/lib/python2.7/site-packages/acme/errors.pyR-s t PollErrorcBs/eZdZd�Zed��Zd�ZRS(s�Generic
error when polling for authorization fails.
This might be caused by either timeout (`exhausted` will be non-empty)
or by some authorization being invalid.
:ivar exhausted: Set of `.AuthorizationResource` that didn't
finish
within max allowed attempts.
:ivar updated: Mapping from original `.AuthorizationResource`
to the most recently updated one
cCs)||_||_tt|�j�dS(N(t exhaustedtupdatedRRR(RRR((s//usr/lib/python2.7/site-packages/acme/errors.pyRNs cCs
t|j�S(s
Was the error caused by
timeout?(tboolR(R((s//usr/lib/python2.7/site-packages/acme/errors.pyttimeoutSscCsdj|jj|j|j�S(Ns#{0}(exhausted={1!r},
updated={2!r})(Rt __class__RRR(R((s//usr/lib/python2.7/site-packages/acme/errors.pyt__repr__Xs(RRRRtpropertyRR(((s//usr/lib/python2.7/site-packages/acme/errors.pyRBs tValidationErrorcBseZdZd�ZRS(s�Error
for authorization failures. Contains a list of authorization
resources, each of which is invalid and should have an error field.
cCs
||_tt|�j�dS(N(tfailed_authzrsRR!R(RR"((s//usr/lib/python2.7/site-packages/acme/errors.pyRas (RRRR(((s//usr/lib/python2.7/site-packages/acme/errors.pyR!]stTimeoutErrorcBseZdZRS(s>Error
for when polling an authorization or an order times
out.(RRR(((s//usr/lib/python2.7/site-packages/acme/errors.pyR#fst
IssuanceErrorcBseZdZd�ZRS(sDError
sent by the server after requesting issuance of a certificate.cCs
||_tt|�j�dS(s\Initialize.
:param messages.Error error: The error provided by the server.
N(RRR$R(RR((s//usr/lib/python2.7/site-packages/acme/errors.pyRms (RRRR(((s//usr/lib/python2.7/site-packages/acme/errors.pyR$jst
ConflictErrorcBseZdZd�ZRS(sError
for when the server returns a 409 (Conflict) HTTP status.
In the version of ACME implemented by Boulder, this is used to find an
account if you only have the private key, but don't know the
account URL.
Also used in V2 of the ACME client for the same purpose.
cCs
||_tt|�j�dS(N(tlocationRR%R(RR&((s//usr/lib/python2.7/site-packages/acme/errors.pyR~s (RRRR(((s//usr/lib/python2.7/site-packages/acme/errors.pyR%vstWildcardUnsupportedErrorcBseZdZRS(sEError
for when a wildcard is requested but is unsupported by ACME
CA.(RRR(((s//usr/lib/python2.7/site-packages/acme/errors.pyR'�sN(RtjosepyRtjose_errorst ExceptionRRtDeserializationErrorRRRR R
RRR!R#R$R%R'(((s//usr/lib/python2.7/site-packages/acme/errors.pyt<module>s