Your IP : 18.119.235.107
3
���f! � @ s: d dl mZ ddlmZ d dlZd dlZG dd� d�ZdS )� )�defaultdict� )�dnskeyNc @ sn e Zd ZdZedd� �ZdZg Zddd�Zdd� Z d d
� Z
dd� Zd
d� Zdd� Z
dd� Zdd� Zdd� ZdS )�keydictz> A dictionary of keys, indexed by name, algorithm, and key id c C s t t�S )N)r �dict� r r �/usr/lib/python3.6/keydict.py�<lambda> s zkeydict.<lambda>Nc K s� |j dd �| _|j dd �}|s:|j dd �p,d}| j|� nXxV|D ]N}d|krb|d d k rb|d }n|rr|j|�jptd}| j||�s@| jj|� q@W d S )NZkeyttl�zones�path�.)�get�_defttl�readallZpolicyZ directory�readone�_missing�append)�selfZdp�kwargsr
r �zoner r r �__init__ s
zkeydict.__init__c C sL t j tjj|d��}x2|D ]*}t||| j�}|| j|j |j |j <