Ë ¿\¡�]ãóB—dZddlmZddlmZmZmZddlmZd„Z d d„Z y) z> Certificate handling utilities for X.509 (SSL) certificates. é)Ú Certificateé)Ú AttributeÚ ObjectClassÚCertificateType)ÚKeyTypecóH—tj|«}|j}t|d«}tj tj tjdœ|j}tjtjtj|i}|tj urddlm}|j!||««|S|tj ur^ddlm}m}|ddj)«} |j!|| ««|j!tj*||«i«|S|tjurI|ddj)«} |j!tj,| tj.|i«|St1d«‚) aa Decode a DER-encoded X.509 certificate's public key into a set of attributes able to be passed to :meth:`pkcs11.Session.create_object`. For PEM-encoded certificates, use :func:`asn1crypto.pem.unarmor`. .. warning:: Does not verify certificate. :param bytes der: DER-encoded certificate :rtype: dict(Attribute,*) Ú public_key)ÚrsaÚdsaÚecé)Údecode_rsa_public_key)Údecode_dsa_domain_parametersÚdecode_dsa_public_keyÚ algorithmÚ parameterszShould not be reached)rÚloadr ÚbytesrÚRSAÚDSAÚECrrÚCLASSrÚ PUBLIC_KEYÚKEY_TYPEr rÚupdater rrÚdumpÚVALUEÚ EC_PARAMSÚEC_POINTÚAssertionError) ÚderÚx509Úkey_infoÚkeyÚkey_typeÚattrsrrrÚparamss ú5/usr/lib/python3.12/site-packages/pkcs11/util/x509.pyÚdecode_x509_public_keyr* sk€ô × Ñ ˜CÓ €DØ�‰€HÜ �˜Ñ&Ó '€Cô�{‰{Ü�{‰{Ü�j‰jñð×Ññ €Hô �‰œ×/Ñ/Ü×јHð €Eð ”7—;‘;ÑÝ.Ø � ‰ Ñ*¨3Ó/Ô0ð& €Lð% ”W—[‘[Ñ ßLؘ+Ñ& |Ñ4×9Ñ9Ó;ˆà � ‰ Ñ1°&Ó9Ô:Ø � ‰ Ü �O‰OÑ2°3Ó7ð ô ð €Lð ”W—Z‘ZÑ Ø˜+Ñ& |Ñ4×9Ñ9Ó;ˆà � ‰ Ü × Ñ  Ü × Ñ  ð ô ð €LôÐ4Ó5Ð5óc óˆ—tj|«}|j}|j}|dd}tj t jtjtjtj|j«tj|j«tj|j«tj|j«i}|rµ|dddj j#«}|dddj j#«}|j%tj&|tj(|i« |j*|tj,< |j0|tj2<|S|S#t.$rYŒ-wxYw#t.$rY|SwxYw)a Decode a DER-encoded X.509 certificate into a dictionary of attributes able to be passed to :meth:`pkcs11.Session.create_object`. Optionally pass `extended_set` to include additional attributes: start date, end date and key identifiers. For PEM-encoded certificates, use :func:`asn1crypto.pem.unarmor`. .. warning:: Does not verify certificate. :param bytes der: DER-encoded certificate :param extended_set: decodes more metadata about the certificate :rtype: dict(Attribute,*) Útbs_certificateÚ serial_numberÚvalidityÚ not_beforeÚ not_after)rrÚsubjectÚissuerrrrÚ CERTIFICATEÚCERTIFICATE_TYPErÚX_509ÚSUBJECTrÚISSUERÚ SERIAL_NUMBERrÚnativeÚdaterÚ START_DATEÚEND_DATEÚkey_identifierÚHASH_OF_SUBJECT_PUBLIC_KEYÚKeyErrorÚauthority_key_identifierÚHASH_OF_ISSUER_PUBLIC_KEY) r"Ú extended_setr#r2r3ÚserialÚtemplateÚ start_dateÚend_dates r)Údecode_x509_certificaterH@s’€ô$ × Ñ ˜CÓ €DØ�l‰l€GØ �[‰[€FØ Ð#Ñ $ _Ñ 5€Fô �‰œ×0Ñ0Ü×"Ñ"¤O×$9Ñ$9Ü×ј7Ÿ<™<›>Ü×ј&Ÿ+™+›-Ü×Ñ §¡£Ü�‰˜Ÿ™›ð €Hñà Ð"Ñ # JÑ /° Ñ =× DÑ D× IÑ IÓ Kð ð Ð"Ñ # JÑ /° Ñ <× CÑ C× HÑ HÓ Jð ð �‰Ü × Ñ  *Ü × Ñ  ð ô ð  à×#Ñ#ð ”Y×9Ñ9Ñ :ð  à×-Ñ-ð ”Y×8Ñ8Ñ 9ð €Oˆ8€Oøôò Ù ð ûô ò Ø à €Oð ús$Å&F%ÆF4Æ% F1Æ0F1Æ4 GÇGN)F) Ú__doc__Úasn1crypto.x509rÚ constantsrrrÚ mechanismsrr*rH©r+r)ÚrNs#ðñõ(ç?Ñ?Ý ò2ôj8r+