
    >wg                     F   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jF                  d<   dejF                  d<   dejF                  d<   eejH                  d<   eejH                  d<   eejH                  d<   dejF                  d <   d!ejF                  d"<   e"ejH                  d!<   y#)$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y)AdobeArchiveRevInfoversionN)__name__
__module____qualname__r   _fields     E/var/www/horilla/myenv/lib/python3.12/site-packages/asn1crypto/pdf.pyr   r      s    	GGr    r   c                   *    e Zd ZdefdefdedddfgZy)AdobeTimestampr   locationrequires_authTF)optionaldefaultN)r   r   r   r   r   r
   r   r   r    r!   r#   r#   %   s(    	G	[!	'#GHGr    r#   c                       e Zd ZdefdefgZy)OtherRevInfotypevalueN)r   r   r   r   r   r   r   r    r!   r)   r)   -   s    	!"	+Gr    r)   c                       e Zd ZeZy)SequenceOfCertificateListN)r   r   r   r   _child_specr   r    r!   r-   r-   4   s    !Kr    r-   c                       e Zd ZeZy)SequenceOfOCSPResponseN)r   r   r   r   r.   r   r    r!   r0   r0   8       Kr    r0   c                       e Zd ZeZy)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y	)
RevocationInfoArchivalcrlr   T)explicitr&   ocspr   other_rev_info   N)r   r   r   r-   r0   r3   r   r   r    r!   r5   r5   @   s9    	)t+LM	'aT)JK	1t3TUGr    r5   c                       e Zd ZeZy)SetOfRevocationInfoArchivalN)r   r   r   r5   r.   r   r    r!   r<   r<   H   s    (Kr    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      s4  
 S R /	 	 	 !  ( X 8 "
 "Z Z X )% ) .F  ) *->  ) *,F  ( )1D	  - .*8	  & '37	  / 0,9  ( )0P   , -<W  8 9r    