1
     ˆÊ�þZË6ûah/61 þÉƒ_ÈÇÆÅ ¨    #
# This file is part of pyasn1-modules software.
#
# Created by Russ Housley with some assistance from asn1ate v.0.6.0.
#
# Copyright (c) 2019, Vigil Security, LLC
# License: http://snmplabs.com/pyasn1/license.html
#
# Internationalized Email Addresses in X.509 Certificates
#
# ASN.1 source from:
# https://www.rfc-editor.org/rfc/rfc8398.txt
# https://www.rfc-editor.org/errata/eid5418
#

from pyasn1.type import char
from pyasn1.type import constraint
from pyasn1.type import univ

from pyasn1_modules import rfc5280

MAX = float('inf')


# SmtpUTF8Mailbox contains Mailbox as specified in Section 3.3 of RFC 6531

id_pkix = rfc5280.id_pkix

id_on = id_pkix + (8, )

id_on_SmtpUTF8Mailbox = id_on + (9, )


class SmtpUTF8Mailbox(char.UTF8String):
    pass

SmtpUTF8Mailbox.subtypeSpec = constraint.ValueSizeConstraint(1, MAX)


on_SmtpUTF8Mailbox = rfc5280.AnotherName()
on_SmtpUTF8Mailbox['type-id'] = id_on_SmtpUTF8Mailbox
on_SmtpUTF8Mailbox['value'] = SmtpUTF8Mailbox()


# Map of Other Name OIDs to Other Name is added to the
# ones that are in rfc5280.py

_anotherNameMapUpdate = {
    id_on_SmtpUTF8Mailbox: SmtpUTF8Mailbox(),
}

rfc5280.anotherNameMap.update(_anotherNameMapUpdate)
  6   ˆl–ß=¿Jõ2Ž¥@»p@¸TÅ£�þZyõ›~8Þeé 	óÊƒ\ÉÈÇÆ ‰    #
# This file is part of pyasn1-modules software.
#
# Created by Russ Housley with assistance from asn1ate v.0.6.0.
#
# Copyright (c) 2019, Vigil Security, LLC
# License: http://snmplabs.com/pyasn1/license.html
#
# Authority Clearance Constraints Certificate Extension
#
# ASN.1 source from:
# https://www.rfc-editor.org/rfc/rfc5913.txt
# https://www.rfc-editor.org/errata/eid5890
#

from pyasn1.type import constraint
from pyasn1.type import univ

from pyasn1_modules import rfc5280
from pyasn1_modules import rfc5755

MAX = float('inf')


# Authority Clearance Constraints Certificate Extension

id_pe_clearanceConstraints = univ.ObjectIdentifier('1.3.6.1.5.5.7.1.21')

id_pe_authorityClearanceConstraints = id_pe_clearanceConstraints


class AuthorityClearanceConstraints(univ.SequenceOf):
    componentType = rfc5755.Clearance()
    subtypeSpec=constraint.ValueSizeConstraint(1, MAX)


# Map of Certificate Extension OIDs to Extensions added to the
# ones that are in rfc5280.py

_certificateExtensionsMapUpdate = {
    id_pe_clearanceConstraints: AuthorityClearanceConstraints(),
}

rfc5280.certificateExtensionsMap.update(_certificateExtensionsMapUpdate)
  7   ˆl–ß=¿J
ClÊq@¿p-\mµ1hß�þB)\YÆßvVÛ#ì¼Û¿ÏËƒiæÚÊÅÈÇ ö    §
    †+‡j9  ã                   ó–   — d Z dZdZg ZdZdZddlZg d¢Zd„ Z	d	„ Z
ed
k    r(ddlZ G d„ dej        ¦  «        Z ej        ¦   «          dS dS )zConverts an IRI to a URI.z!Joe Gregorio (joe@bitworking.org)zCopyright 2006, Joe Gregorioz1.0.0ÚMITé    N))é    iÿ×  )i à  iÿø  )i ù  iÏý  )iðý  iïÿ  )i   iýÿ )i   iýÿ )i   iýÿ )i   iýÿ )i   iýÿ )i   iýÿ )i   iýÿ )i   iýÿ )i  	 iýÿ	 )i  
 iýÿ
 )i   iýÿ )i   iýÿ )i   iýÿ )i  iýÿ )i   iýÿ )i   iýÿ c                 óÒ   — | }t          | ¦  «        }t          D ]M\  }}||k     r nA||k    r:||k    r4d                     d„ |                      d¦  «        D ¦   «         ¦  «        } nŒN|S )NÚ c                 ó   — g | ]}d |z  ‘ŒS )z%%%2X© )Ú.0Úos     ú2/usr/lib/python3/dist-packages/httplib2/iri2uri.pyú
<listcomp>zencode.<locals>.<listcomp>7   s   € ÐEÐEÐE¨a˜g¨™kÐEÐEÐEó    úutf-8)ÚordÚescape_rangeÚjoinÚencode)ÚcÚretvalÚiÚlowÚhighs        r   r   r   0   s{   € Ø€FÝˆA‰Œ€AÝ!ð ð ‰	ˆˆTØˆsŠ7ˆ7ØˆEØ�Š8ˆ8˜˜Tš	˜	Ø—W’WÐEÐE°1·8²8¸GÑ3DÔ3DÐEÑEÔEÑFÔFˆFØˆEøØ€Mr   c                 óP  — t          | t          ¦  «        r�t          j                             | ¦  «        \  }}}}}|                     d¦  «                             d¦  «        }t          j                             |||||f¦  «        } d                   