
    Wwg                        d dl mZmZmZ ddlmZ 	 g dZ G d dej                        Z G d dej                        Z
 G d	 d
ej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d d ej                        Z G d! d"ej                        Z G d# d$ej                        Z G d% d&ej                        Z G d' d(ej                        Z G d) d*ej                        Z G d+ d,ej                        Z G d- d.ej                        Z G d/ d0ej                        Z  G d1 d2ej                        Z! G d3 d4ej                        Z" ed5d6e        ed7d8e        ed9d:ejF                          ed;d<ejH                          ed=d>e"        ed?d@ejJ                          edAdBe       yC)D    )algoscmscore   )register_cms_attribute)CommitmentTypeIdentifierCommitmentTypeQualifierCommitmentTypeQualifiersCommitmentTypeIndicationSigPolicyQualifierIdNoticeNumbersNoticeReferenceSPUserNoticeSPDocSpecificationSigPolicyQualifierInfoSigPolicyQualifierInfosSignaturePolicyIdSignaturePolicyIdentifierSignaturePolicyDocumentSignaturePolicyStoreDisplayTextSignerAttributesV2CertifiedAttributesV2CertifiedAttributeChoicesOtherAttrCertOtherAttrCertIdSignedAssertionsSignedAssertionSignedAssertionIdc                       e Zd ZdddddddZy)	r   proof_of_originproof_of_receiptproof_of_deliveryproof_of_senderproof_of_approvalproof_of_creation)z1.2.840.113549.1.9.16.6.1z1.2.840.113549.1.9.16.6.2z1.2.840.113549.1.9.16.6.3z1.2.840.113549.1.9.16.6.4z1.2.840.113549.1.9.16.6.5z1.2.840.113549.1.9.16.6.6N__name__
__module____qualname___map     S/var/www/horilla/myenv/lib/python3.12/site-packages/pyhanko/sign/ades/cades_asn1.pyr   r   ,   s     &7%7%8%6%8%8Dr-   r   c                   8    e Zd Zdefdej
                  fgZdZi Zy)r	   commitment_type_identifier	qualifier)r0   r1   N)	r(   r)   r*   r   r   Any_fields	_oid_pair
_oid_specsr,   r-   r.   r	   r	   8   s,    	%'?@	dhhG
 <I Jr-   r	   c                       e Zd ZeZy)r
   N)r(   r)   r*   r	   _child_specr,   r-   r.   r
   r
   D   s    )Kr-   r
   c                   "    e Zd ZdefdeddifgZy)r   commitment_type_idcommitment_type_qualifieroptionalTN)r(   r)   r*   r   r
   r3   r,   r-   r.   r   r   H   s%    	78'$	
Gr-   r   c                       e Zd ZddddZy)r   sp_uri
sp_unoticesp_doc_specification)z1.2.840.113549.1.9.16.5.1z1.2.840.113549.1.9.16.5.2z0.4.0.19122.2.1Nr'   r,   r-   r.   r   r   S   s     &.%11Dr-   r   c                   ^    e Zd Zdej                  fdej
                  fdej                  fgZy)r   visible_string
bmp_stringutf8_stringN)r(   r)   r*   r   VisibleString	BMPString
UTF8String_alternativesr,   r-   r.   r   r   ]   s1     
4--.	t~~&	(Mr-   r   c                   $    e Zd Zej                  Zy)r   N)r(   r)   r*   r   Integerr7   r,   r-   r.   r   r   g   s    ,,Kr-   r   c                       e Zd ZdefdefgZy)r   organizationnotice_numbersN)r(   r)   r*   r   r   r3   r,   r-   r.   r   r   k   s    ,/?.OPGr-   r   c                   (    e Zd ZdeddifdeddifgZy)r   
notice_refr;   Texplicit_textN)r(   r)   r*   r   r   r3   r,   r-   r.   r   r   o   s'    	T(:;	+
D'9:Gr-   r   c                   D    e Zd Zdej                  fdej
                  fgZy)r   oiduriN)r(   r)   r*   r   ObjectIdentifier	IA5Stringr3   r,   r-   r.   r   r   v   s     t,,-t~~/FGGr-   r   c                   T    e Zd Zdefdej
                  fgZdZej                  e	e
dZy)r   sig_policy_qualifier_idsig_qualifier)rV   rW   )r=   r>   r?   N)r(   r)   r*   r   r   r2   r3   r4   rT   r   r   r5   r,   r-   r.   r   r   z   s;    	"$89	$((#G
 =I .." 2Jr-   r   c                       e Zd ZeZy)r   N)r(   r)   r*   r   r7   r,   r-   r.   r   r      s    (Kr-   r   c                   P    e Zd Zdej                  fdej                  fdeddifgZy)r   sig_policy_idsig_policy_hashsig_policy_qualifiersr;   TN)	r(   r)   r*   r   rS   r   
DigestInfor   r3   r,   r-   r.   r   r      s5    	$//0	E,,-	 "9J;MNGr-   r   c                   0    e Zd Zdefdej
                  fgZy)r   signature_policy_idsignature_policy_impliedN)r(   r)   r*   r   r   NullrG   r,   r-   r.   r   r      s    	 12	#TYY/Mr-   r   c                   D    e Zd Zdej                  fdej
                  fgZy)r   sig_policy_encodedsig_policy_local_uriN)r(   r)   r*   r   OctetStringrT   r3   r,   r-   r.   r   r      s%     
t//0	0	Gr-   r   c                       e Zd ZdefdefgZy)r   sp_doc_specsp_documentN)r(   r)   r*   r   r   r3   r,   r-   r.   r   r      s    	*+	/0Gr-   r   c                       e Zd Zi Zy)r   Nr'   r,   r-   r.   r   r          Dr-   r   c                   8    e Zd Zdefdej
                  fgZdZi Zy)r   other_attr_cert_idother_attr_cert)rl   rm   N)	r(   r)   r*   r   r   r2   r3   r4   r5   r,   r-   r.   r   r      s)    	/	DHH%G
 :IJr-   r   c                   <    e Zd Zdej                  ddifdeddifgZy)r   	attr_certexplicitr   rm   r   N)r(   r)   r*   r   AttributeCertificateV2r   rG   r,   r-   r.   r   r      s+    	c00:q/B	MJ?;Mr-   r   c                       e Zd ZeZy)r   N)r(   r)   r*   r   r7   r,   r-   r.   r   r      s    +Kr-   r   c                       e Zd Zi Zy)r   Nr'   r,   r-   r.   r   r      rj   r-   r   c                   8    e Zd Zdefdej
                  fgZdZi Zy)r   signed_assertion_idsigned_assertion)ru   rv   N)	r(   r)   r*   r   r   r2   r3   r4   r5   r,   r-   r.   r   r      s*    	 12	TXX&G
 <IJr-   r   c                       e Zd ZeZy)r   N)r(   r)   r*   r   r7   r,   r-   r.   r   r      s    !Kr-   r   c                   N    e Zd Zdej                  dddfdedddfdedddfgZy	)
r   claimed_attributesTr   )r;   rp   certified_attributes_v2r   signed_assertions   N)r(   r)   r*   r   AttCertAttributesr   r   r3   r,   r-   r.   r   r      sN     !!!1-	
 &!1-	
  1-	
Gr-   r   z1.2.840.113549.1.9.16.2.15signature_policy_identifierz1.2.840.113549.1.9.16.2.16commitment_typez1.2.840.113549.1.9.16.2.20content_time_stampz0.4.0.1733.2.1	mime_typez0.4.0.19122.1.1signer_attributes_v2z0.4.0.19122.1.2claimed_samlz0.4.0.19122.1.3signature_policy_storeN)&
asn1cryptor   r   r   	asn1_utilr   __all__rS   r   Sequencer	   
SequenceOfr
   r   r   Choicer   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   ContentInforF   re   r,   r-   r.   <module>r      s,   ' ' -8	t44 		dmm 	*t *t}} 400 $++ DOO Qdmm Q4== H HT]]  )doo )  dmm 4== d++ DMM  ,DOO ,-- dmm "t " 8  !
  "35M  "6 'doo F -/A (.$:J:J K /1Er-   