HEX
Server: LiteSpeed
System: Linux s1049.use1.mysecurecloudhost.com 4.18.0-477.27.2.lve.el8.x86_64 #1 SMP Wed Oct 11 12:32:56 UTC 2023 x86_64
User: xedaptot (3356)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: //lib/python3.6/site-packages/ipaclient/plugins/__pycache__/host.cpython-36.opt-1.pyc
3

�d[eT�@sfddlmZddlmZmZddlmZddlmZddlmZe�Z	e	ddd�Gdd	�d	e��Z
d
S)�)�MethodOverride)�errors�util)�Registry)�_)�x509T)�overrideZno_failcseZdZ�fdd�Z�ZS)�	host_showcs�d|kr�tj|d�tt|�j||�}d|dkrxdd�|ddD�}tj||d�td�t|dd�|d<|St	j
|dd
��ntt|�j||�SdS)N�outZusercertificate�resultcss|]}tj|�VqdS)N)rZload_der_x509_certificate)�.0�c�r�/usr/lib/python3.6/host.py�	<genexpr>%sz$host_show.forward.<locals>.<genexpr>z(Certificate(s) stored in file '%(file)s')�fileZsummary�)�entry���)rZcheck_writable_file�superr	�forwardrZwrite_certificate_listr�dictrZNoCertificateError)�self�keysZoptionsrZcerts)�	__class__rrr szhost_show.forward)�__name__�
__module__�__qualname__r�
__classcell__rr)rrr	sr	N)Zipaclient.frontendrZipalibrrZipalib.plugablerrr�registerr	rrrr�<module>s