
     h                        d Z ddlmZmZmZmZ ddlmZmZ ddl	m
Z
mZmZmZmZmZmZmZ ddlmZ ddlmZ ddlmZmZmZmZ  G d	 d
e          Z G d de          Z G d de          Z G d de          Z G d de          Z G d de          Z  G d de          Z! G d de          Z"dej#        d<   dej#        d<   dej#        d<   eej$        d<   eej$        d<   eej$        d<   dej#        d <   d!ej#        d"<   e"ej$        d!<   d#S )$z
ASN.1 type classes for PDF signature structures. Adds extra oid mapping and
value parsing to asn1crypto.x509.Extension() and asn1crypto.xms.CMSAttribute().
    )unicode_literalsdivisionabsolute_importprint_function   )CMSAttributeTypeCMSAttribute)BooleanIntegerNullObjectIdentifierOctetStringSequence
SequenceOfSetOf)CertificateList)OCSPResponse)	ExtensionExtensionIdGeneralNameKeyPurposeIdc                       e Zd ZdefgZdS )AdobeArchiveRevInfoversionN)__name__
__module____qualname__r   _fields     J/var/www/html/Sam_Eipo/venv/lib/python3.11/site-packages/asn1crypto/pdf.pyr   r      s        	GGGGr    r   c                   ,    e Zd ZdefdefdedddfgZdS )AdobeTimestampr   locationrequires_authTF)optionaldefaultN)r   r   r   r   r   r
   r   r   r    r!   r#   r#   %   s7        	G	[!	'#G#GHGGGr    r#   c                       e Zd ZdefdefgZdS )OtherRevInfotypevalueN)r   r   r   r   r   r   r   r    r!   r)   r)   -   s&        	!"	+GGGr    r)   c                       e Zd ZeZdS )SequenceOfCertificateListN)r   r   r   r   _child_specr   r    r!   r-   r-   4   s        !KKKr    r-   c                       e Zd ZeZdS )SequenceOfOCSPResponseN)r   r   r   r   r.   r   r    r!   r0   r0   8           KKKr    r0   c                       e Zd ZeZdS )SequenceOfOtherRevInfoN)r   r   r   r)   r.   r   r    r!   r3   r3   <   r1   r    r3   c                   <    e Zd ZdedddfdedddfdedddfgZd	S )
RevocationInfoArchivalcrlr   T)explicitr&   ocspr   other_rev_info   N)r   r   r   r-   r0   r3   r   r   r    r!   r5   r5   @   sN        	)t+L+LM	'aT)J)JK	1t3T3TUGGGr    r5   c                       e Zd ZeZdS )SetOfRevocationInfoArchivalN)r   r   r   r5   r.   r   r    r!   r<   r<   H   s        (KKKr    r<   adobe_archive_rev_infoz1.2.840.113583.1.1.9.2adobe_timestampz1.2.840.113583.1.1.9.1adobe_ppklite_credentialz1.2.840.113583.1.1.10pdf_signingz1.2.840.113583.1.1.5adobe_revocation_info_archivalz1.2.840.113583.1.1.8N)%__doc__
__future__r   r   r   r   cmsr   r	   corer
   r   r   r   r   r   r   r   r6   r   r8   r   x509r   r   r   r   r   r#   r)   r-   r0   r3   r5   r<   _map
_oid_specsr   r    r!   <module>rI      s   
 S R R R R R R R R R R R / / / / / / / /	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 !                               (       X       8   " " " " "
 " " "    Z       Z       X   ) ) ) ) )% ) ) ) .F ) *-> ) *,F ( )1D	 - .*8	 & '37	 / 0,9 ( )0P  , -<W 8 9 9 9r    