ó Ú_e[c@s#dgZdefd„ƒYZdS(tOpenTypecBs_eZdZd d„Zed„ƒZd„Zd„Zd„Z d„Z d„Z d„Z RS( sŽCreate ASN.1 type map indexed by a value The *DefinedBy* object models the ASN.1 *DEFINED BY* clause which maps values to ASN.1 types in the context of the ASN.1 SEQUENCE/SET type. OpenType objects are duck-type a read-only Python :class:`dict` objects, however the passed `typeMap` is stored by reference. Parameters ---------- name: :py:class:`str` Field name typeMap: :py:class:`dict` A map of value->ASN.1 type. It's stored by reference and can be mutated later to register new mappings. Examples -------- .. code-block:: python openType = OpenType( 'id', {1: Integer(), 2: OctetString()} ) Sequence( componentType=NamedTypes( NamedType('id', Integer()), NamedType('blob', Any(), openType=openType) ) ) cCs.||_|dkr!i|_n ||_dS(N(t_OpenType__nametNonet_OpenType__typeMap(tselftnamettypeMap((s6/tmp/pip-install-KP2Jbq/pyasn1/pyasn1/type/opentype.pyt__init__.s   cCs|jS(N(R(R((s6/tmp/pip-install-KP2Jbq/pyasn1/pyasn1/type/opentype.pyR5scCs |jjƒS(N(Rtvalues(R((s6/tmp/pip-install-KP2Jbq/pyasn1/pyasn1/type/opentype.pyR;scCs |jjƒS(N(Rtkeys(R((s6/tmp/pip-install-KP2Jbq/pyasn1/pyasn1/type/opentype.pyR >scCs |jjƒS(N(Rtitems(R((s6/tmp/pip-install-KP2Jbq/pyasn1/pyasn1/type/opentype.pyR AscCs ||jkS(N(R(Rtkey((s6/tmp/pip-install-KP2Jbq/pyasn1/pyasn1/type/opentype.pyt __contains__DscCs |j|S(N(R(RR ((s6/tmp/pip-install-KP2Jbq/pyasn1/pyasn1/type/opentype.pyt __getitem__GscCs t|jƒS(N(titerR(R((s6/tmp/pip-install-KP2Jbq/pyasn1/pyasn1/type/opentype.pyt__iter__JsN( t__name__t __module__t__doc__RRtpropertyRRR R R R R(((s6/tmp/pip-install-KP2Jbq/pyasn1/pyasn1/type/opentype.pyR s!      N(t__all__tobjectR(((s6/tmp/pip-install-KP2Jbq/pyasn1/pyasn1/type/opentype.pyts