o
    vh                     @   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   L/var/www/html/hyperkenya/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   (








