
     h                        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j#                    ed;d<ej$                    ed=d>e"            ed?d@ej%                    edAdBe           dCS )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dS )	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     X/var/www/html/Sam_Eipo/venv/lib/python3.11/site-packages/pyhanko/sign/ades/cades_asn1.pyr   r   ,   s.         &7%7%8%6%8%8 DDDr-   r   c                   0    e Zd Zdefdej        fgZdZi ZdS )r	   commitment_type_identifier	qualifier)r0   r1   N)	r(   r)   r*   r   r   Any_fields	_oid_pair
_oid_specsr,   r-   r.   r	   r	   8   s6        	%'?@	dhG
 <I JJJr-   r	   c                       e Zd ZeZdS )r
   N)r(   r)   r*   r	   _child_specr,   r-   r.   r
   r
   D   s        )KKKr-   r
   c                   $    e Zd ZdefdeddifgZdS )r   commitment_type_idcommitment_type_qualifieroptionalTN)r(   r)   r*   r   r
   r3   r,   r-   r.   r   r   H   s1        	78'$	
GGGr-   r   c                       e Zd ZddddZdS )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 DDDr-   r   c                   B    e Zd Zdej        fdej        fdej        fgZdS )r   visible_string
bmp_stringutf8_stringN)r(   r)   r*   r   VisibleString	BMPString
UTF8String_alternativesr,   r-   r.   r   r   ]   s6         
4-.	t~&	(MMMr-   r   c                       e Zd Zej        ZdS )r   N)r(   r)   r*   r   Integerr7   r,   r-   r.   r   r   g   s        ,KKKr-   r   c                       e Zd ZdefdefgZdS )r   organizationnotice_numbersN)r(   r)   r*   r   r   r3   r,   r-   r.   r   r   k   s#        ,/?.OPGGGr-   r   c                   *    e Zd ZdeddifdeddifgZdS )r   
notice_refr;   Texplicit_textN)r(   r)   r*   r   r   r3   r,   r-   r.   r   r   o   s3        	T(:;	+
D'9:GGGr-   r   c                   2    e Zd Zdej        fdej        fgZdS )r   oiduriN)r(   r)   r*   r   ObjectIdentifier	IA5Stringr3   r,   r-   r.   r   r   v   s'        t,-t~/FGGGGr-   r   c                   B    e Zd Zdefdej        fgZdZej        e	e
dZdS )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   sH        	"$89	$(#G
 =I ." 2 JJJr-   r   c                       e Zd ZeZdS )r   N)r(   r)   r*   r   r7   r,   r-   r.   r   r      s        (KKKr-   r   c                   >    e Zd Zdej        fdej        fdeddifgZdS )r   sig_policy_idsig_policy_hashsig_policy_qualifiersr;   TN)	r(   r)   r*   r   rS   r   
DigestInfor   r3   r,   r-   r.   r   r      s;        	$/0	E,-	 "9J;MNGGGr-   r   c                   (    e Zd Zdefdej        fgZdS )r   signature_policy_idsignature_policy_impliedN)r(   r)   r*   r   r   NullrG   r,   r-   r.   r   r      s(        	 12	#TY/MMMr-   r   c                   2    e Zd Zdej        fdej        fgZdS )r   sig_policy_encodedsig_policy_local_uriN)r(   r)   r*   r   OctetStringrT   r3   r,   r-   r.   r   r      s,         
t/0	0	GGGr-   r   c                       e Zd ZdefdefgZdS )r   sp_doc_specsp_documentN)r(   r)   r*   r   r   r3   r,   r-   r.   r   r      s'        	*+	/0GGGr-   r   c                       e Zd Zi ZdS )r   Nr'   r,   r-   r.   r   r              DDDr-   r   c                   0    e Zd Zdefdej        fgZdZi ZdS )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      s3        	/	DH%G
 :IJJJr-   r   c                   4    e Zd Zdej        ddifdeddifgZdS )r   	attr_certexplicitr   rm   r   N)r(   r)   r*   r   AttributeCertificateV2r   rG   r,   r-   r.   r   r      s4        	c0:q/B	MJ?;MMMr-   r   c                       e Zd ZeZdS )r   N)r(   r)   r*   r   r7   r,   r-   r.   r   r      s        +KKKr-   r   c                       e Zd Zi ZdS )r   Nr'   r,   r-   r.   r   r      rj   r-   r   c                   0    e Zd Zdefdej        fgZdZi ZdS )r   signed_assertion_idsigned_assertion)ru   rv   N)	r(   r)   r*   r   r   r2   r3   r4   r5   r,   r-   r.   r   r      s4        	 12	TX&G
 <IJJJr-   r   c                       e Zd ZeZdS )r   N)r(   r)   r*   r   r7   r,   r-   r.   r   r      s        !KKKr-   r   c                   F    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d	S )
r   claimed_attributesTr   )r;   rp   certified_attributes_v2r   signed_assertions   N)r(   r)   r*   r   AttCertAttributesr   r   r3   r,   r-   r.   r   r      s`         !!1--	
 &!1--	
  1--	
GGGr-   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 	 	 		 	 	 	 	dm 	 	 	* * * * *t * * *    t}       40       $+       DO   Q Q Q Q Qdm Q Q Q    4=   H H H H H H H H    T]    ) ) ) ) )do ) ) )                  dm       4=       d+       DM          , , , , ,DO , , ,    -       dm   " " " " "t " " "       8   !  
   "35M     "6    'do F F F  -/A    (.$:J K K K  /1E    r-   