HEX
Server: LiteSpeed
System: Linux shams.tasjeel.ae 5.14.0-611.5.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Nov 11 08:09:09 EST 2025 x86_64
User: infowars (1469)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: //proc/self/root/lib/python3.9/site-packages/ipaclient/plugins/__pycache__/certmap.cpython-39.pyc
a

}�f<�@sfddlmZddlmZmZddlmZddlmZddl	m
Z
e�Zeddd�Gdd	�d	e��Zd
S)�)�MethodOverride)�errors�x509)�
BinaryFile)�Registry)�_T)�overrideZno_failcsNeZdZeded�ed�dd�fZ�fdd�Z�fdd	�Z�fd
d�Z�Z	S)�
certmap_matchzfile?z
Input filez!File to load the certificate from�cli)Zlabel�docZincludec#s6tt|���D]"}|jdks*|jjjdkr|VqdS)N�certificater
)�superr	�get_args�name�api�env�context)�self�arg��	__class__��=/usr/lib/python3.9/site-packages/ipaclient/plugins/certmap.pyrszcertmap_match.get_argsc#sXtt|���D]*}|jdkr|jjjdkr|jdd�Vqtt|���D]
}|VqHdS)Nrr
F)�required)	r
r	rrrrrZclone�get_options)rr�optionrrrrs
zcertmap_match.get_optionscsp|jjjdkrZ|r*d|vr*tjtd�d��|r@t�|d�g}nd|vrV|�d�g}ng}t	t
|�j|i|��S)Nr
rz,cannot specify both raw certificate and file)�reasonr)rrrrZMutuallyExclusiveErrorrrZload_unknown_x509_certificate�popr
r	�forward)r�args�optionsrrrr%s�zcertmap_match.forward)
�__name__�
__module__�__qualname__rrZ
takes_argsrrr�
__classcell__rrrrr	s��	r	N)
Zipaclient.frontendrZipalibrrZipalib.parametersrZipalib.plugablerZipalib.textr�registerr	rrrr�<module>s