File manager - Edit - /snap/core20/2866/usr/lib/python3/dist-packages/cryptography/x509/__pycache__/general_name.cpython-38.pyc
Back
U �e�]�( � @ s~ d dl mZmZmZ d dlZd dlZd dlZd dlmZ d dl Z d dl mZ d dlm Z d dlmZ d dlmZ dd d ddd dddd� Zdd� ZG dd� de�Ze �ej�G dd� de��Ze �e�G dd� de��Zdd� Ze �e�G dd� de��Ze �e�G dd� de��Ze �e�G d d!� d!e��Ze �e�G d"d#� d#e��Z e �e�G d$d%� d%e��Z!e �e�G d&d'� d'e��Z"dS )(� )�absolute_import�division�print_functionN)� parseaddr)�urllib_parse)�utils)�Name)�ObjectIdentifierZ otherNameZ rfc822NameZdNSNameZx400AddressZ directoryNameZediPartyNameZuniformResourceIdentifierZ iPAddressZregisteredID) r � � � � � � � � c C s0 zdd l } | W S tk r* td��Y nX d S )Nr z�idna is not installed, but a deprecated feature that requires it was used. See: https://cryptography.io/en/latest/faq/#importerror-idna-is-not-installed)�idna�ImportError)r � r �@/usr/lib/python3/dist-packages/cryptography/x509/general_name.py�_lazy_import_idna! s �r c s e Zd Z� fdd�Z� ZS )�UnsupportedGeneralNameTypec s t t| ��|� || _d S �N)�superr �__init__�type)�self�msgr �� __class__r r r 0 s z#UnsupportedGeneralNameType.__init__)�__name__� __module__�__qualname__r � __classcell__r r r r r / s r c @ s e Zd Zejdd� �ZdS )�GeneralNamec C s dS )z0 Return the value of the object Nr �r r r r �value7 s zGeneralName.valueN)r r! r"