%PDF- %PDF-
Direktori : /lib/python3/dist-packages/certbot/_internal/__pycache__/ |
Current File : //lib/python3/dist-packages/certbot/_internal/__pycache__/client.cpython-312.pyc |
� M/�eo� � � � d Z ddlZddlZddlZddlmZ ddlmZ ddlmZ ddlmZ ddlm Z ddlm Z dd lmZ dd lmZ ddl mZ ddlmZ ddlZdd lmZ ddlmZ ddlmZ ddlmZ ddlZddlmZ ddlmZ ddlmZ ddlmZ ddl Z ddl m!Z! ddl mZ ddl mZ ddl m"Z" ddl m#Z# ddl$m%Z% ddl$m&Z& ddl$m'Z' ddl$m(Z( ddl$m)Z) ddl$m*Z* ddl$m+Z+ ddl,m-Z. dd l,m/Z0 dd!l1m2Z2 dd"l3m4Z5 ddl3m#Z6 dd#l7m8Z8 ejr e:� Z; dBd$e!jx d%ejz d&eej| d'ej~ fd(�Z@d$e!jx d'eAfd)�ZBd$e!jx d'eAfd*�ZC G d+� d,� ZDd'eAfd-�ZE dBd$e!jx d.e8d/eeeAgdf d'ee%j� ej~ f fd0�ZGd1ej~ d$e!jx d/eeeAgdf d'ej| fd2�ZH G d3� d4� ZIdBd5e#j� d6ee#j� d'dfd7�ZLd8eAd9eMd$e!jx d:e.j� d'df d;�ZOd$e!jx d<eAd=eAd'ee eAf fd>�ZPd?eQd@e d'dfdA�ZRy)CzCertbot client API.� N)�Any)�Callable)�cast)�Dict)�IO)�List)�Optional)�Tuple)�default_backend)�generate_private_key)�ES256)�ES384)�ES512)�RS256)�client)�crypto_util)�errors)�messages)� configuration)� interfaces)�util)�account)�auth_handler)�cli)� constants)�eff)� error_handler)�storage)�disco)� selection)�os)�ops)�AccountStorage�config�key�regr�returnc �� � |j dk( rc|j }|j dk( rt }nG|j dk( rt }n1|j dk( rt }nt j d� �t }t j |||| j t | � �� }t j j | j |� }t j ||� S )z Wrangle ACME client construction�EC� i� i z6No matching signing algorithm can be found for the key)�algr � verify_ssl� user_agent)�typr% �key_sizer r r r �NotSupportedErrorr �acme_client� ClientNetwork� no_verify_ssl�determine_user_agent�ClientV2� get_directory�server)r$ r% r&