File: //usr/lib/python3/dist-packages/acme/__pycache__/messages.cpython-39.pyc
a
�`] � @ sB d Z ddlZddlZddlZddlmZ ddlmZ ddlmZ ddlm Z ddlm
Z
ddlmZ zdd l
mZ W n ey� dd lmZ Y n0 d
ZdZdd
ddddddddddddddddddd d!d"d#d$d%d&�Zed'd(� e�� D ��Ze�ed)d(� e�� D ��� d*d+� ZejG d,d-� d-ejej��ZG d.d/� d/eje�ZG d0d1� d1e�Zed2�Zed3�Z ed4�Z!ed5�Z"ed6�Z#ed7�Z$ed8�Z%ed9�Z&G d:d;� d;e�Z'e'd<�Z(G d=d>� d>ej�Z)G d?d@� d@ej�Z*G dAdB� dBej�Z+G dCdD� dDe+�Z,G dEdF� dFej�Z-G dGdH� dHe.�Z/G dIdJ� dJe-�Z0e*j1G dKdL� dLee0��Z2G dMdN� dNee0�Z3G dOdP� dPe,�Z4G dQdR� dRe-�Z5G dSdT� dTe+�Z6G dUdV� dVe-�Z7e*j1G dWdX� dXee7��Z8G dYdZ� dZee7�Z9G d[d\� d\e,�Z:e*j1G d]d^� d^eej��Z;G d_d`� d`e,�Z<e*j1G dadb� dbeej��Z=G dcdd� dde-�Z>G dedf� dfe,�Z?e*j1G dgdh� dhe>��Z@dS )izACME protocol messages.� N��
challenges)�errors)�fields)�jws)�util)�
ResourceMixin)�Hashablezurn:acme:error:zurn:ietf:params:acme:error:z4The request specified an account that does not existzOThe request specified a certificate to be revoked that has already been revokedz2The CSR is unacceptable (e.g., due to a short key)z1The client sent an unacceptable anti-replay noncez>The JWS was signed by a public key the server does not supportz;The revocation reason provided is not allowed by the serverz@The JWS was signed with an algorithm the server does not supportz\Certification Authority Authorization (CAA) records forbid the CA from issuing a certificatezBSpecific error conditions are indicated in the "subproblems" arrayz?The server could not connect to the client to verify the domainzAThere was a problem with a DNS query during identifier validationz4The server could not validate a DNSSEC signed domainz;Response received didn't match the challenge's requirementsz1The provided email for a registration was invalidz$The provided contact URI was invalidz!The request message was malformedz9The server will not issue certificates for the identifierzLThe request attempted to finalize an order that is not ready to be finalizedz,There were too many requests of a given typez(The server experienced an internal errorz=The server experienced a TLS error during domain verificationz)The client lacks sufficient authorizationz@A contact URL for an account used an unsupported protocol schemez*The server could not resolve a domain namez'An identifier is of an unsupported typez,The server requires external account binding)ZaccountDoesNotExistZalreadyRevokedZbadCSRZbadNonceZbadPublicKeyZbadRevocationReasonZbadSignatureAlgorithmZcaaZcompoundZ
connection�dnsZdnssecZincorrectResponseZinvalidEmailZinvalidContactZ malformedZrejectedIdentifierZ
orderNotReadyZrateLimitedZserverInternalZtlsZunauthorizedZunsupportedContactZunknownHostZunsupportedIdentifier�externalAccountRequiredc c s | ]\}}t | |fV qd S �N)�ERROR_PREFIX��.0�nameZdesc� r �//usr/lib/python3/dist-packages/acme/messages.py� <genexpr>9 s r c c s | ]\}}t | |fV qd S r )�OLD_ERROR_PREFIXr r r r r <