W<'R d dl mZ d dlZd dlZd dlZd dlmZ d dlmZ d dl m
Z
ej ej ej
ej ej f Z G d de Z G d d ej
Z G d de Z G d
de Z G d de Z G d de Z G d de Z G d de Z G d de ZdS ) )annotationsN) parseaddr)Name)ObjectIdentifierc e Zd ZdS )UnsupportedGeneralNameTypeN)__name__
__module____qualname__ /builddir/build/BUILD/imunify360-venv-2.6.2/opt/imunify360/venv/lib64/python3.11/site-packages/cryptography/x509/general_name.pyr r s Dr
r c @ e Zd Zeej dd ZdS )GeneralNamereturn
typing.Anyc dS )z0
Return the value of the object
Nr selfs r valuezGeneralName.value s r
N)r r )r r
r propertyabcabstractmethodr r r
r r r s@
X r
r ) metaclassc ^ e Zd ZddZedd Zedd ZddZddZ ddZ
dS )
RFC822Namer strr Nonec t |t r4 | d n,# t $ r t d w xY wt d t
| \ }}|s|st d || _ d S )NasciizRFC822Name values should be passed as an A-label string. This means unicode characters should be encoded via a library like idna.value must be stringzInvalid rfc822name value)
isinstancer encodeUnicodeEncodeError
ValueError TypeErrorr _value)r r nameaddresss r __init__zRFC822Name.__init__% s eS!!
4
W%%%%%
+
2333!%((
g 9w 9 7888 - Ac | j S Nr' r s r r zRFC822Name.value:
{r
c > | | }||_ |S r- __new__r' clsr instances r _init_without_validationz#RFC822Name._init_without_validation> ;;s##r
c d| j dS )Nz