)g("dZddlmZmZmZmZmZmZmZm Z m Z ddl m Z m Z ddlmZmZddlTGddeZGdd eZGd d eZGd d eZGddeZGddeZGddeZdS)z Definitions from 3GPP TS 31.103 V18.1.0 which are shared by both USIM (31.102) and ISIM (31.103) and hence need to be in a separate python module to avoid circular dependencies. ) StructSwitchBytes GreedyString GreedyBytesInt8ubPrefixedEnumByte) BER_TLV_IETLV_IE_Collection) HexAdapter Utf8Adapter)*c@eZdZGddedZd fd ZxZS) EF_UICCIARIc$eZdZeeZdS)EF_UICCIARI.iariN__name__ __module__ __qualname__rr _constructD/home/jenkins/workspace/simtester-sanitize/pySim/ts_31_103_shared.pyiarir [-- rrtag6fe7N EF.UICCIARI UICC IARIc ftjd||||d|tj|_dSNfidsfidnamedescr)super__init__rr_tlvselfr(r)r*r+kwargs __class__s rr-zEF_UICCIARI.__init__ s9LSt$TLLVLLL$ r)r"Nr#r$)rrrr rr- __classcell__r2s@rrrsn.....zt....%%%%%%%%%%rrceZdZGddedZGddedZGdd eeeg Zdfd ZxZ S)EF_IMSConfigDatac6eZdZeedZdS)&EF_IMSConfigData.ImsConfigDataEncodingNrrrrrrrrrImsConfigDataEncodingr8&%Za)) rr;rr ceZdZeZdS)EF_IMSConfigData.ImsConfigDataNrrrrrrrr ImsConfigDatar>(! rr@ceZdZdS)(EF_IMSConfigData.ImsConfigDataCollectionNrrrrrrImsConfigDataCollectionrD+ rrFnested6ff8NEF.IMSConfigDataIMS Configuration Datac ftjd||||d|tj|_dSr&)r,r-r6rFr.r/s rr-zEF_IMSConfigData.__init__-s9LSt$TLLVLLL$< r)rJNrKrL) rrrr r;r@r rFr-r3r4s@rr6r6%s***** ****""""" """"     "3=RTaT    ;;;;;;;;;;rrOc@eZdZGddedZd fd ZxZS) EF_WebRTCURIc$eZdZeeZdS)EF_WebRTCURI.uriNrrrrurir`rrrrr 6ffaN EF.WebRTCURI WebRTC URIc ftjd||||d|tj|_dSr&)r,r-rrr.r/s rr-zEF_WebRTCURI.__init__cs9LSt$TLLVLLL $ r)rNrr)rrrr rr-r3r4s@rrr_sn.....jd....%%%%%%%%%%rrceZdZGddedZGddedZGdd eeeg Z dfd ZxZ S)EF_MuDMiDConfigDatac6eZdZeedZdS),EF_MuDMiDConfigData.MudMidConfigDataEncodingr9Nr:rrrMudMidConfigDataEncodingrir<rrrr ceZdZeZdS)$EF_MuDMiDConfigData.MudMidConfigDataNr?rrrMudMidConfigDatarkrArrrBceZdZdS).EF_MuDMiDConfigData.MudMidConfigDataCollectionNrErrrMudMidConfigDataCollectionrnrGrrrH6ffeNEF.MuDMiDConfigDataMuD and MiD Configuration Datac ftjd||||d|tj|_dSr&)r,r-rrr.r/s rr-zEF_MuDMiDConfigData.__init__ps9LSt$TLLVLLL'B r)rNrr) rrrr rrr rr-r3r4s@rrrhs*****:4****""""":4""""     %6@XZj?k    3H6CCCCCCCCCCrrcHeZdZdZGddedZ d fd ZxZS) EF_AC_GBAUAPIz1The use of this EF is eescribed in 3GPP TS 31.130cZeZdZedeeez deeez ZdS)$EF_AC_GBAUAPI.AppletNafAccessControlaidnaf_idN)rrrrr rrrrrrAppletNafAccessControlrxsJVE((6;"?"??$XXfk%B%BBDD rrrr 6f0aN EF.GBAUAPIAccess Control to GBA_U_APIc ftjd||||d|tj|_dSr&)r,r-rrr.r/s rr-zEF_AC_GBAUAPI.__init__~s9LSt$TLLVLLL!8 r)rNrr)rrr__doc__r rr-r3r4s@rrrvs;;DDDDDDDDD 4@39999999999rrc$eZdZdZdfd ZxZS) EF_IMSDCIz3See Management object as defined in 3GPP TS 24.275.6f0bN EF.IMSDCIIMS Data Channel Indicationc ~tjd||||d|ttddd|_dS)Nr'rr9)ims_dc_not_allowed ims_dc_allowed_after_ims_session'ims_dc_allowed_simultaneous_ims_sessionr)r,r-r r rr/s rr-zEF_IMSDCI.__init__sRLSt$TLLVLLLtFJMQSSSr)rNrr)rrrrr-r3r4s@rrrsM==SSSSSSSSSSrrN)r constructrrrrrrr r r osmocom.tlvr r osmocom.constructrrpySim.filesystem LinFixedEFrBerTlvEFr6rOrrr TransparentEFrrrrrs*eddddddddddddddddddddd5555555555555555%%%%%*%%% = = = = =x = = =*;*;*;*;*;*;*;*;Z%%%%%:%%% C C C C C( C C C 9 9 9 9 9J 9 9 9SSSSS SSSSSr