U ӅYN@sddlmZddlmZddlmZddlmZddlmZddlmZddlmZddlm Z e d Z d d Z Gd d d ej Zede_GdddejZeedejddedejeedejeejejddede jeejejdddede ede ede edeedej e !de"de #e"d e $ e_%Gd!d"d"ejZ&eed#eed$e ede'e&_%Gd%d&d&ej(Z)Gd'd(d(ejZ!eed)e*ed*ej+e)de!_%Gd+d,d,ej+Z,e!e,_%e-de e,_.Gd-d.d.ej/Z0Gd/d0d0ejZ1eed1e*e"d2e(e1_%Gd3d4d4ej+Z2e!e2_%e-de e2_.e dd5d6d7dd8d9Z3Gd:d;d;ej4Z5Gdd?d?ej4Z8Gd@dAdAejZ9eedBe8e"dCe:e"dDe1e9_%GdEdFdFejZ;eedGe6edHe9jeejejeedNe;edOe=e>_%GdPdQdQej Z?e>e?_%GdRdSdSej4Z@GdTdUdUej ZAedVdWdXdYdZd[eA_Gd\d]d]ejZBeed^e*ed_e(eB_%Gd`dadaejZCeedeAedbe Dede2eC_%Gdcddddej'ZEGdedfdfe jZFGdgdhdhejZGeedieCed$eFedeEeG_%GdjdkdkejZHeedbe DedleGjeejejsr>c@s eZdZdS)SignatureAlgorithmIdentifierNrrrrrr?sr?c@s eZdZdS)ExtendedCertificateNrrrrrr@sr@ZextendedCertificateInfoc@s eZdZdS)CertificateChoicesNrrrrrrAsrAZextendedCertificateZ v1AttrCertZ v2AttrCertr9c@s eZdZdS)CertificateSetNrrrrrrBsrBc@s eZdZdS)OtherRevocationInfoFormatNrrrrrrCsrCZotherRevInfoFormatZ otherRevInfoc@s eZdZdS)RevocationInfoChoiceNrrrrrrDsrDZcrlc@s eZdZdS)RevocationInfoChoicesNrrrrrrE$srEc@s eZdZdS)OriginatorInfoNrrrrrrF+srFZcertsZcrlsc@s eZdZdS) ContentTypeNrrrrrrG7srGc@s eZdZdS)EncryptedContentNrrrrrrH;srHc@s eZdZdS)$ContentEncryptionAlgorithmIdentifierNrrrrrrI?srIc@s eZdZdS)EncryptedContentInfoNrrrrrrJCsrJZ contentTypeZcontentEncryptionAlgorithmZencryptedContentc@s eZdZdS)UnprotectedAttributesNrrrrrrKOsrKc@s eZdZdS) KeyEncryptionAlgorithmIdentifierNrrrrrrLWsrLc@s eZdZdS) KEKIdentifierNrrrrrrM[srMZ keyIdentifierc@s eZdZdS)KEKRecipientInfoNrrrrrrNfsrNZkekidZkeyEncryptionAlgorithmc@s eZdZdS) KeyDerivationAlgorithmIdentifierNrrrrrrOrsrOc@s eZdZdS)PasswordRecipientInfoNrrrrrrPvsrPZkeyDerivationAlgorithmc@s eZdZdS)RecipientIdentifierNrrrrrrQsrQc@s eZdZdS)KeyTransRecipientInfoNrrrrrrRsrRc@s eZdZdS)UserKeyingMaterialNrrrrrrSsrSc@s eZdZdS)OriginatorPublicKeyNrrrrrrTsrT algorithmZ publicKeyc@s eZdZdS)OriginatorIdentifierOrKeyNrrrrrrVsrVZ originatorKeyc@s eZdZdS)KeyAgreeRecipientInfoNrrrrrrWsrWZ originatorZukmZrecipientEncryptedKeysc@s eZdZdS)OtherRecipientInfoNrrrrrrXsrXZoriTypeZoriValuec@s eZdZdS) RecipientInfoNrrrrrrYsrYZktriZkariZkekriZpwriZorir:c@s eZdZdS)RecipientInfosNrrrrrrZsrZc@s eZdZdS) EnvelopedDataNrrrrrr[sr[ZoriginatorInfoZrecipientInfosZencryptedContentInfoZunprotectedAttrsc@s eZdZdS)DigestAlgorithmIdentifierNrrrrrr\sr\ r;c@s eZdZdS) EncryptedDataNrrrrrr_sr_c@s eZdZdS)"MessageAuthenticationCodeAlgorithmNrrrrrr`sr`c@s eZdZdS)UnsignedAttributesNrrrrrrasrac@s eZdZdS)SignerIdentifierNrrrrrrbsrbc@s eZdZdS) SignerInfoNrrrrrrc&srcZsidZdigestAlgorithmZ signedAttrsZ unsignedAttrsc@s eZdZdS) SignerInfosNrrrrrrd7srdc@s eZdZdS)CountersignatureNrrrrrre>srec@s eZdZdS) ContentInfoNrrrrrrfBsrfZcontentc@s eZdZdS)EncapsulatedContentInfoNrrrrrrgLsrgZ eContentTypeZeContentc@s eZdZdS) MessageDigestNrrrrrrh[srhc@s eZdZdS)AuthAttributesNrrrrrri_sric@s eZdZdS)TimeNrrrrrrjgsrjZutcTimeZ generalTimec@s eZdZdS)AuthenticatedDataNrrrrrrkqsrkZ macAlgorithmZencapContentInfoZ authAttrsZmacZ unauthAttrsc@s eZdZdS) ExtendedCertificateOrCertificateNrrrrrrlsrlc@s eZdZdS)DigestNrrrrrrmsrmc@s eZdZdS) DigestedDataNrrrrrrnsrnZdigestc@s eZdZdS)DigestAlgorithmIdentifiersNrrrrrrosroc@s eZdZdS) SignedDataNrrrrrrpsrpZdigestAlgorithmsZ certificatesZ signerInfosc@s eZdZdS) SigningTimeNrrrrrrqsrqN)Z pyasn1.typerrrrrrZpyasn1_modulesrr floatMAXrZIntegerrZ NamedValuesZ namedValuesSequencerZ NamedTypesZDefaultedNamedTypeZsubtypeZ NamedTypeZChoiceZ IssuerSerialZTagZtagClassContextZtagFormatSimpleZ GeneralNamesZAlgorithmIdentifierZCertificateSerialNumberZAttCertValidityPeriodZ SequenceOfr%ZOptionalNamedTypeZUniqueIdentifierZ Extensionsr!r#Z BitStringZAnyr$r ZSetOfr&ZValueSizeConstraintZ subtypeSpecZAttributeCertificater'r(r)Zid_encryptedDataZ OctetStringr-r.Namer/r0ZGeneralizedTimer3ZtagFormatConstructedr4r5r6r7r8r<r=Z Certificater>r?r@rArBrCrDZCertificateListrErFrGrHrIrJrKrLrMrNrOrPrQrRrSrTrVrWrXrYrZr[r\Zid_ct_contentInfoZid_digestedDatar_Zid_messageDigestZ id_signedDatar`rarbrcrdrerfrgZid_countersignatureZid_datarhrirjZUTCTimerkZid_contentTyperlrmrnZid_envelopedDatarorpZid_signingTimerqZid_ct_authDatarrrrs         $$                                                                            $