File: //usr/lib/python3.9/site-packages/ipalib/install/__pycache__/certmonger.cpython-39.pyc
a
�N(ip � @ s� d dl mZmZ d dlZd dlZd dlZd dlZd dlZd dlZd dl Z d dl
mZ d dlm
Z
d dlmZ d dlmZ d dlmZ d dlmZ e�e�Zd Zd
Zd
ZdZdZd
ZdgZG dd� d�Z G dd� de �Z!dd� Z"dd� Z#dd� Z$dd� Z%dd� Z&dd� Z'dd � Z(d!d"� Z)dBd&d'�Z*dCd(d)�Z+dDd*d+�Z,dEd,d-�Z-dFd.d/�Z.dGd0d1�Z/d2d3� Z0d4d5� Z1d6d7� Z2d8d9� Z3dHd;d<�Z4d=d>� Z5dId@dA�Z6dS )J� )�print_function�absolute_importN)�api)�CA_DBUS_TIMEOUT)�DN)�Sleeper)�paths)�services�/org/fedorahosted/certmonger�org.fedorahosted.certmongerz#org.fedorahosted.certmonger.request�org.fedorahosted.certmonger.ca�org.freedesktop.DBus.Propertiesztemplate-hostnamec @ s e Zd ZdZddd�ZdS )�_cm_dbus_objectz>
Auxiliary class for convenient DBus object handling.
NFc C s� |du s|du s|du r t d��|du r,|}|| _|| _|| _|| _|| _|�||�| _t� | j|�| _
|r|t� | jt�| _dS )aY
bus - DBus bus object, result of dbus.SystemBus() or dbus.SessionBus()
Object is accesible over this DBus bus instance.
object_path - path to requested object on DBus bus
object_dbus_interface
parent_dbus_interface
property_interface - create DBus property interface? True or False
Nz5bus, object_path and dbus_interface must not be None.)
�RuntimeError�bus�parent�pathZobj_dbus_ifZparent_dbus_if�
get_object�obj�dbus� Interface�obj_if�DBUS_PROPERTY_IF�prop_if)�selfr r Zobject_pathZobject_dbus_interfaceZparent_dbus_interfaceZproperty_interface� r �=/usr/lib/python3.9/site-packages/ipalib/install/certmonger.py�__init__V s
�z_cm_dbus_object.__init__)NF)�__name__�
__module__�__qualname__�__doc__r r r r r r R s �r c s<