h]i/ddlmZddlmZddlmZddlmZddlmZddlmZddlmZddlmZdd l m Z dd l m Z d Z e d Zejd Ze edZGddej$Ze edZGddej$Ze edZGddej$Ze edZGddej$Ze edZGddej$Ze edZGddej:Ze ed ZGd!d"ej:Z e ed#Z!Gd$d%ej$Z"e ed&Z#Gd'd(ej$Z$e ed)Z%Gd*d+ej$Z&e ed,Z'Gd-d.ej$Z(e ed/Z)Gd0d1ej$Z*e ed2Z+Gd3d4ej$Z,e ed5Z-Gd6d7ej$Z.e ed8Z/Gd9d:ej`Z1ejdejfd;ej$ejhd<ej$e1_5Gd=d>e1Z6e ed?Z7Gd@dAej$Z8ejrdBdCdDdEdFe8_:ejvdGdHdIdJdKe8_<GdLdMej`Z=ejdejfdNe8ej|dOej~jdPejfdQejjejdeRejfdSejjejdeRe=_5GdTdUej`ZCejdejfdNe8ejfdVejjejdeRej|dOej~jdPeC_5GdWdXejZEejdejfdYej$ejfdZe=jejejejd[ejfd\eCjejejejd[eE_5Gd]d^eEZIe ed_ZJGd`daejZKejdeeK_<e edbZLGdcdde jZNe edeZOGdfdgejZPejdeeP_<e edhZQGdidjejZRejdeeR_<e edkZSGdldmej`ZTejdejfdnej$ejfdoej$eT_5GdpdqeTZUe edrZVGdsdtej$ZWe eduZXGdvdwej:ZYe edxZZGdydzej:Z[e ed{Z\Gd|d}ejZ]ejdee]_<e ed~Z^Gddej$Z_ejrddddddddddd e__:ejvddddddddddd e__<GddejZae_ea_5GddeaZbe edZcGddej$Zdejrdddded_:ejvdddded_<Gddej`Zeejdejhdej$jejejejd[ejfdedjejejejd[ejhdejjejdeRjejejejd[ejhdejjejdeRjejejejd[ejhdejjejdeRjejejejd[ejhde8jejejejd[ee_5GddeeZgeeeeeeeeeeeeee e!e"e#e$i Zhie%eWe'e(e)e*e+e,e-e.e/e6e7eIeJeKeLeNeOePeQeReSeUeVe&eXeYeZe[e\e]e^ebecegiZiGddejZjGddejZlGddej`Zmejdejfdejejfdejelejdeiem_5Gddej`Zpejdejfdejejfdejelejdehep_5ejdZqGddejZrejrder_:Gddej`ZsejdejhdejemjejdeRejhdejes_5ej`jejddzes_vGdĄdejZwesew_5ejdeew_<GdƄdej`Zxejdej|derjdɬPejhdejepjejdeejejejd˫ejfdewex_5eqexiZye jjeyy))char) constraint) namedtype)namedval)opentype)tag)univ)useful)rfc5652)rfc6019cg}t|D]Q}t|tjr|j t |8|j t|Stj|S)N)tuple isinstancer ObjectIdentifierextendlistappendint) componentsoutputxs 8/usr/lib/python3/dist-packages/pyasn1_modules/rfc6031.py_OIDrs^ F : " a.. / MM$q' " MM#a& ! "   ((infz1.2.840.113549.1.9.16.12c eZdZy)at_pskc_manufacturerN__name__ __module__ __qualname__rrrr/rrc eZdZy)at_pskc_serialNoNrr#rrr'r'5r$rr'c eZdZy) at_pskc_modelNrr#rrr*r*;r$rr*c eZdZy)at_pskc_issueNoNrr#rrr-r-Ar$rr-c eZdZy)at_pskc_deviceBindingNrr#rrr0r0Gr$rr0c eZdZy)at_pskc_deviceStartDateNrr#rrr3r3Mr$rr3c eZdZy)at_pskc_deviceExpiryDateNrr#rrr6r6Sr$rr6c eZdZy)at_pskc_moduleIdNrr#rrr9r9Yr$rr9c eZdZy)at_pskc_deviceUserIdNrr#rrr<r<_r$rr< c eZdZy)at_pskc_keyUserIdNrr#rrr?r?gr$rr? c eZdZy)at_pskc_algorithmNrr#rrrBrBmr$rrB c eZdZy)at_pskc_issuerNrr#rrrErEsr$rrE c eZdZy)at_pskc_keyProfileIdNrr#rrrHrHyr$rrH c eZdZy)at_pskc_keyReferenceNrr#rrrKrKr$rrKc eZdZy) FriendlyNameNrr#rrrNrNr$rrN friendlyNamefriendlyNameLangTagc eZdZy)at_pskc_friendlyNameNrr#rrrRrRr$rrRc eZdZy)EncodingNrr#rrrUrUr$rrU)decDECIMAL)hex HEXADECIMAL)alpha ALPHANUMERIC)b64BASE64)binBINARYrWrYr[r]r_c eZdZy)ChallengeFormatNrr#rrrarar$rraencoding checkDigit)valuemin) subtypeSpecmaxc eZdZy)ResponseFormatNrr#rrririr$rrilengthc eZdZy)PSKCAlgorithmParametersNrr#rrrlrlr$rrlsuitechallengeFormat) implicitTagresponseFormatc eZdZy)at_pskc_algorithmParametersNrr#rrrrrrr$rrrc eZdZy)at_pskc_counterNrr#rrrurur$rruc eZdZy) at_pskc_timeNrr#rrrxrxr$rrxc eZdZy)at_pskc_timeIntervalNrr#rrr{r{r$rr{c eZdZy)at_pskc_timeDriftNrr#rrr~r~r$rr~c eZdZy)ValueMacNrr#rrrrr$rr macAlgorithmmacc eZdZy)at_pskc_valueMACNrr#rrrrr$rrc eZdZy) at_pskc_keyIdNrr#rrrrr$rrc eZdZy)at_pskc_keyStartDateNrr#rrrrr$rrc eZdZy)at_pskc_keyExpiryDateNrr#rrrrr$rrc eZdZy)at_pskc_numberOfTransactionsNrr#rrrrr$rrc eZdZy) PSKCKeyUsageNrr#rrrrr$rr)otpOTP)crCR)encryptEncrypt) integrity Integrity)verifyVerify)unlockUnlock)decryptDecrypt)keywrapKeyWrap)unwrapUnwrap)deriveDerive)generateGeneraterrrrrrrrrrrc eZdZy) PSKCKeyUsagesNrr#rrrr%r$rrc eZdZy)at_pskc_keyUsageNrr#rrrr*r$rrc eZdZy) PINUsageModeNrr#rrrr0r$rr)localLocal)prependPrepend)rAppend) algorithmic Algorithmicrrrrc eZdZy) PINPolicyNrr#rrrr=r$rrpinKeyId pinUsageModemaxFailedAttempts minLength maxLength pinEncodingc eZdZy)at_pskc_pinPolicyNrr#rrrrRr$rrc eZdZy) AttributeTypeNrr#rrrrr$rrc eZdZy)AttributeValueNrr#rrrrr$rrc eZdZy) SKeyAttributeNrr#rrrrr$rrattrType attrValues) componentType)openTypec eZdZy)SKeyPkgAttributeNrr#rrrrr$rrz1.2.840.113549.1.9.16.1.25c eZdZy) KeyPkgVersionNrr#rrrrr$rr)v1rc eZdZy)OneSymmetricKeyNrr#rrrrr$rr sKeyAttrssKeyc eZdZy) SymmetricKeysNrr#rrrrr$rrc eZdZy)SymmetricKeyPackageNrr#rrrrr$rrversionr sKeyPkgAttrs)rfrosKeysN)| pyasn1.typerrrrrrr r pyasn1_modulesr r rfloatMAXrid_pskcid_pskc_manufacturer UTF8Stringrid_pskc_serialNor' id_pskc_modelr*id_pskc_issueNor-id_pskc_deviceBindingr0id_pskc_deviceStartDateGeneralizedTimer3id_pskc_deviceExpiryDater6id_pskc_moduleIdr9id_pskc_deviceUserIdr< id_pskc_keyIdr?id_pskc_algorithmrBid_pskc_issuerrEid_pskc_keyProfileIdrHid_pskc_keyReferencerKid_pskc_friendlyNameSequencerN NamedTypes NamedTypeOptionalNamedTyperrRid_pskc_algorithmParametersrU NamedValues namedValuesSingleValueConstraintrfraDefaultedNamedTypeBooleansubtypeIntegerValueRangeConstraintriChoicerlTagtagClassContexttagFormatConstructedrrid_pskc_counterru id_pskc_time BinaryTimerxid_pskc_timeIntervalr{id_pskc_timeDriftr~id_pskc_valueMACrrid_pskc_keyUserIdrid_pskc_keyStartDaterid_pskc_keyExpiryDaterid_pskc_numberOfTransactionsrid_pskc_keyUsagesr SequenceOfrrid_pskc_pinPolicyrrtagFormatSimplersKeyPkgAttributesMapsKeyAttributesMaprAnyrrSetOfOpenTyperid_ct_KP_sKeyPackagerrValueSizeConstraint OctetStringsizeSpecrr_cmsContentTypesMapUpdatecmsContentTypesMapupdater#rrrs+"! "") El $   : ; GQ' 4?? # t Wa  DOO w" doo Wa( DOO w* f44  + v55 # t GR( 4?? Wa   "%  gr" T__ GR( 4?? GR( 4?? GR( 4== 2Y11I(9:I 5t7HI   < #7B/ t ,x++ 8z77 }nhC dmm !5 4 4I HJ/ I   Q')I|t||~553J33As; 6 =>I|t||~553J33As; 6 => ! T]]  4y33I HJ/I,$,,."8"83J33As;#9#=> I   Q')   dkk )= (<(<I!23I)?+<+D+DCGGC//1I1I1M,E,OPI(.*:*B*BCGGC//1I1I1M+C+OP )% "9 w# dll >j==aEGR  7%% GR( 4<< $C:#B#B1c#J "%   !@ ? ?3 G$ t}} .--I(9:It01  x "% DOO GR( 611 Wb) F22  $GR0 4<< ,K:+J+J1c+R("% 4?? 08//  <:;; 4K8 y(Hj;  DOO +n  } "% 4?? 08//"  <:;; Y-2    /)..I ODOO,=,E,ECGGC//1D1DaH-F-JKI (>(>CGGC//1D1DaH)?)JKI 3\T\\^5K5K3J33As;6L6==DWCGGC//1D1DaH>E>JK I \T\\^-C-C3J33As;.D.==DWCGGC//1D1DaH>E>JK I \T\\^-C-C3J33As;.D.==DWCGGC//1D1DaH>E>JK I xz/A/ACGGC//1D1DaH0B0JK $  /1')MOo'135779')/1 MO)+^%/1  /1  /1 !"="?o'<>/1)+'))+/113 "#?#A!"(*#$)+%2 D))  TXX  DMM 3i22I MO4I  !12""":/@A  t}} "6!5!5I MO4I  !12""":/CD"-t,,-IJ DLL 1H00    dmm !5 4 4I mo6>>6 66q#> ? @A I(8(8(8(:; ! ==114RJ4R4RSTVW4XX DOO ./ 8*88C@  $-- %9I$8$8 I  MO,C,C$,C,OPI&6&89AA6 66q#> 3 3S5H5H!L B NOI1 %!-/!!";