o
    Œõ±jÊ  ã                   @   sb  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
„ d
eƒZG dd„ deƒZG dd„ deƒZG dd„ deƒZG dd„ deƒZG dd„ deƒZ G dd„ deƒZ!G d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                   @   s   e Zd ZdefgZdS )ÚAdobeArchiveRevInfoÚversionN)Ú__name__Ú
__module__Ú__qualname__r
   Ú_fields© r   r   ú�/root/aizidognhua/tmp/workspace/projects/ec89d86c-575f-41c9-af57-ac45cbdbf775/venv/lib/python3.10/site-packages/asn1crypto/pdf.pyr      s    ÿr   c                   @   s*   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   %   s
    ýr   c                   @   s   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    þr$   c                   @   ó   e Zd ZeZdS )ÚSequenceOfCertificateListN)r   r   r   r   Ú_child_specr   r   r   r   r(   4   ó    r(   c                   @   r'   )ÚSequenceOfOCSPResponseN)r   r   r   r   r)   r   r   r   r   r+   8   r*   r+   c                   @   r'   )ÚSequenceOfOtherRevInfoN)r   r   r   r$   r)   r   r   r   r   r,   <   r*   r,   c                   @   s:   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(   r+   r,   r   r   r   r   r   r-   @   s
    ýr-   c                   @   r'   )ÚSetOfRevocationInfoArchivalN)r   r   r   r-   r)   r   r   r   r   r3   H   r*   r3   Ú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   r.   r   r0   r   Úx509r   r   r   r   r   r   r$   r(   r+   r,   r-   r3   Ú_mapÚ
_oid_specsr   r   r   r   Ú<module>   s0   (








