o
    ÷©Zhi/  ã                   @   s&
  d dl mZ d dl mZ d dl mZ d dl mZ d dl mZ d dl mZ d dl mZ d dl mZ d d	l	m
Z
 d d
l	mZ dd„ ZedƒZe d¡ZeedƒZG dd„ dejƒZeedƒZG dd„ dejƒZeedƒZG dd„ dejƒZeedƒZG dd„ dejƒZeedƒZG dd„ dejƒZeedƒZG dd „ d ejƒZeed!ƒZG d"d#„ d#ejƒZ eed$ƒZ!G d%d&„ d&ejƒZ"eed'ƒZ#G d(d)„ d)ejƒZ$eed*ƒZ%G d+d,„ d,ejƒZ&eed-ƒZ'G d.d/„ d/ejƒZ(eed0ƒZ)G d1d2„ d2ejƒZ*eed3ƒZ+G d4d5„ d5ejƒZ,eed6ƒZ-G d7d8„ d8ejƒZ.eed9ƒZ/G d:d;„ d;ej0ƒZ1e 2e 3d<e ¡ ¡e 4d=e ¡ ¡¡e1_5G d>d?„ d?e1ƒZ6eed@ƒZ7G dAdB„ dBejƒZ8e 9dCdDdEdFdG¡e8_:e ;dHdIdJdKdL¡e8_<G dMdN„ dNej0ƒZ=e 2e 3dOe8ƒ ¡e >dPe ?¡ j@d dQ¡e 3dRe A¡ j@e Bd e¡dS¡e 3dTe A¡ j@e Bd e¡dS¡¡e=_5G dUdV„ dVej0ƒZCe 2e 3dOe8ƒ ¡e 3dWe A¡ j@e Bd e¡dS¡e >dPe ?¡ j@d dQ¡¡eC_5G dXdY„ dYejDƒZEe 2e 3dZe ¡ ¡e 3d[e=ƒ j@e FejGejHd ¡d\¡e 3d]eCƒ j@e FejGejHd¡d\¡¡eE_5G d^d_„ d_eEƒZIeed`ƒZJG dadb„ dbejAƒZKe Bd e¡eK_<eedcƒZLG ddde„ deejMƒZNeedfƒZOG dgdh„ dhejAƒZPe Bd e¡eP_<eediƒZQG djdk„ dkejAƒZRe Bd e¡eR_<eedlƒZSG dmdn„ dnej0ƒZTe 2e 3doe ¡ ¡e 3dpe ¡ ¡¡eT_5G dqdr„ dreTƒZUeedsƒZVG dtdu„ duejƒZWeedvƒZXG dwdx„ dxejƒZYeedyƒZZG dzd{„ d{ejƒZ[eed|ƒZ\G d}d~„ d~ejAƒZ]e Bd e¡e]_<eedƒZ^G d€d„ dejƒZ_e 9d‚dƒd„d…d†d‡dˆd‰dŠd‹dŒ¡e__:e ;ddŽddd‘d’d“d”d•d–d—¡e__<G d˜d™„ d™ej`ƒZae_ƒ ea_5G dšd›„ d›eaƒZbeedœƒZcG ddž„ džejƒZde 9dŸd d¡d¢¡ed_:e ;d£d¤d¥d¦¡ed_<G d§d¨„ d¨ej0ƒZee 2e 4d©e ¡ j@e FejGejfd ¡d\¡e 3dªedƒ j@e FejGejfd¡d\¡e 4d«e A¡ j@e Bd e¡dSj@e FejGejfd¡d\¡e 4d¬e A¡ j@e Bd e¡dSj@e FejGejfd¡d\¡e 4d­e A¡ j@e Bd e¡dSj@e FejGejfd¡d\¡e 4d®e8ƒ j@e FejGejfd¡d\¡¡ee_5G d¯d°„ d°eeƒZgeeƒ eeƒ eeƒ eeƒ eeƒ eeƒ ee ƒ e!e"ƒ e#e$ƒ i	Zhi e%eWƒ “e'e(ƒ “e)e*ƒ “e+e,ƒ “e-e.ƒ “e/e6ƒ “e7eIƒ “eJeKƒ “eLeNƒ “eOePƒ “eQeRƒ “eSeUƒ “eVe&ƒ “eXeYƒ “eZe[ƒ “e\e]ƒ “e^ebƒ “ecegƒ i¥ZiG d±d²„ d²ejƒZjG d³d´„ d´ejkƒZlG dµd¶„ d¶ej0ƒZme 2e 3d·ejƒ ¡ej3d¸ejnelƒ d¹e od·ei¡dº¡em_5G d»d¼„ d¼ej0ƒZpe 2e 3d·ejƒ ¡ej3d¸ejnelƒ d¹e od·eh¡dº¡ep_5e d½¡ZqG d¾d¿„ d¿ejAƒZre 9dÀ¡er_:G dÁdÂ„ dÂej0ƒZse 2e 4dÃej`emƒ d¹j@e tde¡dS¡e 4dÄe u¡ ¡¡es_5ej0jve tdd¡ es_vG dÅdÆ„ dÆej`ƒZwesƒ ew_5e tde¡ew_<G dÇdÈ„ dÈej0ƒZxe 2e >dÉerƒ j@dÊdQ¡e 4dËej`epƒ d¹j@e tde¡e FejGejfd ¡dÌ¡e 3dÍewƒ ¡¡ex_5eqexƒ iZye
jz {ey¡ dÎS )Ïé    )Úchar)Ú
constraint)Ú	namedtype)Únamedval)Úopentype)Útag)Úuniv)Úuseful)Úrfc5652)Úrfc6019c                  G   sF   g }t | ƒD ]}t|tjƒr| t|ƒ¡ q| t|ƒ¡ qt |¡S )N)ÚtupleÚ
isinstancer   ÚObjectIdentifierÚextendÚlistÚappendÚint)Ú
componentsÚoutputÚx© r   úM/var/www/html/lang_env/lib/python3.10/site-packages/pyasn1_modules/rfc6031.pyÚ_OID   s   
r   Úinfz1.2.840.113549.1.9.16.12é   c                   @   ó   e Zd ZdS )Úat_pskc_manufacturerN©Ú__name__Ú
__module__Ú__qualname__r   r   r   r   r   /   ó    r   é   c                   @   r   )Úat_pskc_serialNoNr   r   r   r   r   r#   5   r!   r#   é   c                   @   r   )Úat_pskc_modelNr   r   r   r   r   r%   ;   r!   r%   é   c                   @   r   )Úat_pskc_issueNoNr   r   r   r   r   r'   A   r!   r'   é   c                   @   r   )Úat_pskc_deviceBindingNr   r   r   r   r   r)   G   r!   r)   é   c                   @   r   )Úat_pskc_deviceStartDateNr   r   r   r   r   r+   M   r!   r+   é   c                   @   r   )Úat_pskc_deviceExpiryDateNr   r   r   r   r   r-   S   r!   r-   é   c                   @   r   )Úat_pskc_moduleIdNr   r   r   r   r   r/   Y   r!   r/   é   c                   @   r   )Úat_pskc_deviceUserIdNr   r   r   r   r   r1   _   r!   r1   é	   c                   @   r   )Úat_pskc_keyUserIdNr   r   r   r   r   r3   g   r!   r3   é
   c                   @   r   )Úat_pskc_algorithmNr   r   r   r   r   r5   m   r!   r5   é   c                   @   r   )Úat_pskc_issuerNr   r   r   r   r   r7   s   r!   r7   é   c                   @   r   )Úat_pskc_keyProfileIdNr   r   r   r   r   r9   y   r!   r9   é   c                   @   r   )Úat_pskc_keyReferenceNr   r   r   r   r   r;      r!   r;   é   c                   @   r   )ÚFriendlyNameNr   r   r   r   r   r=   …   r!   r=   ZfriendlyNameZfriendlyNameLangTagc                   @   r   )Úat_pskc_friendlyNameNr   r   r   r   r   r>      r!   r>   é   c                   @   r   )ÚEncodingNr   r   r   r   r   r@   “   r!   r@   )ÚdecÚDECIMAL)ÚhexÚHEXADECIMAL)ÚalphaÚALPHANUMERIC)Zb64ÚBASE64)ÚbinÚBINARYrB   rD   rF   rG   rI   c                   @   r   )ÚChallengeFormatNr   r   r   r   r   rJ   ¡   r!   rJ   ÚencodingZ
checkDigit)ÚvalueÚmin)ÚsubtypeSpecÚmaxc                   @   r   )ÚResponseFormatNr   r   r   r   r   rP   ®   r!   rP   Úlengthc                   @   r   )ÚPSKCAlgorithmParametersNr   r   r   r   r   rR   ¹   r!   rR   ZsuiteZchallengeFormat)ÚimplicitTagZresponseFormatc                   @   r   )Úat_pskc_algorithmParametersNr   r   r   r   r   rT   Ä   r!   rT   é   c                   @   r   )Úat_pskc_counterNr   r   r   r   r   rV   Ê   r!   rV   é   c                   @   r   )Úat_pskc_timeNr   r   r   r   r   rX   Ò   r!   rX   é   c                   @   r   )Úat_pskc_timeIntervalNr   r   r   r   r   rZ   Ø   r!   rZ   é   c                   @   r   )Úat_pskc_timeDriftNr   r   r   r   r   r\   à   r!   r\   é   c                   @   r   )ÚValueMacNr   r   r   r   r   r^   è   r!   r^   ZmacAlgorithmÚmacc                   @   r   )Úat_pskc_valueMACNr   r   r   r   r   r`   ð   r!   r`   é   c                   @   r   )Úat_pskc_keyIdNr   r   r   r   r   rb   ö   r!   rb   é   c                   @   r   )Úat_pskc_keyStartDateNr   r   r   r   r   rd   ü   r!   rd   é   c                   @   r   )Úat_pskc_keyExpiryDateNr   r   r   r   r   rf     r!   rf   é   c                   @   r   )Úat_pskc_numberOfTransactionsNr   r   r   r   r   rh     r!   rh   é   c                   @   r   )ÚPSKCKeyUsageNr   r   r   r   r   rj     r!   rj   )ZotpÚOTP)ÚcrÚCR)ZencryptÚEncrypt)Z	integrityÚ	Integrity)ÚverifyÚVerify)ÚunlockÚUnlock)ZdecryptÚDecrypt)ZkeywrapÚKeyWrap)ÚunwrapÚUnwrap)ZderiveÚDerive)ÚgenerateÚGeneraterk   rm   rn   ro   rq   rs   rt   ru   rw   rx   rz   c                   @   r   )ÚPSKCKeyUsagesNr   r   r   r   r   r{   %  r!   r{   c                   @   r   )Úat_pskc_keyUsageNr   r   r   r   r   r|   *  r!   r|   é   c                   @   r   )ÚPINUsageModeNr   r   r   r   r   r~   0  r!   r~   )ÚlocalÚLocal)ÚprependÚPrepend)r   ÚAppend)ZalgorithmicÚAlgorithmicr€   r‚   rƒ   r„   c                   @   r   )Ú	PINPolicyNr   r   r   r   r   r…   =  r!   r…   ZpinKeyIdZpinUsageModeZmaxFailedAttemptsZ	minLengthZ	maxLengthZpinEncodingc                   @   r   )Úat_pskc_pinPolicyNr   r   r   r   r   r†   R  r!   r†   c                   @   r   )ÚAttributeTypeNr   r   r   r   r   r‡   €  r!   r‡   c                   @   r   )ÚAttributeValueNr   r   r   r   r   rˆ   „  r!   rˆ   c                   @   r   )ÚSKeyAttributeNr   r   r   r   r   r‰   ˆ  r!   r‰   ZattrTypeZ
attrValues)ÚcomponentType)ZopenTypec                   @   r   )ÚSKeyPkgAttributeNr   r   r   r   r   r‹   ”  r!   r‹   z1.2.840.113549.1.9.16.1.25c                   @   r   )ÚKeyPkgVersionNr   r   r   r   r   rŒ   ¥  r!   rŒ   )Úv1r   c                   @   r   )ÚOneSymmetricKeyNr   r   r   r   r   rŽ   ­  r!   rŽ   Z	sKeyAttrsZsKeyc                   @   r   )ÚSymmetricKeysNr   r   r   r   r   r   º  r!   r   c                   @   r   )ÚSymmetricKeyPackageNr   r   r   r   r   r   Á  r!   r   Úversionr   ZsKeyPkgAttrs)rN   rS   ZsKeysN)|Zpyasn1.typer   r   r   r   r   r   r   r	   Zpyasn1_modulesr
   r   r   ÚfloatÚMAXr   Zid_pskcZid_pskc_manufacturerZ
UTF8Stringr   Zid_pskc_serialNor#   Zid_pskc_modelr%   Zid_pskc_issueNor'   Zid_pskc_deviceBindingr)   Zid_pskc_deviceStartDateZGeneralizedTimer+   Zid_pskc_deviceExpiryDater-   Zid_pskc_moduleIdr/   Zid_pskc_deviceUserIdr1   Zid_pskc_keyIdr3   Zid_pskc_algorithmr5   Zid_pskc_issuerr7   Zid_pskc_keyProfileIdr9   Zid_pskc_keyReferencer;   Zid_pskc_friendlyNameÚSequencer=   Z
NamedTypesZ	NamedTypeZOptionalNamedTyperŠ   r>   Zid_pskc_algorithmParametersr@   ZNamedValuesZnamedValuesZSingleValueConstraintrN   rJ   ZDefaultedNamedTypeÚBooleanÚsubtypeÚIntegerZValueRangeConstraintrP   ZChoicerR   ÚTagZtagClassContextZtagFormatConstructedrT   Zid_pskc_counterrV   Zid_pskc_timeZ
BinaryTimerX   Zid_pskc_timeIntervalrZ   Zid_pskc_timeDriftr\   Zid_pskc_valueMACr^   r`   Zid_pskc_keyUserIdrb   Zid_pskc_keyStartDaterd   Zid_pskc_keyExpiryDaterf   Zid_pskc_numberOfTransactionsrh   Zid_pskc_keyUsagesrj   Z
SequenceOfr{   r|   Zid_pskc_pinPolicyr~   r…   ZtagFormatSimpler†   ZsKeyPkgAttributesMapZsKeyAttributesMapr‡   ÚAnyrˆ   r‰   ZSetOfZOpenTyper‹   Zid_ct_KP_sKeyPackagerŒ   rŽ   ZValueSizeConstraintZOctetStringZsizeSpecr   r   Z_cmsContentTypesMapUpdateZcmsContentTypesMapÚupdater   r   r   r   Ú<module>   s4  
















þ
û
ÿÿ
ÿ
ÿú

ÿÿüÿÿü




þ




õ
þ
üÿÿÿ
ÿþ
ÿþ
ÿþÿò÷ÿþýüûúùø	÷
öõôóòñðïî
þþ	
þþ
ÿ
ÿÿü
þÿúÿ